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.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      long currentTimeMillis()
      Deprecated. 
      Timestamps in Rational Performance Tester generally use timeInTest() generated times. If currentTimeMillis() times are required, use timeInTest() + timeZero().
      long timeInTest()
      timeInTest provides a timestamp relative to the beginning of the test run.
      long timeZero() 
    • Method Detail

      • currentTimeMillis

        long currentTimeMillis()
        Deprecated. Timestamps in Rational Performance Tester generally use timeInTest() generated times. If currentTimeMillis() times are required, use timeInTest() + timeZero().
        Returns:
        The current system time in milliseconds, which has been adjusted so that all drivers are synchronized with the schedule controller.
      • timeZero

        long timeZero()
        Returns:
        The time, which has been adjusted so that all drivers are synchronized with the schedule controller, that the test began.
      • timeInTest

        long timeInTest()
        timeInTest provides a timestamp relative to the beginning of the test run. This timestamp is suitable for comparison with timestamps produced by protocol support.
        Returns:
        The number of milliseconds since timeZero().
IBM Rational Performance Tester TES

© Copyright IBM Corp. 2013. All rights reserved.