# US 2003/0212989 A1 · System and method for time compression during software testing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0212989 A1
- Document ID: US20030212989A1
- Status: Published application
- Kind: A1
- Application number: 10/279,532
- Filed: 2002-10-24
- Published: 2003-11-13
- Earliest claimed: 2002-05-10
- Assignees: International Business Machines Corporation
- Inventors: Vaughn T. Rokosz
- Web page: https://patentgrep.com/patent/US20030212989A1

## CPC

- G06F 11/3672: {Test management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for applying time compression to simulate long-term execution of a software application in the short time frames includes providing simulated events to a software application under test and selectively advancing the system clock. The subject system utilizes two utility modules to interact with a software application under testing. The first module, the Event Simulation module, generates a range of predefine events which simulate the nature and frequency of events to which the software application would react. The second module, the Clock Modification module, intercepts the time signal generated by the operating system under which the software application is executing and modifies the clock signal, typically by advancing the time at a rate which is faster than one second per second, i.e., normal time rate. With the subject system, the behavior of an application over a simulated period may be observed in just a fraction of the simulated period duration, e.g. one year of simulated testing performance in five days. For systems or applications where behavior is influenced by the historical pattern of use, the disclosed technique for time compression can identify defects that normally occur only after extended periods of use.

## Claims

### Claim 1

A method for use with a computer system having an operating system executing thereon, the operating system capable of executing one of more applications and generating a system clock signal useful by one of the applications, the method comprising:
(a) causing one of the applications to execute under control of the operating system;
(b) providing one of a plurality of simulated events to the executing application;
(c) selectively modifying the system clock signal generated by the operating system; and
(d) providing the modified system clock signal to the executing application.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
(e) supplying an unmodified clock signal generated by the operating system to the application.

### Claim 3 (depends on 1)

The method of claim 1 wherein the (c) comprises:
(c1) selectively modifying the system clock signal by advancing the system clock signal at a rate greater than one second per second.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
(e) repeating (b) through (d).

### Claim 5 (depends on 4)

The method of claim 4 wherein the (c) comprises:
(c1) selectively modifying the system clock signal by advancing the system clock signal at a uniform rate that is greater than one second per second.

### Claim 6 (depends on 4)

The method of claim 4 wherein the (c) comprises:
(c1) selectively modifying the system clock signal by advancing the system clock signal at a nonuniform rate that is greater than one second per second.

### Claim 7

A computer program product and computer data signal for use with a computer system having an operating system executing thereon, the operating system capable of executing one of more applications and generating a system clock signal useful by one of the applications, the computer program product comprising a computer usable medium having program code contained thereon comprising:
(a) program code for causing one of the applications to execute under control of the operating system;
(b) program code for providing one of a plurality of simulated events to the executing application;
(c) program code for selectively modifying the system clock signal generated by the operating system; and
(d) program code for providing the modified system clock signal to the executing application.

### Claim 8 (depends on 7)

The computer program product of claim 7 further comprising:
(e) program code for supplying an unmodified clock signal generated by the operating system to the application.

### Claim 9 (depends on 7)

The computer program product of claim 7 wherein the (c) comprises:
(c1) program code for selectively modifying the system clock signal by advancing the system clock signal at a rate greater than one second per second.

### Claim 10 (depends on 7)

The computer program product of claim 7 further comprising:
(e) program code for repeating execution of (b) through (d).

### Claim 11 (depends on 11)

The computer program product of claim 11 wherein the (c) comprises:
(c1) program code for selectively modifying the system clock signal by advancing the system clock signal at a uniform rate that is greater than one second per second.

### Claim 12 (depends on 11)

The computer program product of claim 11 wherein the (c) comprises:
(c1) program code for selectively modifying the system clock signal by advancing the system clock signal at a nonuniform rate that is greater than one second per second.

### Claim 13

An apparatus for use with a computer system having an operating system executing thereon, the operating system capable of executing one of more applications and generating a system clock signal useful by one of the applications, the apparatus comprising:
(a) program logic for causing one of the applications to execute under control of the operating system;
(b) program logic for providing one of a plurality of simulated events to the executing application;
(c) program logic for selectively modifying the system clock signal generated by the operating system; and
(d) program logic for providing the modified system clock signal to the executing application.

### Claim 14 (depends on 13)

The apparatus of claim 13 further comprising:
(e) program logic for supplying an unmodified clock signal generated by the operating system to the application.

### Claim 15 (depends on 13)

The apparatus of claim 13 wherein the (c) comprises:
(c1) program logic for selectively modifying the system clock signal by advancing the system clock signal at a rate greater than one second per second.

### Claim 16 (depends on 13)

The apparatus of claim 13 further comprising:
(e) program logic for repeating execution of (b) through (d).

### Claim 17 (depends on 16)

The apparatus of claim 16 herein the (c) comprises:
(c1) program logic for selectively modifying the system clock signal by advancing the system clock signal at a uniform rate that is greater than one second per second.

### Claim 18 (depends on 16)

The apparatus of claim 16 herein the (c) comprises:
(c1) program logic for selectively modifying the system clock signal by advancing the system clock signal at a nonuniform rate that is greater than one second per second.

### Claim 19

An apparatus for testing the performance of an application comprising:
(a) a processor;
(b) an operating system executing under control of the processor and configured to generate a system clock signal;
(c) an application executing under control of the operating system;
(d) a memory for storing data related to a plurality of simulated events; and
(e) program logic for: i) providing data related to one of the plurality of simulated events to the executing application, ii) modifying the system clock signal, and iii) providing the modified system clock signal to the executing application, in a repeated sequence.

