public interface TraceOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsDevices(int key)
The devices that this trace has information about.
|
Map<Integer,Device> |
getDevices()
Deprecated.
|
int |
getDevicesCount()
The devices that this trace has information about.
|
Map<Integer,Device> |
getDevicesMap()
The devices that this trace has information about.
|
Device |
getDevicesOrDefault(int key,
Device defaultValue)
The devices that this trace has information about.
|
Device |
getDevicesOrThrow(int key)
The devices that this trace has information about.
|
TraceEvent |
getTraceEvents(int index)
All trace events capturing in the profiling period.
|
int |
getTraceEventsCount()
All trace events capturing in the profiling period.
|
List<TraceEvent> |
getTraceEventsList()
All trace events capturing in the profiling period.
|
TraceEventOrBuilder |
getTraceEventsOrBuilder(int index)
All trace events capturing in the profiling period.
|
List<? extends TraceEventOrBuilder> |
getTraceEventsOrBuilderList()
All trace events capturing in the profiling period.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getDevicesCount()
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
boolean containsDevices(int key)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
@Deprecated Map<Integer,Device> getDevices()
getDevicesMap()
instead.Map<Integer,Device> getDevicesMap()
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
Device getDevicesOrDefault(int key, Device defaultValue)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
Device getDevicesOrThrow(int key)
The devices that this trace has information about. Maps from device_id to more data about the specific device.
map<uint32, .tensorflow.profiler.Device> devices = 1;
List<TraceEvent> getTraceEventsList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
TraceEvent getTraceEvents(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
int getTraceEventsCount()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
List<? extends TraceEventOrBuilder> getTraceEventsOrBuilderList()
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
TraceEventOrBuilder getTraceEventsOrBuilder(int index)
All trace events capturing in the profiling period.
repeated .tensorflow.profiler.TraceEvent trace_events = 4;
Copyright © 2015–2019. All rights reserved.