TestResults

public final class TestResults

 The output of one benchmark / test run.  Each run contains a list of
 tests or benchmarks, stored as BenchmarkEntry messages.
 This message should be emitted by the reporter (which runs the
 test / BM in a subprocess and then reads the emitted BenchmarkEntry messages;
 usually from a serialized json file, finally collecting them along
 with additional information about the test run.
 
Protobuf type tensorflow.TestResults

Nested Classes

enum TestResults.BenchmarkType
 The type of benchmark. 
class TestResults.Builder
 The output of one benchmark / test run. 

Constants

int BENCHMARK_TYPE_FIELD_NUMBER
int BUILD_CONFIGURATION_FIELD_NUMBER
int COMMIT_ID_FIELD_NUMBER
int ENTRIES_FIELD_NUMBER
int MACHINE_CONFIGURATION_FIELD_NUMBER
int NAME_FIELD_NUMBER
int RUN_CONFIGURATION_FIELD_NUMBER
int RUN_MODE_FIELD_NUMBER
int RUN_TIME_FIELD_NUMBER
int START_TIME_FIELD_NUMBER
int TARGET_FIELD_NUMBER
int TF_VERSION_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
TestResults.BenchmarkType
getBenchmarkType ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
int
getBenchmarkTypeValue ()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
BuildConfiguration
getBuildConfiguration ()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
BuildConfigurationOrBuilder
getBuildConfigurationOrBuilder ()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
CommitId
getCommitId ()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
CommitIdOrBuilder
getCommitIdOrBuilder ()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
static TestResults
TestResults
final static com.google.protobuf.Descriptors.Descriptor
BenchmarkEntries
getEntries ()
 The list of tests or benchmarks in this run.
BenchmarkEntriesOrBuilder
getEntriesOrBuilder ()
 The list of tests or benchmarks in this run.
MachineConfiguration
getMachineConfiguration ()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
MachineConfigurationOrBuilder
getMachineConfigurationOrBuilder ()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
String
getName ()
 Benchmark target identifier.
com.google.protobuf.ByteString
getNameBytes ()
 Benchmark target identifier.
RunConfiguration
getRunConfiguration ()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
RunConfigurationOrBuilder
getRunConfigurationOrBuilder ()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
String
getRunMode ()
 Used for differentiating between continuous and debug builds.
com.google.protobuf.ByteString
getRunModeBytes ()
 Used for differentiating between continuous and debug builds.
double
getRunTime ()
 The amount of time the total run took (wall time in seconds)
 
double run_time = 6;
int
long
getStartTime ()
 The time the run started (in seconds of UTC time since Unix epoch)
 
int64 start_time = 5;
String
getTarget ()
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
com.google.protobuf.ByteString
getTargetBytes ()
 The target of the run, e.g.:
  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
 
string target = 1;
String
getTfVersion ()
 TensorFlow version this benchmark runs against.
com.google.protobuf.ByteString
getTfVersionBytes ()
 TensorFlow version this benchmark runs against.
final com.google.protobuf.UnknownFieldSet
boolean
hasBuildConfiguration ()
 The configuration of the build (compiled opt? with cuda? any copts?)
 
.tensorflow.BuildConfiguration build_configuration = 3;
boolean
hasCommitId ()
 The commit id (git hash or changelist)
 
.tensorflow.CommitId commit_id = 4;
boolean
hasEntries ()
 The list of tests or benchmarks in this run.
boolean
hasMachineConfiguration ()
 Machine-specific parameters (Platform and CPU info)
 
.tensorflow.MachineConfiguration machine_configuration = 7;
boolean
hasRunConfiguration ()
 Run-specific parameters (arguments, etc)
 
.tensorflow.RunConfiguration run_configuration = 8;
int
final boolean
static TestResults.Builder
static TestResults.Builder
TestResults.Builder
static TestResults
parseDelimitedFrom (InputStream input)
static TestResults
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TestResults
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TestResults
parseFrom (com.google.protobuf.CodedInputStream input)
static TestResults
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TestResults
parseFrom (ByteBuffer data)
static TestResults
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TestResults
parseFrom (com.google.protobuf.ByteString data)
static TestResults
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TestResults
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
TestResults.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods