IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

High Resolution Time Stamp Facility

A library of functions that can be used to measure activities of less than one second's duration using highly accurate time stamps that can be converted to dates and times of day.


Date Posted: April 19, 2002
OverviewRequirementsDownload FAQs Forum Reviews

Platform requirements for IBM High Resolution Time Stamp Facility

Operating systems: All Win32-based platforms

Disk space: Less than 75 KB

User profile: Must allow updating of the Windows Registry during installation (but registry access is not required during run time).

Installation instructions for IBM High Resolution Time Stamp Facility

  1. Download the ibmtsinst.exe file.
  2. Run the file to create the ibmts directory, which contains the installer, optional service, SDK, and related documentation. (The installer is implemented in InstallShield Professional 6.2. The ibmts\doc\readme.htm file contains details and deinstallation information.)
  3. For the more commonly used silent mode of installation, issue the command
      "c:\ibmts\ibm\media\default\disk images\disk1\setup" APP_NAME -s -f1c:\ibmts\setup.iss

    where

    • -s is a switch for silent mode
    • -f1 is a switch for the location of the silent mode file
    • APP_NAME is the name of the application that installs files and that will be the name to be registered in the registry.

    Note that there is no space between the switch -f1 and the drive letter C: and that these instructions assume that ibmts is on the C drive.

    The silent mode file setup.iss is in ibmts directory created when you ran ibmts.exe. It can be moved to another location, provided you point to that location following the -f1 switch.

Important notes:

To ensure that all applications have access to the ibmts.dll and ibmtslink.dll files, they will be placed in the Windows system directory.

The installer also places the corresponding files for developing software (for C/C++: ibmts.lib, ibmts.h; and for Java: ibmts.jar) in the system directory. (Though this is non-standard practice, we thought it best to keep together the library, header file, and class that corresponds with the installed run-time DLLs.) All these files can be installed by running "ibmts\ibm\media\default\disk images\disk1\Setup.exe".

JavaTM developers can use an object derived from the class com.ibm.ibmts.ibmtslink object to get time stamps via JNI. This class is in the ibmts.jar file that is installed in the Windows System directory.

Download now Download now

Related technologies

For platform(s):
Win32

For topics:
performance, monitoring


Related resources

Press Articles

 

    About IBM Privacy Contact