Abstract: The present invention provides a method and system for eliminating redundant execution sequences that appear in workloads during workload simulation on an e-business application server. The invention eliminates redundancy by creating command patterns for commands that recur. This use of the command patterns permit execution of commands without having to rewrite the software code necessary for implementing the command every time there is a necessity to use the command in a workload. By building a reference workload and cloning the command patterns for each workload, redundancy can be eliminated among the workloads.
Type:
Grant
Filed:
July 23, 2001
Date of Patent:
May 29, 2007
Assignee:
International Business Machines Corporation
Abstract: A method and apparatus for dynamically configuring a unit conversion mechanism is provided. A non-executable data structure defines information, which is accessed to facilitate unit conversion. The information in the non-executable data structure is in the form of elements, which include among other things at least one measurable quantity, such as length or mass, along with a plurality of units, such as feet, meters, millimeters, pounds, and kilograms. Each of the units is associated with a measurable quantity. For example, feet, meters, and millimeters are used in measuring length. Conversion information, which includes an offset and a gain, is associated with each of the units. The plurality of units, along with the conversion information, is used to dynamically configure the unit conversion mechanism at runtime. In so doing, the unit conversion mechanism can convert from one unit to another unit for a measurable quantity.