com.ibm.rational.test.lt.kernel
Interface ITime
- public interface ITime
The ITime interface defines basic time services.
The times reported by ITime are adjusted so that all driver computers in a performance test run are
synchronized with the clock on the computer on which the performance testing workbench is installed.
currentTimeMillis
public long currentTimeMillis()
- Returns:
- The current system time in milliseconds, which has been adjusted so that all drivers are
synchronized with the schedule controller.
timeZero
public long timeZero()
- Returns:
- The time (adjusted as in currentTimeMillis()) that the test began.
timeInTest
public long timeInTest()
- Returns:
- The number of milliseconds since timeZero().
Copyright (c) IBM Corp. and others 2005. All rights reserved