org.apache.log4j.performance
Class SystemTime
java.lang.Object
org.apache.log4j.performance.SystemTime
public class SystemTime
extends java.lang.Object
Measures the time required to make a System.currentTimeMillis() and
Thread.currentThread().getName() calls.
On an 233Mhz NT machine (JDK 1.1.7B) the
System.currentTimeMillis() call takes under half a microsecond to
complete whereas the Thread.currentThread().getName() call takes
about 4 micro-seconds.
static void | main(String[] args)
|
main
public static void main(String[] args)
Copyright 2000-2002 Apache Software Foundation.