|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmtk.vm.Statistics
public abstract class Statistics
| Constructor Summary | |
|---|---|
Statistics()
|
|
| Method Summary | |
|---|---|
abstract long |
cycles()
Read the cycle counter |
abstract int |
getCollectionCount()
Returns the number of collections that have occurred. |
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 |
perfCtrInit(int metric)
Initialize performance counters |
abstract long |
perfCtrReadCycles()
Read the current cycle count from the perfctr libraries |
abstract long |
perfCtrReadMetric()
Read the current event count for the metric being measured by the perfctr libraries |
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 int getCollectionCount()
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 perfCtrInit(int metric)
metric - An integer identifying the metric being readpublic abstract long perfCtrReadCycles()
public abstract long perfCtrReadMetric()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||