public class WorkerSuperstepMetrics extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
WorkerSuperstepMetrics()
Constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getBytesLoadedFromDisk() |
long |
getBytesStoredOnDisk() |
long |
getCommTimer() |
long |
getComputeAllTimer() |
double |
getGraphPercentageInMemory() |
long |
getSuperstepTimer() |
long |
getTimeToFirstMsg() |
long |
getWaitRequestsTimer() |
WorkerSuperstepMetrics |
print(long superstep,
PrintStream out)
Human readable dump of metrics stored here.
|
void |
readFields(DataInput dataInput) |
WorkerSuperstepMetrics |
readFromRegistry()
Read metric values from global MetricsRegistry.
|
void |
write(DataOutput dataOutput) |
public WorkerSuperstepMetrics readFromRegistry()
public WorkerSuperstepMetrics print(long superstep, PrintStream out)
superstep
- long number of superstep.out
- PrintStream to write to.public long getCommTimer()
public long getComputeAllTimer()
public long getTimeToFirstMsg()
public long getSuperstepTimer()
public long getWaitRequestsTimer()
public long getBytesLoadedFromDisk()
public long getBytesStoredOnDisk()
public double getGraphPercentageInMemory()
public void readFields(DataInput dataInput) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.