public final class
XLine
An XLine is a timeline of trace events (XEvents). Next ID: 12
tensorflow.profiler.XLine
Nested Classes
| class | XLine.Builder | An XLine is a timeline of trace events (XEvents). |
|
Constants
| int | DISPLAY_ID_FIELD_NUMBER | |
| int | DISPLAY_NAME_FIELD_NUMBER | |
| int | DURATION_PS_FIELD_NUMBER | |
| int | EVENTS_FIELD_NUMBER | |
| int | ID_FIELD_NUMBER | |
| int | NAME_FIELD_NUMBER | |
| int | TIMESTAMP_NS_FIELD_NUMBER |
Public Methods
| boolean |
equals(Object obj)
|
| static XLine | |
| XLine | |
| final static com.google.protobuf.Descriptors.Descriptor | |
| long |
getDisplayId()
Display id of this line. |
| String |
getDisplayName()
Name of this XLine to display in trace viewer. |
| com.google.protobuf.ByteString |
getDisplayNameBytes()
Name of this XLine to display in trace viewer. |
| long |
getDurationPs()
Profiling duration for this line in picoseconds. |
| XEvent |
getEvents(int index)
XEvents within the same XLine should not overlap in time, but they can be nested. |
| int |
getEventsCount()
XEvents within the same XLine should not overlap in time, but they can be nested. |
| List<XEvent> |
getEventsList()
XEvents within the same XLine should not overlap in time, but they can be nested. |
| XEventOrBuilder |
getEventsOrBuilder(int index)
XEvents within the same XLine should not overlap in time, but they can be nested. |
| List<? extends XEventOrBuilder> |
getEventsOrBuilderList()
XEvents within the same XLine should not overlap in time, but they can be nested. |
| long |
getId()
Id of this line, can be repeated within an XPlane. |
| String |
getName()
Name of this XLine. |
| com.google.protobuf.ByteString |
getNameBytes()
Name of this XLine. |
|
|
|
| int | |
| long |
getTimestampNs()
Start time of this line in nanoseconds since the UNIX epoch. |
| final com.google.protobuf.UnknownFieldSet | |
| int |
hashCode()
|
| final boolean | |
| static XLine.Builder |
newBuilder(XLine prototype)
|
| static XLine.Builder | |
| XLine.Builder | |
| static XLine |
parseDelimitedFrom(InputStream input)
|
| static XLine |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static XLine |
parseFrom(ByteBuffer data)
|
| static XLine |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static XLine |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static XLine |
parseFrom(com.google.protobuf.CodedInputStream input)
|
| static XLine |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static XLine |
parseFrom(com.google.protobuf.ByteString data)
|
| static XLine |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
| static XLine |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
static
|
parser()
|
| XLine.Builder | |
| void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int DISPLAY_ID_FIELD_NUMBER
Constant Value:
10
public static final int DISPLAY_NAME_FIELD_NUMBER
Constant Value:
11
public static final int DURATION_PS_FIELD_NUMBER
Constant Value:
9
public static final int EVENTS_FIELD_NUMBER
Constant Value:
4
public static final int ID_FIELD_NUMBER
Constant Value:
1
public static final int NAME_FIELD_NUMBER
Constant Value:
2
public static final int TIMESTAMP_NS_FIELD_NUMBER
Constant Value:
3
Public Methods
public boolean equals (Object obj)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public long getDisplayId ()
Display id of this line. Multiple lines with the same display_id are grouped together in the same trace viewer row.
int64 display_id = 10;
public String getDisplayName ()
Name of this XLine to display in trace viewer.
string display_name = 11;
public com.google.protobuf.ByteString getDisplayNameBytes ()
Name of this XLine to display in trace viewer.
string display_name = 11;
public long getDurationPs ()
Profiling duration for this line in picoseconds.
int64 duration_ps = 9;
public XEvent getEvents (int index)
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;
public int getEventsCount ()
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;
public List<XEvent> getEventsList ()
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;
public XEventOrBuilder getEventsOrBuilder (int index)
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;
public List<? extends XEventOrBuilder> getEventsOrBuilderList ()
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;
public long getId ()
Id of this line, can be repeated within an XPlane. All XLines with the same id are effectively the same timeline.
int64 id = 1;
public String getName ()
Name of this XLine.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
Name of this XLine.
string name = 2;
public
getParserForType
()
public int getSerializedSize ()
public long getTimestampNs ()
Start time of this line in nanoseconds since the UNIX epoch. XEvent.offset_ps is relative to this timestamp.
int64 timestamp_ns = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final boolean isInitialized ()
public static XLine parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static XLine parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static XLine parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static XLine parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| InvalidProtocolBufferException |
|---|
public static XLine parseFrom (com.google.protobuf.ByteString data)
Throws
| InvalidProtocolBufferException |
|---|
public static XLine parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
| IOException |
|---|
public static XLine 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 |
|---|