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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
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 |
static int |
TF_VERSION_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
|
String |
getTfVersion()
TensorFlow version this benchmark runs against.
|
com.google.protobuf.ByteString |
getTfVersionBytes()
TensorFlow version this benchmark runs against.
|
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) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 static final int TF_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getTarget()
The target of the run, e.g.: //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
string target = 1;
getTarget
in interface TestResultsOrBuilder
public 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 TestResultsOrBuilder
public boolean hasEntries()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
hasEntries
in interface TestResultsOrBuilder
public BenchmarkEntries getEntries()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
getEntries
in interface TestResultsOrBuilder
public BenchmarkEntriesOrBuilder getEntriesOrBuilder()
The list of tests or benchmarks in this run.
.tensorflow.BenchmarkEntries entries = 2;
getEntriesOrBuilder
in interface TestResultsOrBuilder
public boolean hasBuildConfiguration()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
hasBuildConfiguration
in interface TestResultsOrBuilder
public BuildConfiguration getBuildConfiguration()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
getBuildConfiguration
in interface TestResultsOrBuilder
public BuildConfigurationOrBuilder getBuildConfigurationOrBuilder()
The configuration of the build (compiled opt? with cuda? any copts?)
.tensorflow.BuildConfiguration build_configuration = 3;
getBuildConfigurationOrBuilder
in interface TestResultsOrBuilder
public boolean hasCommitId()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
hasCommitId
in interface TestResultsOrBuilder
public CommitId getCommitId()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
getCommitId
in interface TestResultsOrBuilder
public CommitIdOrBuilder getCommitIdOrBuilder()
The commit id (git hash or changelist)
.tensorflow.CommitId commit_id = 4;
getCommitIdOrBuilder
in interface TestResultsOrBuilder
public long getStartTime()
The time the run started (in seconds of UTC time since Unix epoch)
int64 start_time = 5;
getStartTime
in interface TestResultsOrBuilder
public double getRunTime()
The amount of time the total run took (wall time in seconds)
double run_time = 6;
getRunTime
in interface TestResultsOrBuilder
public boolean hasMachineConfiguration()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
hasMachineConfiguration
in interface TestResultsOrBuilder
public MachineConfiguration getMachineConfiguration()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
getMachineConfiguration
in interface TestResultsOrBuilder
public MachineConfigurationOrBuilder getMachineConfigurationOrBuilder()
Machine-specific parameters (Platform and CPU info)
.tensorflow.MachineConfiguration machine_configuration = 7;
getMachineConfigurationOrBuilder
in interface TestResultsOrBuilder
public boolean hasRunConfiguration()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
hasRunConfiguration
in interface TestResultsOrBuilder
public RunConfiguration getRunConfiguration()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
getRunConfiguration
in interface TestResultsOrBuilder
public RunConfigurationOrBuilder getRunConfigurationOrBuilder()
Run-specific parameters (arguments, etc)
.tensorflow.RunConfiguration run_configuration = 8;
getRunConfigurationOrBuilder
in interface TestResultsOrBuilder
public String getName()
Benchmark target identifier.
string name = 9;
getName
in interface TestResultsOrBuilder
public com.google.protobuf.ByteString getNameBytes()
Benchmark target identifier.
string name = 9;
getNameBytes
in interface TestResultsOrBuilder
public int getBenchmarkTypeValue()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
getBenchmarkTypeValue
in interface TestResultsOrBuilder
public TestResults.BenchmarkType getBenchmarkType()
.tensorflow.TestResults.BenchmarkType benchmark_type = 10;
getBenchmarkType
in interface TestResultsOrBuilder
public 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 TestResultsOrBuilder
public 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 TestResultsOrBuilder
public String getTfVersion()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12;
getTfVersion
in interface TestResultsOrBuilder
public com.google.protobuf.ByteString getTfVersionBytes()
TensorFlow version this benchmark runs against. This can be either set to full version or just the major version.
string tf_version = 12;
getTfVersionBytes
in interface TestResultsOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static TestResults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TestResults parseFrom(InputStream input) throws IOException
IOException
public static TestResults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TestResults parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TestResults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TestResults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static TestResults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TestResults.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TestResults.Builder newBuilder()
public static TestResults.Builder newBuilder(TestResults prototype)
public TestResults.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TestResults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static TestResults getDefaultInstance()
public static com.google.protobuf.Parser<TestResults> parser()
public com.google.protobuf.Parser<TestResults> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public TestResults getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2015–2022. All rights reserved.