| Constructor and Description |
|---|
PerformanceMeasurement(Cog state) |
PerformanceMeasurement(PerformanceMetric metric,
long cycles,
long milliseconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object nother) |
long |
getCycles() |
double |
getHertz() |
PerformanceMetric |
getMetric() |
long |
getMilliseconds() |
int |
hashCode() |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
public PerformanceMeasurement(PerformanceMetric metric, long cycles, long milliseconds)
public PerformanceMeasurement(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic PerformanceMetric getMetric()
public long getCycles()
public long getMilliseconds()
public double getHertz()