public final class TestResults extends com.google.protobuf.GeneratedMessageV3 implements TestResultsOrBuilder
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| Modifier and Type | Class and Description |
|---|---|
static class |
TestResults.BenchmarkType
The type of benchmark.
|
static class |
TestResults.Builder
The output of one benchmark / test run.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BENCHMARK_TYPE_FIELD_NUMBER |
static int |
BUILD_CONFIGURATION_FIELD_NUMBER |
static int |
COMMIT_ID_FIELD_NUMBER |
static int |
ENTRIES_FIELD_NUMBER |
static int |
MACHINE_CONFIGURATION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RUN_CONFIGURATION_FIELD_NUMBER |
static int |
RUN_MODE_FIELD_NUMBER |
static int |
RUN_TIME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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?)
|
BuildConfigurationOrBuilder |
getBuildConfigurationOrBuilder()
The configuration of the build (compiled opt? with cuda? any copts?)
|
CommitId |
getCommitId()
The commit id (git hash or changelist)
|
CommitIdOrBuilder |
getCommitIdOrBuilder()
The commit id (git hash or changelist)
|
static TestResults |
getDefaultInstance() |
TestResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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)
|
MachineConfigurationOrBuilder |
getMachineConfigurationOrBuilder()
Machine-specific parameters (Platform and CPU info)
|
String |
getName()
Benchmark target identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Benchmark target identifier.
|
com.google.protobuf.Parser<TestResults> |
getParserForType() |
RunConfiguration |
getRunConfiguration()
Run-specific parameters (arguments, etc)
|
RunConfigurationOrBuilder |
getRunConfigurationOrBuilder()
Run-specific parameters (arguments, etc)
|
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)
|
int |
getSerializedSize() |
long |
getStartTime()
The time the run started (in seconds of UTC time since Unix epoch)
|
String |
getTarget()
The target of the run, e.g.:
//tensorflow/core:kernels_adjust_contrast_op_benchmark_test
|
com.google.protobuf.ByteString |
getTargetBytes()
The target of the run, e.g.:
//tensorflow/core:kernels_adjust_contrast_op_benchmark_test
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBuildConfiguration()
The configuration of the build (compiled opt? with cuda? any copts?)
|
boolean |
hasCommitId()
The commit id (git hash or changelist)
|
boolean |
hasEntries()
The list of tests or benchmarks in this run.
|
int |
hashCode() |
boolean |
hasMachineConfiguration()
Machine-specific parameters (Platform and CPU info)
|
boolean |
hasRunConfiguration()
Run-specific parameters (arguments, etc)
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TestResults.Builder |
newBuilder() |
static TestResults.Builder |
newBuilder(TestResults prototype) |
TestResults.Builder |
newBuilderForType() |
protected TestResults.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TestResults |
parseDelimitedFrom(InputStream input) |
static TestResults |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestResults |
parseFrom(byte[] data) |
static TestResults |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestResults |
parseFrom(ByteBuffer data) |
static TestResults |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestResults |
parseFrom(com.google.protobuf.ByteString data) |
static TestResults |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestResults |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TestResults |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TestResults |
parseFrom(InputStream input) |
static TestResults |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TestResults> |
parser() |
TestResults.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TARGET_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER
public static final int BUILD_CONFIGURATION_FIELD_NUMBER
public static final int COMMIT_ID_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int RUN_TIME_FIELD_NUMBER
public static final int MACHINE_CONFIGURATION_FIELD_NUMBER
public static final int RUN_CONFIGURATION_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int BENCHMARK_TYPE_FIELD_NUMBER
public static final int RUN_MODE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getTarget()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1;getTarget in interface TestResultsOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1;getTargetBytes in interface TestResultsOrBuilderpublic boolean hasEntries()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;hasEntries in interface TestResultsOrBuilderpublic BenchmarkEntries getEntries()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;getEntries in interface TestResultsOrBuilderpublic BenchmarkEntriesOrBuilder getEntriesOrBuilder()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;getEntriesOrBuilder in interface TestResultsOrBuilderpublic boolean hasBuildConfiguration()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;hasBuildConfiguration in interface TestResultsOrBuilderpublic BuildConfiguration getBuildConfiguration()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;getBuildConfiguration in interface TestResultsOrBuilderpublic BuildConfigurationOrBuilder getBuildConfigurationOrBuilder()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;getBuildConfigurationOrBuilder in interface TestResultsOrBuilderpublic boolean hasCommitId()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;hasCommitId in interface TestResultsOrBuilderpublic CommitId getCommitId()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;getCommitId in interface TestResultsOrBuilderpublic CommitIdOrBuilder getCommitIdOrBuilder()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;getCommitIdOrBuilder in interface TestResultsOrBuilderpublic long getStartTime()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5;getStartTime in interface TestResultsOrBuilderpublic double getRunTime()
The amount of time the total run took (wall time in seconds)
double run_time = 6;getRunTime in interface TestResultsOrBuilderpublic boolean hasMachineConfiguration()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;hasMachineConfiguration in interface TestResultsOrBuilderpublic MachineConfiguration getMachineConfiguration()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;getMachineConfiguration in interface TestResultsOrBuilderpublic MachineConfigurationOrBuilder getMachineConfigurationOrBuilder()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;getMachineConfigurationOrBuilder in interface TestResultsOrBuilderpublic boolean hasRunConfiguration()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;hasRunConfiguration in interface TestResultsOrBuilderpublic RunConfiguration getRunConfiguration()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;getRunConfiguration in interface TestResultsOrBuilderpublic RunConfigurationOrBuilder getRunConfigurationOrBuilder()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;getRunConfigurationOrBuilder in interface TestResultsOrBuilderpublic String getName()
Benchmark target identifier.
string name = 9;getName in interface TestResultsOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Benchmark target identifier.
string name = 9;getNameBytes in interface TestResultsOrBuilderpublic int getBenchmarkTypeValue()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;getBenchmarkTypeValue in interface TestResultsOrBuilderpublic TestResults.BenchmarkType getBenchmarkType()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;getBenchmarkType in interface TestResultsOrBuilderpublic String getRunMode()
Used for differentiating between continuous and debug builds. Must be one of: * cbuild: results from continuous build. * presubmit: results from oneshot requests. * culprit: results from culprit finder rerun.
string run_mode = 11;getRunMode in interface TestResultsOrBuilderpublic com.google.protobuf.ByteString getRunModeBytes()
Used for differentiating between continuous and debug builds. Must be one of: * cbuild: results from continuous build. * presubmit: results from oneshot requests. * culprit: results from culprit finder rerun.
string run_mode = 11;getRunModeBytes in interface TestResultsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TestResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TestResults parseFrom(InputStream input) throws IOException
IOExceptionpublic static TestResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestResults parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TestResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TestResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TestResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TestResults.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TestResults.Builder newBuilder()
public static TestResults.Builder newBuilder(TestResults prototype)
public TestResults.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TestResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TestResults getDefaultInstance()
public static com.google.protobuf.Parser<TestResults> parser()
public com.google.protobuf.Parser<TestResults> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TestResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.