XLineOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
XLine |
An XLine is a timeline of trace events (XEvents). |
XLine.Builder |
An XLine is a timeline of trace events (XEvents). |
|
Public Methods
abstract
long
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
long
|
|
abstract
XEvent
|
getEvents(int index)
XEvents within the same XLine should not overlap in time, but they can be
nested.
|
abstract
int
|
getEventsCount()
XEvents within the same XLine should not overlap in time, but they can be
nested.
|
abstract
List<XEvent>
|
getEventsList()
XEvents within the same XLine should not overlap in time, but they can be
nested.
|
abstract
XEventOrBuilder
|
getEventsOrBuilder(int index)
XEvents within the same XLine should not overlap in time, but they can be
nested.
|
abstract
List<? extends XEventOrBuilder>
|
|
abstract
long
|
getId()
Id of this line, can be repeated within an XPlane.
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
long
|
getTimestampNs()
Start time of this line in nanoseconds since the UNIX epoch.
|
Public Methods
public
abstract
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
abstract
String
getDisplayName
()
Name of this XLine to display in trace viewer.
string display_name = 11;
public
abstract
com.google.protobuf.ByteString
getDisplayNameBytes
()
Name of this XLine to display in trace viewer.
string display_name = 11;
public
abstract
long
getDurationPs
()
Profiling duration for this line in picoseconds.
int64 duration_ps = 9;
public
abstract
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
abstract
int
getEventsCount
()
XEvents within the same XLine should not overlap in time, but they can be
nested.
repeated .tensorflow.profiler.XEvent events = 4;
public
abstract
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
abstract
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
abstract
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
abstract
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
abstract
String
getName
()
Name of this XLine.
string name = 2;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Name of this XLine.
string name = 2;
public
abstract
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# XLineOrBuilder\n\npublic interface **XLineOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [XLine](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLine), [XLine.Builder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLine.Builder) |---------------------------------------------------------------------------------|------------------------------------------------------------| | [XLine](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLine) | ``` An XLine is a timeline of trace events (XEvents). ``` | | [XLine.Builder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLine.Builder) | ``` An XLine is a timeline of trace events (XEvents). ``` | |||\n\n### Public Methods\n\n|----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract long | [getDisplayId](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getDisplayId())() ``` Display id of this line. ``` |\n| abstract String | [getDisplayName](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getDisplayName())() ``` Name of this XLine to display in trace viewer. ``` |\n| abstract com.google.protobuf.ByteString | [getDisplayNameBytes](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getDisplayNameBytes())() ``` Name of this XLine to display in trace viewer. ``` |\n| abstract long | [getDurationPs](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getDurationPs())() ``` Profiling duration for this line in picoseconds. ``` |\n| abstract [XEvent](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEvent) | [getEvents](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getEvents(int))(int index) ``` XEvents within the same XLine should not overlap in time, but they can be nested. ``` |\n| abstract int | [getEventsCount](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getEventsCount())() ``` XEvents within the same XLine should not overlap in time, but they can be nested. ``` |\n| abstract List\\\u003c[XEvent](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEvent)\\\u003e | [getEventsList](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getEventsList())() ``` XEvents within the same XLine should not overlap in time, but they can be nested. ``` |\n| abstract [XEventOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventOrBuilder) | [getEventsOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getEventsOrBuilder(int))(int index) ``` XEvents within the same XLine should not overlap in time, but they can be nested. ``` |\n| abstract List\\\u003c? extends [XEventOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventOrBuilder)\\\u003e | [getEventsOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getEventsOrBuilderList())() ``` XEvents within the same XLine should not overlap in time, but they can be nested. ``` |\n| abstract long | [getId](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getId())() ``` Id of this line, can be repeated within an XPlane. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getName())() ``` Name of this XLine. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getNameBytes())() ``` Name of this XLine. ``` |\n| abstract long | [getTimestampNs](/jvm/api_docs/java/org/tensorflow/proto/profiler/XLineOrBuilder#getTimestampNs())() ``` Start time of this line in nanoseconds since the UNIX epoch. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract long\n**getDisplayId**\n()\n\n\u003cbr /\u003e\n\n```\n Display id of this line. Multiple lines with the same display_id are\n grouped together in the same trace viewer row.\n \n```\n`int64 display_id = 10;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getDisplayName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of this XLine to display in trace viewer.\n \n```\n`string display_name = 11;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDisplayNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of this XLine to display in trace viewer.\n \n```\n`string display_name = 11;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getDurationPs**\n()\n\n\u003cbr /\u003e\n\n```\n Profiling duration for this line in picoseconds.\n \n```\n`int64 duration_ps = 9;`\n\n\u003cbr /\u003e\n\n#### public abstract [XEvent](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEvent)\n**getEvents**\n(int index)\n\n\u003cbr /\u003e\n\n```\n XEvents within the same XLine should not overlap in time, but they can be\n nested.\n \n```\n`repeated .tensorflow.profiler.XEvent events = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getEventsCount**\n()\n\n\u003cbr /\u003e\n\n```\n XEvents within the same XLine should not overlap in time, but they can be\n nested.\n \n```\n`repeated .tensorflow.profiler.XEvent events = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[XEvent](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEvent)\\\u003e\n**getEventsList**\n()\n\n\u003cbr /\u003e\n\n```\n XEvents within the same XLine should not overlap in time, but they can be\n nested.\n \n```\n`repeated .tensorflow.profiler.XEvent events = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract [XEventOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventOrBuilder)\n**getEventsOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n XEvents within the same XLine should not overlap in time, but they can be\n nested.\n \n```\n`repeated .tensorflow.profiler.XEvent events = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [XEventOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventOrBuilder)\\\u003e\n**getEventsOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n XEvents within the same XLine should not overlap in time, but they can be\n nested.\n \n```\n`repeated .tensorflow.profiler.XEvent events = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getId**\n()\n\n\u003cbr /\u003e\n\n```\n Id of this line, can be repeated within an XPlane. All XLines with the\n same id are effectively the same timeline.\n \n```\n`int64 id = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of this XLine.\n \n```\n`string name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of this XLine.\n \n```\n`string name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getTimestampNs**\n()\n\n\u003cbr /\u003e\n\n```\n Start time of this line in nanoseconds since the UNIX epoch.\n XEvent.offset_ps is relative to this timestamp.\n \n```\n`int64 timestamp_ns = 3;`\n\n\u003cbr /\u003e"]]