摘要:
In one embodiment of the invention a method comprising (1) receiving an unstructured binary code region that is single-threaded; (2) determining a slice criterion for the region; (3) determining a call edge, a return edge, and a fallthrough pseudo-edge for the region based on analysis of the region at a binary level; and (4) determining a context-sensitive slice based on the call edge, the return edge, the fallthrough pseudo-edge, and the slice criterion. Embodiments of the invention may include a program analysis technique that can be used to provide context-sensitive slicing of binary programs for slicing hot regions identified at runtime, with few underlying assumptions about the program from which the binary is derived. Also, in an embodiment a slicing method may include determining a context-insensitive slice, when a time limit is met, by determining the context-insensitive slice while treating call edges as a normal control flow edges.
摘要:
A NK1 antagonist having the formula (I), wherein Ar1 and Ar2 are optionally substituted phenyl or heteroaryl, X1 is an ether, thio or imino linkage, R4 and R5 are not both H or alkyl, and the remaining variables are as defined in the specification, useful for treating a number of disorders, including emesis, depression, anxiety and cough. Pharmaceutical compositions. Methods of treatment and combinations with other agents are also disclosed.
摘要:
A display image for use in an aircraft is produced in response to receiving aircraft location, heading, altitude, and pitch data. The location and heading data are employed to access a topographical database and obtain terrain information for a region on the earth's surface ahead of the aircraft. A terrain image is produced from the terrain information and a non-linear pitch scale is superimposed over the terrain image. The non-linear pitch scale corresponds to the relationship of the aircraft pitch and the terrain image. Additional data designating other aircraft operational parameters, such as speed and altitude, are depicted by graphical objects. The terrain image, the non-linear pitch scale, and the graphical objects are combined into the display image. The terrain image and the non-linear pitch scale move in the display image in response to changes in the pitch of the aircraft.
摘要:
A method and apparatus for optimizing parallelized single threaded programs is herein described. Code regions, such as dependency chains, are replicated utilizing any known method, such as dynamic code replication. A flow network associated with a replicated code region is built and a minimum cut algorithm is applied to determine duplicated nodes, which may include a single instruction or a group of instructions, to be removed. The dependency of removed nodes is fulfilled with inserted communication to ensure proper data consistency of the original single-threaded program. As a result, both performance and power consumption is optimized for parallel code sections through removal of expensive workload nodes and replacement with communication between other replicated code regions to be executed in parallel.
摘要:
Disclosed are methods, machine readable medium and systems that dynamically translate binary programs. The dynamic binary translation may include identifying a hot code trace of a program. The translation may further include determining a completion ratio for the hot code trace. The translation may also include packaging the hot code trace into a transactional memory region in response to the completion ratio having a predetermined relationship to a threshold ratio.
摘要:
A method and apparatus for providing efficient strong atomicity is herein described. Optimized strong operations may be inserted at non-transactional read accesses to provide efficient strong atomicity. A global transaction value is copied at a beginning of a non-transational function to a local transaction value; essentially creating a local timestamp of the global transaction value. At a non-transactional memory access within the function, a counter value or version value is compared to the LTV to see if a transaction has started updating memory locations, or specifically the memory location accessed. If memory locations have not been updated by a transaction, execution is accelerated by avoiding a full set of slowpath strong atomic operations to ensure validity of data accessed. In contrast, the slowpath operations may be executed to resolve contention between a transactional and non-transaction access contending for the same memory location.
摘要:
A fuel cell apparatus including a reaction unit for performing a chemical reaction, at least one fan for providing an airflow, and an airflow guiding device is provided. The airflow guiding device is connected to the fan and the reaction unit. The airflow guiding device includes an airflow rectification segment and a first airflow separation segment. The airflow rectification segment is connected to the fan and has one flow channel. The first airflow separation segment is connected to the airflow rectification segment and disposed between the airflow rectification segment and the reaction unit. A number of flow channels inside the first airflow separation segment is N1, where N1 is a positive integer and N1>1.
摘要:
A water recycling system for recycling water produced by a fuel cell module is provided. The water recycling system includes a fan, a mixing tank, and a duct. The fan has an exhaust opening and a suction opening adjacent to a cathode of the fuel cell module. The fan is used to vaporize water produced by the fuel cell module into vapor and exhaust the vapor from the exhaust opening. The mixing tank has a fuel inlet and a fuel outlet. A fuel for the fuel cell module is injected into the mixing tank via the fuel inlet, and the fuel outlet is connected to the fuel cell module. The duct has a first end and a second end. The first end is connected to the exhaust opening, and the second end is in contact with the fuel inside the mixing tank.
摘要:
A method and apparatus for efficient and consistent validation/conflict detection in a Software Transactional Memory (STM) system is herein described. A version check barrier is inserted after a load to compare versions of loaded values before and after the load. In addition, a global timestamp (GTS) is utilized to track a latest committed transaction. Each transaction is associated with a local timestamp (LTS) initialized to the GTS value at the start of a transaction. As a transaction commits it updates the GTS to a new value and sets versions of modified locations to the new value. Pending transactions compare versions determined in read barriers to their LTS. If the version is greater than their LTS indicating another transaction has committed after the pending transaction started and initialized the LTS, then the pending transaction validates its read set to maintain efficient and consistent transactional execution.
摘要:
Methods and an apparatus to form a resilient objective instruction construct are provided. An example method obtains a source instruction construct and forms a resilient objective instruction construct by compiling one or more resilient transactions.