Interface BenchmarkEntryOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
BenchmarkEntry, BenchmarkEntry.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsExtras(String key) Generic map from result key to value.doubleTotal cpu time used for all iterations (in seconds)Deprecated.intGeneric map from result key to value.Generic map from result key to value.getExtrasOrDefault(String key, EntryValue defaultValue) Generic map from result key to value.getExtrasOrThrow(String key) Generic map from result key to value.longgetIters()If a benchmark, how many iterations it was run forgetMetrics(int index) Metric name, value and expected range.intMetric name, value and expected range.Metric name, value and expected range.getMetricsOrBuilder(int index) Metric name, value and expected range.List<? extends MetricEntryOrBuilder> Metric name, value and expected range.getName()The name of the specific benchmark or test (e.g.The name of the specific benchmark or test (e.g.doubleThroughput (in MB/s)doubleTotal wall time used for all iterations (in seconds)Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getName
String getName()The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;- Returns:
- The name.
-
getNameBytes
ByteString getNameBytes()The name of the specific benchmark or test (e.g. BM_AdjustContrast_gpu_B_W_H)
string name = 1;- Returns:
- The bytes for name.
-
getIters
long getIters()If a benchmark, how many iterations it was run for
int64 iters = 2;- Returns:
- The iters.
-
getCpuTime
double getCpuTime()Total cpu time used for all iterations (in seconds)
double cpu_time = 3;- Returns:
- The cpuTime.
-
getWallTime
double getWallTime()Total wall time used for all iterations (in seconds)
double wall_time = 4;- Returns:
- The wallTime.
-
getThroughput
double getThroughput()Throughput (in MB/s)
double throughput = 5;- Returns:
- The throughput.
-
getExtrasCount
int getExtrasCount()Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; -
containsExtras
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; -
getExtras
-
getExtrasMap
Map<String, EntryValue> getExtrasMap()Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; -
getExtrasOrDefault
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; -
getExtrasOrThrow
Generic map from result key to value.
map<string, .tensorflow.EntryValue> extras = 6; -
getMetricsList
List<MetricEntry> getMetricsList()Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; -
getMetrics
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; -
getMetricsCount
int getMetricsCount()Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; -
getMetricsOrBuilderList
List<? extends MetricEntryOrBuilder> getMetricsOrBuilderList()Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7; -
getMetricsOrBuilder
Metric name, value and expected range. This can include accuracy metrics typically used to determine whether the accuracy test has passed
repeated .tensorflow.MetricEntry metrics = 7;
-