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 AutoCloseable
public void add(byte[] runMetadata)
public String summary()
Copyright © 2022. All rights reserved.