### Claim 20 (depends on 19)

The apparatus of claim 19 further comprising:
(f) program logic for supplying an unmodified clock signal generated by the operating system to the application

### Claim 21 (depends on 19)

Th apparatus of claim 19 wherein the (e)(ii) comprises:
(e1)(ii) program logic for modifying the system clock signal by advancing the system clock signal at a rate greater than one second per second.

### Claim 22 (depends on 19)

The apparatus of claim 19 wherein the (e)(ii) comprises:
(e1)(ii) program logic for modifying the system clock signal by advancing the system clock signal at a uniform rate that is greater than one second per second.

### Claim 23 (depends on 19)

The apparatus of claim 19 wherein the (e)(ii) comprises:
(e1)(ii) program logic for modifying the system clock signal by advancing the system clock signal at a nonuniform rate that is greater than one second per second.

### Claim 24

A system for testing the performance of an application, the system comprising:
(a) a first computer system operatively coupled to a computer network and configured to execute an application under the control of an operating system, the application responsive to a clock signal generated by the operating system or from an external source;
(b) a network clock signal source operatively coupled to the computer network for generating a network clock signal accessible over the computer network;
(c) a simulated events source operatively coupled over the computer network to the application executing on the first computer system and to the network clock signal source, the selected of the simulated events supplied to the application at predetermined clock signal values;
(d) program logic for selectively modifying the network clock signal generated by the network clock signal source and for providing the modified network clock signal to one of the executing application and the simulated events source, in a repeated sequence.

### Claim 25 (depends on 24)

The apparatus of claim 24 further comprising:
(e) program logic for supplying an unmodified clock signal generated by the operating system to the application

### Claim 26 (depends on 24)

The apparatus of claim 24 wherein the (d) comprises:
(d1) program logic for modifying the network clock signal by advancing the network clock signal at a rate greater than one second per second.

### Claim 27 (depends on 24)

The apparatus of claim 24 wherein the (d) comprises:
(d1) program logic for modifying the network clock signal by advancing the network clock signal at a uniform rate that is greater than one second per second.

### Claim 28 (depends on 24)

The apparatus of claim 24 wherein the (d) comprises:
(d1) program logic for modifying the network clock signal by advancing the network clock signal at a nonuniform rate that is greater than one second per second.
