public final class AbstractMetricsImpl extends Object implements AbstractMetrics
totalTime, critPathTime, and resumeTime keep tracks of actual unblocked execution in each activity. The time that an activity is spent blocked in the Hj runtime is not counted. However, this is still an approximate estimate because it does account for time that an activity is not executing because its Java thread in the thread pool does not have an available processor.
Constructor and Description |
---|
AbstractMetricsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addCritPathOps(long n)
addCritPathOps.
|
void |
addLocalOps(long n)
addLocalOps.
|
long |
getCritPathOps()
getCritPathOps.
|
long |
getTotalOps()
getTotalOps.
|
void |
maxCritPathOps(long n)
maxCritPathOps.
|
String |
toString() |
public long getTotalOps()
getTotalOps.
getTotalOps
in interface AbstractMetrics
public long getCritPathOps()
getCritPathOps.
getCritPathOps
in interface AbstractMetrics
public void addLocalOps(long n)
addLocalOps.
addLocalOps
in interface AbstractMetrics
n
- a long.public void addCritPathOps(long n)
addCritPathOps.
addCritPathOps
in interface AbstractMetrics
n
- a long.public void maxCritPathOps(long n)
maxCritPathOps.
maxCritPathOps
in interface AbstractMetrics
n
- a long.Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.