|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.vm.Statistics
public abstract class Statistics
Constructor Summary | |
---|---|
Statistics()
|
Method Summary | |
---|---|
abstract long |
cycles()
Read the cycle counter |
abstract long |
millisToNanos(double t)
Convert milliseconds to nanoseconds |
abstract double |
nanosToMillis(long c)
Convert nanoseconds to milliseconds |
abstract double |
nanosToSecs(long c)
Convert nanoseconds to seconds |
abstract long |
nanoTime()
Read cycle counter |
abstract void |
perfEventInit(String events)
Initialize performance events |
abstract void |
perfEventRead(int counter,
long[] values)
Read a performance event value |
abstract long |
secsToNanos(double t)
Convert seconds to nanoseconds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Statistics()
Method Detail |
---|
public abstract long nanoTime()
public abstract double nanosToMillis(long c)
public abstract double nanosToSecs(long c)
public abstract long millisToNanos(double t)
public abstract long secsToNanos(double t)
public abstract long cycles()
public abstract void perfEventInit(String events)
public abstract void perfEventRead(int counter, long[] values)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |