public final class
XEvent
An XEvent is a trace event, optionally annotated with XStats. Next ID: 6
tensorflow.profiler.XEvent
Nested Classes
class | XEvent.Builder | An XEvent is a trace event, optionally annotated with XStats. |
|
enum | XEvent.DataCase |
Constants
int | DURATION_PS_FIELD_NUMBER | |
int | METADATA_ID_FIELD_NUMBER | |
int | NUM_OCCURRENCES_FIELD_NUMBER | |
int | OFFSET_PS_FIELD_NUMBER | |
int | STATS_FIELD_NUMBER |
Public Methods
boolean |
equals(Object obj)
|
XEvent.DataCase | |
static XEvent | |
XEvent | |
final static com.google.protobuf.Descriptors.Descriptor | |
long |
getDurationPs()
Duration of the event in picoseconds. |
long |
getMetadataId()
XEventMetadata.id of corresponding metadata. |
long |
getNumOccurrences()
Number of occurrences of the event, if aggregated. |
long |
getOffsetPs()
Start time of the event in picoseconds, as offset from XLine.timestamp_ns(). |
|
|
int | |
XStat |
getStats(int index)
XStats associated with the event. |
int |
getStatsCount()
XStats associated with the event. |
List<XStat> |
getStatsList()
XStats associated with the event. |
XStatOrBuilder |
getStatsOrBuilder(int index)
XStats associated with the event. |
List<? extends XStatOrBuilder> |
getStatsOrBuilderList()
XStats associated with the event. |
final com.google.protobuf.UnknownFieldSet | |
int |
hashCode()
|
final boolean | |
static XEvent.Builder |
newBuilder(XEvent prototype)
|
static XEvent.Builder | |
XEvent.Builder | |
static XEvent |
parseDelimitedFrom(InputStream input)
|
static XEvent |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XEvent |
parseFrom(ByteBuffer data)
|
static XEvent |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XEvent |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XEvent |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static XEvent |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XEvent |
parseFrom(com.google.protobuf.ByteString data)
|
static XEvent |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static XEvent |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
XEvent.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int DURATION_PS_FIELD_NUMBER
Constant Value:
3
public static final int METADATA_ID_FIELD_NUMBER
Constant Value:
1
public static final int NUM_OCCURRENCES_FIELD_NUMBER
Constant Value:
5
public static final int OFFSET_PS_FIELD_NUMBER
Constant Value:
2
public static final int STATS_FIELD_NUMBER
Constant Value:
4
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public long getDurationPs ()
Duration of the event in picoseconds. Can be zero for an instant event.
int64 duration_ps = 3;
public long getMetadataId ()
XEventMetadata.id of corresponding metadata.
int64 metadata_id = 1;
public long getNumOccurrences ()
Number of occurrences of the event, if aggregated.
int64 num_occurrences = 5;
public long getOffsetPs ()
Start time of the event in picoseconds, as offset from XLine.timestamp_ns().
int64 offset_ps = 2;
public
getParserForType
()
public int getSerializedSize ()
public XStat getStats (int index)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
public int getStatsCount ()
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
public List<XStat> getStatsList ()
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
public XStatOrBuilder getStatsOrBuilder (int index)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
public List<? extends XStatOrBuilder> getStatsOrBuilderList ()
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static XEvent parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XEvent parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XEvent parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static XEvent parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static XEvent parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static XEvent parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static XEvent 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 |
---|