public class RunStats extends Object implements AutoCloseable
| Constructor and Description |
|---|
RunStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(byte[] runMetadata)
Accumulate stats obtained when executing a graph.
|
void |
close() |
static byte[] |
runOptions()
Options to be provided to a
Session.Runner to enable stats accumulation. |
String |
summary()
Summary of the accumulated runtime stats.
|
public static byte[] runOptions()
Session.Runner to enable stats accumulation.public void close()
close in interface AutoCloseablepublic void add(byte[] runMetadata)
public String summary()
Copyright © 2019. All rights reserved.