public class UserTime extends Time
Time
that uses a native method.
-Djava.library.path
to the directory where the native library
resides.UserTime.dll
for Windows,libUserTime.so
for Linux,libUserTime.jnilib
for Mac OS X.de_jstacs_utils_UserTime.c
as a dynamic library including the
path to jni.h
on your system (
-I/path/to/directory_containing_jni.h
).Constructor and Description |
---|
UserTime() |
Modifier and Type | Method and Description |
---|---|
double |
getElapsedTime()
Returns the elapsed time since invoking the constructor.
|
void |
reset()
Restarts the time stopping.
|
getTimeInstance
public double getElapsedTime()
Time
getElapsedTime
in class Time