public class HjMetricsImpl extends Object implements HjMetrics
HjMetricsImpl class.
Constructor and Description |
---|
HjMetricsImpl(long totalWork,
long criticalPathLength,
double idealParallelism)
Constructor for HjMetricsImpl.
|
Modifier and Type | Method and Description |
---|---|
long |
criticalPathLength()
Returns the the critical path length.
|
boolean |
equals(Object o) |
int |
hashCode() |
double |
idealParallelism()
Returns the the available ideal parallelism.
|
String |
toString() |
long |
totalWork()
Returns the total work done.
|
public HjMetricsImpl(long totalWork, long criticalPathLength, double idealParallelism)
Constructor for HjMetricsImpl.
totalWork
- a long.criticalPathLength
- a long.idealParallelism
- a double.public long totalWork()
public long criticalPathLength()
criticalPathLength
in interface HjMetrics
public double idealParallelism()
idealParallelism
in interface HjMetrics
Copyright © 2015 Rice University - Department of Computer Science. All rights reserved.