public static final class XEvent.Builder
An XEvent is a trace event, optionally annotated with XStats. Next ID: 6
tensorflow.profiler.XEvent tipo tensorflow.profiler.XEvent Métodos Públicos
| XEvent.Builder | |
| XEvent.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| XEvent.Builder | |
| XEvent.Builder | |
| XEvent.Builder | |
| XEvent.Builder | |
| XStat.Builder | |
| XStat.Builder | addStatsBuilder () XStats associated with the event. |
| XEvent | build () |
| XEvent | buildPartial () |
| XEvent.Builder | limpar () |
| XEvent.Builder | clearData () |
| XEvent.Builder | clearDurationPs () Duration of the event in picoseconds. |
| XEvent.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
| XEvent.Builder | clearMetadataId () XEventMetadata.id of corresponding metadata. |
| XEvent.Builder | clearNumOccurrences () Number of occurrences of the event, if aggregated. |
| XEvent.Builder | clearOffsetPs () Start time of the event in picoseconds, as offset from XLine.timestamp_ns(). |
| XEvent.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
| XEvent.Builder | clearStats () XStats associated with the event. |
| XEvent.Builder | clone () |
| XEvent.DataCase | getDataCase () |
| XEvent | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| com.google.protobuf.Descriptors.Descriptor | |
| longo | getDurationPs () Duration of the event in picoseconds. |
| longo | getMetadataId () XEventMetadata.id of corresponding metadata. |
| longo | getNumOccurrences () Number of occurrences of the event, if aggregated. |
| longo | getOffsetPs () Start time of the event in picoseconds, as offset from XLine.timestamp_ns(). |
| XStat | getStats (índice int) XStats associated with the event. |
| XStat.Builder | |
| List < XStat.Builder > | getStatsBuilderList () XStats associated with the event. |
| int | getStatsCount () XStats associated with the event. |
| Lista < XStat > | getStatsList () XStats associated with the event. |
| XStatOrBuilder | |
| Lista <? estende XStatOrBuilder > | getStatsOrBuilderList () XStats associated with the event. |
| final booleano | |
| XEvent.Builder | mergeFrom (com.google.protobuf.Message other) |
| XEvent.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| XEvent.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
| XEvent.Builder | |
| XEvent.Builder | setDurationPs (valor longo) Duration of the event in picoseconds. |
| XEvent.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
| XEvent.Builder | setMetadataId (valor longo) XEventMetadata.id of corresponding metadata. |
| XEvent.Builder | setNumOccurrences (valor longo) Number of occurrences of the event, if aggregated. |
| XEvent.Builder | setOffsetPs (valor longo) Start time of the event in picoseconds, as offset from XLine.timestamp_ns(). |
| XEvent.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
| XEvent.Builder | |
| XEvent.Builder | |
| XEvent.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public XEvent.Builder addAllStats (Iterable <? extends XStat > values)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4; public XEvent.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public XEvent.Builder addStats (valor XStat )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder addStats ( XStat.Builder builderForValue)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder addStats (índice int, valor XStat )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder addStats (int index, XStat.Builder builderForValue)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XStat.Builder addStatsBuilder (índice interno )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XStat.Builder addStatsBuilder ()
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder clearDurationPs ()
Duration of the event in picoseconds. Can be zero for an instant event.
int64 duration_ps = 3;public XEvent.Builder clearMetadataId ()
XEventMetadata.id of corresponding metadata.
int64 metadata_id = 1;public XEvent.Builder clearNumOccurrences ()
Number of occurrences of the event, if aggregated.
int64 num_occurrences = 5;public XEvent.Builder clearOffsetPs ()
Start time of the event in picoseconds, as offset from XLine.timestamp_ns().
int64 offset_ps = 2;public XEvent.Builder clearStats ()
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 XStat getStats (índice int)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XStat.Builder getStatsBuilder (índice interno )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public List < XStat.Builder > getStatsBuilderList ()
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 (índice interno )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;Lista pública <? estende 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 boolean isInitialized ()
public XEvent.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
| IOException |
|---|
public XEvent.Builder removeStats (índice int)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder setDurationPs (valor longo)
Duration of the event in picoseconds. Can be zero for an instant event.
int64 duration_ps = 3; public XEvent.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public XEvent.Builder setMetadataId (valor longo)
XEventMetadata.id of corresponding metadata.
int64 metadata_id = 1;public XEvent.Builder setNumOccurrences (valor longo)
Number of occurrences of the event, if aggregated.
int64 num_occurrences = 5;public XEvent.Builder setOffsetPs (valor longo)
Start time of the event in picoseconds, as offset from XLine.timestamp_ns().
int64 offset_ps = 2; public XEvent.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public XEvent.Builder setStats (int index, XStat.Builder builderForValue)
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;public XEvent.Builder setStats (índice int, valor XStat )
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;