Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Run_Time
Class HighResolutionTimer  view HighResolutionTimer download HighResolutionTimer.java

java.lang.Object
  extended byRun_Time.HighResolutionTimer

public class HighResolutionTimer
extends java.lang.Object

Version:
$Id: HighResolutionTimer.java,v 1.9 2003/06/18 23:29:44 mcmartin Exp $

Field Summary
private static long counter_frequency
           
(package private) static SystemInterface.ExternalLink gettimeofday
           
private static boolean native_library_present
           
(package private) static SystemInterface.ExternalLink QueryPerformanceCounter
           
(package private) static SystemInterface.ExternalLink QueryPerformanceFrequency
           
static double TICKS_PER_SECOND
           
 
Constructor Summary
HighResolutionTimer()
           
 
Method Summary
static void boot()
           
private static long get_time_of_day()
           
static void init()
           
static void main(java.lang.String[] args)
           
static double now()
           
private static long query_performance_counter()
           
private static long query_performance_frequency()
           
static long ticks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

native_library_present

private static boolean native_library_present

TICKS_PER_SECOND

public static final double TICKS_PER_SECOND
See Also:
Constant Field Values

counter_frequency

private static long counter_frequency

QueryPerformanceFrequency

static SystemInterface.ExternalLink QueryPerformanceFrequency

QueryPerformanceCounter

static SystemInterface.ExternalLink QueryPerformanceCounter

gettimeofday

static SystemInterface.ExternalLink gettimeofday
Constructor Detail

HighResolutionTimer

public HighResolutionTimer()
Method Detail

ticks

public static long ticks()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

init

public static final void init()

now

public static final double now()

query_performance_frequency

private static long query_performance_frequency()

query_performance_counter

private static long query_performance_counter()

get_time_of_day

private static long get_time_of_day()

boot

public static void boot()