public final class
XPlane
An XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes. Next ID: 7
tensorflow.profiler.XPlane
Nested Classes
class | XPlane.Builder | An XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes. |
Constants
int | EVENT_METADATA_FIELD_NUMBER | |
int | ID_FIELD_NUMBER | |
int | LINES_FIELD_NUMBER | |
int | NAME_FIELD_NUMBER | |
int | STATS_FIELD_NUMBER | |
int | STAT_METADATA_FIELD_NUMBER |
Public Methods
boolean |
containsEventMetadata(long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
boolean |
containsStatMetadata(long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
boolean |
equals(Object obj)
|
static XPlane | |
XPlane | |
final static com.google.protobuf.Descriptors.Descriptor | |
Map<Long, XEventMetadata> |
getEventMetadata()
Use
getEventMetadataMap() instead. |
int |
getEventMetadataCount()
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
Map<Long, XEventMetadata> |
getEventMetadataMap()
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XEventMetadata |
getEventMetadataOrDefault(long key, XEventMetadata defaultValue)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XEventMetadata |
getEventMetadataOrThrow(long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
long |
getId()
int64 id = 1;
|
XLine |
getLines(int index)
Parallel timelines grouped in this plane. |
int |
getLinesCount()
Parallel timelines grouped in this plane. |
List<XLine> |
getLinesList()
Parallel timelines grouped in this plane. |
XLineOrBuilder |
getLinesOrBuilder(int index)
Parallel timelines grouped in this plane. |
List<? extends XLineOrBuilder> |
getLinesOrBuilderList()
Parallel timelines grouped in this plane. |
String |
getName()
Name of this line. |
com.google.protobuf.ByteString |
getNameBytes()
Name of this line. |
|
|
int | |
Map<Long, XStatMetadata> |
getStatMetadata()
Use
getStatMetadataMap() instead. |
int |
getStatMetadataCount()
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
Map<Long, XStatMetadata> |
getStatMetadataMap()
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStatMetadata |
getStatMetadataOrDefault(long key, XStatMetadata defaultValue)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStatMetadata |
getStatMetadataOrThrow(long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStat |
getStats(int index)
XStats associated with this plane, e.g. |
int |
getStatsCount()
XStats associated with this plane, e.g. |
List<XStat> |
getStatsList()
XStats associated with this plane, e.g. |
XStatOrBuilder |
getStatsOrBuilder(int index)
XStats associated with this plane, e.g. |
List<? extends XStatOrBuilder> |
getStatsOrBuilderList()
XStats associated with this plane, e.g. |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static XPlane.Builder | |
static XPlane.Builder |
newBuilder(XPlane prototype)
|
XPlane.Builder | |
static XPlane |
parseDelimitedFrom(InputStream input)
|
static XPlane |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XPlane |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XPlane |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static XPlane |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XPlane |
parseFrom(ByteBuffer data)
|
static XPlane |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XPlane |
parseFrom(com.google.protobuf.ByteString data)
|
static XPlane |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XPlane |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
XPlane.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int EVENT_METADATA_FIELD_NUMBER
Constant Value:
4
public static final int ID_FIELD_NUMBER
Constant Value:
1
public static final int LINES_FIELD_NUMBER
Constant Value:
3
public static final int NAME_FIELD_NUMBER
Constant Value:
2
public static final int STATS_FIELD_NUMBER
Constant Value:
6
public static final int STAT_METADATA_FIELD_NUMBER
Constant Value:
5
Public Methods
public boolean containsEventMetadata (long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
public boolean containsStatMetadata (long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getEventMetadataCount ()
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
public Map<Long, XEventMetadata> getEventMetadataMap ()
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
public XEventMetadata getEventMetadataOrDefault (long key, XEventMetadata defaultValue)
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
public XEventMetadata getEventMetadataOrThrow (long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
public long getId ()
int64 id = 1;
public XLine getLines (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public int getLinesCount ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public List<XLine> getLinesList ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XLineOrBuilder getLinesOrBuilder (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public List<? extends XLineOrBuilder> getLinesOrBuilderList ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public String getName ()
Name of this line.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
Name of this line.
string name = 2;
public
getParserForType
()
public int getSerializedSize ()
public int getStatMetadataCount ()
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
public Map<Long, XStatMetadata> getStatMetadataMap ()
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
public XStatMetadata getStatMetadataOrDefault (long key, XStatMetadata defaultValue)
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
public XStatMetadata getStatMetadataOrThrow (long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
public XStat getStats (int index)
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;
public int getStatsCount ()
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;
public List<XStat> getStatsList ()
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;
public XStatOrBuilder getStatsOrBuilder (int index)
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;
public List<? extends XStatOrBuilder> getStatsOrBuilderList ()
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static XPlane parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XPlane parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static XPlane parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static XPlane parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XPlane parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static XPlane parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XPlane parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|