Have a question? Connect with the community at the TensorFlow Forum Visit Forum

XEvent.Builder

public static final class XEvent.Builder

 An XEvent is a trace event, optionally annotated with XStats.
 Next ID: 6
 
Protobuf type tensorflow.profiler.XEvent

Public Methods

XEvent.Builder
addAllStats (Iterable<? extends XStat > values)
 XStats associated with the event.
XEvent.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XEvent.Builder
addStats ( XStat value)
 XStats associated with the event.
XEvent.Builder
addStats ( XStat.Builder builderForValue)
 XStats associated with the event.
XEvent.Builder
addStats (int index, XStat value)
 XStats associated with the event.
XEvent.Builder
addStats (int index, XStat.Builder builderForValue)
 XStats associated with the event.
XStat.Builder
addStatsBuilder (int index)
 XStats associated with the event.
XStat.Builder
addStatsBuilder ()
 XStats associated with the event.
XEvent
XEvent
XEvent.Builder
XEvent.Builder
XEvent.Builder
clearDurationPs ()
 Duration of the event in picoseconds.
XEvent.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
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
XEvent.DataCase
XEvent
final static com.google.protobuf.Descriptors.Descriptor
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().
XStat
getStats (int index)
 XStats associated with the event.
XStat.Builder
getStatsBuilder (int index)
 XStats associated with the event.
List< XStat.Builder >
getStatsBuilderList ()
 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 boolean
XEvent.Builder
mergeFrom (com.google.protobuf.Message other)
XEvent.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final XEvent.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
XEvent.Builder
removeStats (int index)
 XStats associated with the event.
XEvent.Builder
setDurationPs (long value)
 Duration of the event in picoseconds.
XEvent.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XEvent.Builder
setMetadataId (long value)
 XEventMetadata.id of corresponding metadata.
XEvent.Builder
setNumOccurrences (long value)
 Number of occurrences of the event, if aggregated.
XEvent.Builder
setOffsetPs (long value)
 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
XEvent.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
XEvent.Builder
setStats (int index, XStat.Builder builderForValue)
 XStats associated with the event.
XEvent.Builder
setStats (int index, XStat value)
 XStats associated with the event.
final XEvent.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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 (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public XEvent.Builder addStats ( XStat value)

 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 (int index, XStat value)

 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 (int index)

 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 build ()

public XEvent buildPartial ()

public XEvent.Builder clear ()

public XEvent.Builder clearData ()

public XEvent.Builder clearDurationPs ()

 Duration of the event in picoseconds. Can be zero for an instant event.
 
int64 duration_ps = 3;

public XEvent.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

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;