|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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). |
int |
getCollectionCount()
Returns the number of collections that have occurred. |
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 int getCollectionCount()
getCollectionCount in class Statisticspublic long nanoTime()
nanoTime in class Statisticspublic long cycles()
cycles in class Statisticspublic double nanosToMillis(long c)
nanosToMillis in class Statisticspublic double nanosToSecs(long c)
nanosToSecs in class Statisticspublic long millisToNanos(double t)
millisToNanos in class Statisticspublic long secsToNanos(double t)
secsToNanos in class Statisticspublic void perfEventInit(String events)
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 | ||||||||||