ProfileOptions

public final class ProfileOptions

 Next ID: 11
 
Protobuf type tensorflow.ProfileOptions

Nested Classes

class ProfileOptions.Builder
 Next ID: 11
 
Protobuf type tensorflow.ProfileOptions  
enum ProfileOptions.DeviceType Protobuf enum tensorflow.ProfileOptions.DeviceType  

Constants

int DEVICE_TRACER_LEVEL_FIELD_NUMBER
int DEVICE_TYPE_FIELD_NUMBER
int DURATION_MS_FIELD_NUMBER
int ENABLE_HLO_PROTO_FIELD_NUMBER
int HOST_TRACER_LEVEL_FIELD_NUMBER
int INCLUDE_DATASET_OPS_FIELD_NUMBER
int PYTHON_TRACER_LEVEL_FIELD_NUMBER
int REPOSITORY_PATH_FIELD_NUMBER
int START_TIMESTAMP_NS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static ProfileOptions
ProfileOptions
final static com.google.protobuf.Descriptors.Descriptor
int
getDeviceTracerLevel()
 Levels of device tracing: (version >= 1)
 - Level 0 is used to disable device traces.
ProfileOptions.DeviceType
getDeviceType()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
int
getDeviceTypeValue()
 Device type to profile/trace: (version >= 1)
 DeviceType::UNSPECIFIED: All registered device profiler will be enabled.
long
getDurationMs()
 The local profiler collects `duration_ms` milliseconds of data.
boolean
getEnableHloProto()
 Whether serialize hlo_proto when XLA is used.
int
getHostTracerLevel()
 Levels of host tracing: (version >= 1)
 - Level 0 is used to disable host traces.
boolean
getIncludeDatasetOps()
 We don't collect the dataset ops by default for better trace-viewer
 scalability.
int
getPythonTracerLevel()
 Whether enable python function calls tracing.
String
getRepositoryPath()
 Directory to save profile data to.
com.google.protobuf.ByteString
getRepositoryPathBytes()
 Directory to save profile data to.
int
long
getStartTimestampNs()
 The local profiler starts profiling at this Unix timestamp in nanoseconds.
final com.google.protobuf.UnknownFieldSet
int
getVersion()
 Some default value of option are not proto3 default value.
int
final boolean
static ProfileOptions.Builder
static ProfileOptions.Builder
ProfileOptions.Builder
static ProfileOptions
parseDelimitedFrom(InputStream input)
static ProfileOptions
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProfileOptions
parseFrom(ByteBuffer data)
static ProfileOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProfileOptions
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProfileOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static ProfileOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProfileOptions
parseFrom(com.google.protobuf.ByteString data)
static ProfileOptions
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ProfileOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
ProfileOptions.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DEVICE_TRACER_LEVEL_FIELD_NUMBER

Constant Value: 3

public static final int DEVICE_TYPE_FIELD_NUMBER

Constant Value: 6

public static final int DURATION_MS_FIELD_NUMBER

Constant Value: 9

public static final int ENABLE_HLO_PROTO_FIELD_NUMBER

Constant Value: 7

public static final int HOST_TRACER_LEVEL_FIELD_NUMBER

Constant Value: 2

public static final int INCLUDE_DATASET_OPS_FIELD_NUMBER

Constant Value: 1

public static final int PYTHON_TRACER_LEVEL_FIELD_NUMBER

Constant Value: 4

public static final int REPOSITORY_PATH_FIELD_NUMBER

Constant Value: 10

public static final int START_TIMESTAMP_NS_FIELD_NUMBER

Constant Value: 8

public static final int VERSION_FIELD_NUMBER

Constant Value: 5

Public Methods

public boolean equals (Object obj)

public static ProfileOptions getDefaultInstance ()

public ProfileOptions getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()