|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mmtk.vm.Statistics org.jikesrvm.mm.mmtk.Statistics
public final class Statistics
Field Summary | |
---|---|
private PerfEvent[] |
perfEvents
|
Constructor Summary | |
---|---|
Statistics()
|
Method Summary | |
---|---|
long |
cycles()
Read a cycle counter (high resolution, non-monotonic clock). |
long |
millisToNanos(double t)
Convert milliseconds to nanoseconds |
double |
nanosToMillis(long c)
Convert nanoseconds to milliseconds |
double |
nanosToSecs(long c)
Convert nanoseconds to seconds |
long |
nanoTime()
Read nanoTime (high resolution, monotonically increasing clock). |
void |
perfEventInit(String events)
Initialize performance events |
void |
perfEventRead(int id,
long[] values)
Read a performance event |
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 |
Field Detail |
---|
private PerfEvent[] perfEvents
Constructor Detail |
---|
public Statistics()
Method Detail |
---|
public long nanoTime()
nanoTime
in class Statistics
public long cycles()
cycles
in class Statistics
public double nanosToMillis(long c)
Statistics
nanosToMillis
in class Statistics
public double nanosToSecs(long c)
Statistics
nanosToSecs
in class Statistics
public long millisToNanos(double t)
Statistics
millisToNanos
in class Statistics
public long secsToNanos(double t)
Statistics
secsToNanos
in class Statistics
public void perfEventInit(String events)
Statistics
perfEventInit
in class Statistics
public void perfEventRead(int id, long[] values)
perfEventRead
in class Statistics
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |