classe finale publique XEvent
An XEvent is a trace event, optionally annotated with XStats. Next ID: 6
tensorflow.profiler.XEvent
de type Protobuf Classes imbriquées
classe | XEvent.Builder | An XEvent is a trace event, optionally annotated with XStats. | |
énumération | XEvent.DataCase |
Constantes
int | DURATION_PS_FIELD_NUMBER | |
int | METADATA_ID_FIELD_NUMBER | |
int | NUM_OCCURRENCES_FIELD_NUMBER | |
int | OFFSET_PS_FIELD_NUMBER | |
int | STATS_FIELD_NUMBER |
Méthodes publiques
booléen | est égal à (Obj objet) |
XEvent.DataCase | getDataCase () |
XEvent statique | |
XÉvénement | |
final statique 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 (index entier) XStats associated with the event. |
int | getStatsCount () XStats associated with the event. |
Liste< XStat > | getStatsList () XStats associated with the event. |
XStatOrBuilder | getStatsOrBuilder (index int) XStats associated with the event. |
Liste<? étend XStatOrBuilder > | getStatsOrBuilderList () XStats associated with the event. |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
XEvent.Builder statique | newBuilder (prototype XEvent ) |
XEvent.Builder statique | |
XEvent.Builder | |
XEvent statique | parseDelimitedFrom (entrée InputStream) |
XEvent statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XEvent statique | parseFrom (données ByteBuffer) |
XEvent statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XEvent statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XEvent statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
XEvent statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XEvent statique | parseFrom (données com.google.protobuf.ByteString) |
XEvent statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
XEvent statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
XEvent.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int DURATION_PS_FIELD_NUMBER
Valeur constante : 3
public statique final int METADATA_ID_FIELD_NUMBER
Valeur constante : 1
public static final int NUM_OCCURRENCES_FIELD_NUMBER
Valeur constante : 5
public statique final int OFFSET_PS_FIELD_NUMBER
Valeur constante : 2
public statique final entier STATS_FIELD_NUMBER
Valeur constante : 4
Méthodes publiques
public booléen égal (Objet obj)
public statique 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;
publique getParserForType ()
public int getSerializedSize ()
public XStat getStats (index int)
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;
Liste publique < 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 (index int)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;
Liste publique <? étend 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 ()
code de hachage int public ()
public final booléen isInitialized ()
public static XEvent parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static XEvent parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static XEvent parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public static XEvent parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique XEvent parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public static XEvent parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public static XEvent parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|