ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

XEventOrBuilder

public interface XEventOrBuilder
Known Indirect Subclasses

Public Methods

abstract XEvent.DataCase
abstract long
getDurationPs ()
 Duration of the event in picoseconds.
abstract long
getMetadataId ()
 XEventMetadata.id of corresponding metadata.
abstract long
getNumOccurrences ()
 Number of occurrences of the event, if aggregated.
abstract long
getOffsetPs ()
 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
abstract XStat
getStats (int index)
 XStats associated with the event.
abstract int
getStatsCount ()
 XStats associated with the event.
abstract List< XStat >
getStatsList ()
 XStats associated with the event.
abstract XStatOrBuilder
getStatsOrBuilder (int index)
 XStats associated with the event.
abstract List<? extends XStatOrBuilder >
getStatsOrBuilderList ()
 XStats associated with the event.

Public Methods

public abstract XEvent.DataCase getDataCase ()

public abstract long getDurationPs ()

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

public abstract long getMetadataId ()

 XEventMetadata.id of corresponding metadata.
 
int64 metadata_id = 1;

public abstract long getNumOccurrences ()

 Number of occurrences of the event, if aggregated.
 
int64 num_occurrences = 5;

public abstract long getOffsetPs ()

 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
 
int64 offset_ps = 2;

public abstract 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 abstract int getStatsCount ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public abstract 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 abstract 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 abstract 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;