Class NodeExecStats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.framework.NodeExecStats
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, NodeExecStatsOrBuilder

public final class NodeExecStats extends com.google.protobuf.GeneratedMessageV3 implements NodeExecStatsOrBuilder
 Time/size stats recorded for a single execution of a graph node.
 
Protobuf type tensorflow.NodeExecStats
See Also:
  • Field Details

    • NODE_NAME_FIELD_NUMBER

      public static final int NODE_NAME_FIELD_NUMBER
      See Also:
    • ALL_START_MICROS_FIELD_NUMBER

      public static final int ALL_START_MICROS_FIELD_NUMBER
      See Also:
    • OP_START_REL_MICROS_FIELD_NUMBER

      public static final int OP_START_REL_MICROS_FIELD_NUMBER
      See Also:
    • OP_END_REL_MICROS_FIELD_NUMBER

      public static final int OP_END_REL_MICROS_FIELD_NUMBER
      See Also:
    • ALL_END_REL_MICROS_FIELD_NUMBER

      public static final int ALL_END_REL_MICROS_FIELD_NUMBER
      See Also:
    • MEMORY_FIELD_NUMBER

      public static final int MEMORY_FIELD_NUMBER
      See Also:
    • OUTPUT_FIELD_NUMBER

      public static final int OUTPUT_FIELD_NUMBER
      See Also:
    • TIMELINE_LABEL_FIELD_NUMBER

      public static final int TIMELINE_LABEL_FIELD_NUMBER
      See Also:
    • SCHEDULED_MICROS_FIELD_NUMBER

      public static final int SCHEDULED_MICROS_FIELD_NUMBER
      See Also:
    • THREAD_ID_FIELD_NUMBER

      public static final int THREAD_ID_FIELD_NUMBER
      See Also:
    • REFERENCED_TENSOR_FIELD_NUMBER

      public static final int REFERENCED_TENSOR_FIELD_NUMBER
      See Also:
    • MEMORY_STATS_FIELD_NUMBER

      public static final int MEMORY_STATS_FIELD_NUMBER
      See Also:
    • ALL_START_NANOS_FIELD_NUMBER

      public static final int ALL_START_NANOS_FIELD_NUMBER
      See Also:
    • OP_START_REL_NANOS_FIELD_NUMBER

      public static final int OP_START_REL_NANOS_FIELD_NUMBER
      See Also:
    • OP_END_REL_NANOS_FIELD_NUMBER

      public static final int OP_END_REL_NANOS_FIELD_NUMBER
      See Also:
    • ALL_END_REL_NANOS_FIELD_NUMBER

      public static final int ALL_END_REL_NANOS_FIELD_NUMBER
      See Also:
    • SCHEDULED_NANOS_FIELD_NUMBER

      public static final int SCHEDULED_NANOS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getNodeName

      public String getNodeName()
       TODO(tucker): Use some more compact form of node identity than
       the full string name.  Either all processes should agree on a
       global id (cost_id?) for each node, or we should use a hash of
       the name.
       
      string node_name = 1;
      Specified by:
      getNodeName in interface NodeExecStatsOrBuilder
      Returns:
      The nodeName.
    • getNodeNameBytes

      public com.google.protobuf.ByteString getNodeNameBytes()
       TODO(tucker): Use some more compact form of node identity than
       the full string name.  Either all processes should agree on a
       global id (cost_id?) for each node, or we should use a hash of
       the name.
       
      string node_name = 1;
      Specified by:
      getNodeNameBytes in interface NodeExecStatsOrBuilder
      Returns:
      The bytes for nodeName.
    • getAllStartMicros

      public long getAllStartMicros()
      int64 all_start_micros = 2;
      Specified by:
      getAllStartMicros in interface NodeExecStatsOrBuilder
      Returns:
      The allStartMicros.
    • getOpStartRelMicros

      public long getOpStartRelMicros()
      int64 op_start_rel_micros = 3;
      Specified by:
      getOpStartRelMicros in interface NodeExecStatsOrBuilder
      Returns:
      The opStartRelMicros.
    • getOpEndRelMicros

      public long getOpEndRelMicros()
      int64 op_end_rel_micros = 4;
      Specified by:
      getOpEndRelMicros in interface NodeExecStatsOrBuilder
      Returns:
      The opEndRelMicros.
    • getAllEndRelMicros

      public long getAllEndRelMicros()
      int64 all_end_rel_micros = 5;
      Specified by:
      getAllEndRelMicros in interface NodeExecStatsOrBuilder
      Returns:
      The allEndRelMicros.
    • getMemoryList

      public List<AllocatorMemoryUsed> getMemoryList()
      repeated .tensorflow.AllocatorMemoryUsed memory = 6;
      Specified by:
      getMemoryList in interface NodeExecStatsOrBuilder
    • getMemoryOrBuilderList

      public List<? extends AllocatorMemoryUsedOrBuilder> getMemoryOrBuilderList()
      repeated .tensorflow.AllocatorMemoryUsed memory = 6;
      Specified by:
      getMemoryOrBuilderList in interface NodeExecStatsOrBuilder
    • getMemoryCount

      public int getMemoryCount()
      repeated .tensorflow.AllocatorMemoryUsed memory = 6;
      Specified by:
      getMemoryCount in interface NodeExecStatsOrBuilder
    • getMemory

      public AllocatorMemoryUsed getMemory(int index)
      repeated .tensorflow.AllocatorMemoryUsed memory = 6;
      Specified by:
      getMemory in interface NodeExecStatsOrBuilder
    • getMemoryOrBuilder

      public AllocatorMemoryUsedOrBuilder getMemoryOrBuilder(int index)
      repeated .tensorflow.AllocatorMemoryUsed memory = 6;
      Specified by:
      getMemoryOrBuilder in interface NodeExecStatsOrBuilder
    • getOutputList

      public List<NodeOutput> getOutputList()
      repeated .tensorflow.NodeOutput output = 7;
      Specified by:
      getOutputList in interface NodeExecStatsOrBuilder
    • getOutputOrBuilderList

      public List<? extends NodeOutputOrBuilder> getOutputOrBuilderList()
      repeated .tensorflow.NodeOutput output = 7;
      Specified by:
      getOutputOrBuilderList in interface NodeExecStatsOrBuilder
    • getOutputCount

      public int getOutputCount()
      repeated .tensorflow.NodeOutput output = 7;
      Specified by:
      getOutputCount in interface NodeExecStatsOrBuilder
    • getOutput

      public NodeOutput getOutput(int index)
      repeated .tensorflow.NodeOutput output = 7;
      Specified by:
      getOutput in interface NodeExecStatsOrBuilder
    • getOutputOrBuilder

      public NodeOutputOrBuilder getOutputOrBuilder(int index)
      repeated .tensorflow.NodeOutput output = 7;
      Specified by:
      getOutputOrBuilder in interface NodeExecStatsOrBuilder
    • getTimelineLabel

      public String getTimelineLabel()
      string timeline_label = 8;
      Specified by:
      getTimelineLabel in interface NodeExecStatsOrBuilder
      Returns:
      The timelineLabel.
    • getTimelineLabelBytes

      public com.google.protobuf.ByteString getTimelineLabelBytes()
      string timeline_label = 8;
      Specified by:
      getTimelineLabelBytes in interface NodeExecStatsOrBuilder
      Returns:
      The bytes for timelineLabel.
    • getScheduledMicros

      public long getScheduledMicros()
      int64 scheduled_micros = 9;
      Specified by:
      getScheduledMicros in interface NodeExecStatsOrBuilder
      Returns:
      The scheduledMicros.
    • getThreadId

      public int getThreadId()
      uint32 thread_id = 10;
      Specified by:
      getThreadId in interface NodeExecStatsOrBuilder
      Returns:
      The threadId.
    • getReferencedTensorList

      public List<AllocationDescription> getReferencedTensorList()
      repeated .tensorflow.AllocationDescription referenced_tensor = 11;
      Specified by:
      getReferencedTensorList in interface NodeExecStatsOrBuilder
    • getReferencedTensorOrBuilderList

      public List<? extends AllocationDescriptionOrBuilder> getReferencedTensorOrBuilderList()
      repeated .tensorflow.AllocationDescription referenced_tensor = 11;
      Specified by:
      getReferencedTensorOrBuilderList in interface NodeExecStatsOrBuilder
    • getReferencedTensorCount

      public int getReferencedTensorCount()
      repeated .tensorflow.AllocationDescription referenced_tensor = 11;
      Specified by:
      getReferencedTensorCount in interface NodeExecStatsOrBuilder
    • getReferencedTensor

      public AllocationDescription getReferencedTensor(int index)
      repeated .tensorflow.AllocationDescription referenced_tensor = 11;
      Specified by:
      getReferencedTensor in interface NodeExecStatsOrBuilder
    • getReferencedTensorOrBuilder

      public AllocationDescriptionOrBuilder getReferencedTensorOrBuilder(int index)
      repeated .tensorflow.AllocationDescription referenced_tensor = 11;
      Specified by:
      getReferencedTensorOrBuilder in interface NodeExecStatsOrBuilder
    • hasMemoryStats

      public boolean hasMemoryStats()
      .tensorflow.MemoryStats memory_stats = 12;
      Specified by:
      hasMemoryStats in interface NodeExecStatsOrBuilder
      Returns:
      Whether the memoryStats field is set.
    • getMemoryStats

      public MemoryStats getMemoryStats()
      .tensorflow.MemoryStats memory_stats = 12;
      Specified by:
      getMemoryStats in interface NodeExecStatsOrBuilder
      Returns:
      The memoryStats.
    • getMemoryStatsOrBuilder

      public MemoryStatsOrBuilder getMemoryStatsOrBuilder()
      .tensorflow.MemoryStats memory_stats = 12;
      Specified by:
      getMemoryStatsOrBuilder in interface NodeExecStatsOrBuilder
    • getAllStartNanos

      public long getAllStartNanos()
      int64 all_start_nanos = 13;
      Specified by:
      getAllStartNanos in interface NodeExecStatsOrBuilder
      Returns:
      The allStartNanos.
    • getOpStartRelNanos

      public long getOpStartRelNanos()
      int64 op_start_rel_nanos = 14;
      Specified by:
      getOpStartRelNanos in interface NodeExecStatsOrBuilder
      Returns:
      The opStartRelNanos.
    • getOpEndRelNanos

      public long getOpEndRelNanos()
      int64 op_end_rel_nanos = 15;
      Specified by:
      getOpEndRelNanos in interface NodeExecStatsOrBuilder
      Returns:
      The opEndRelNanos.
    • getAllEndRelNanos

      public long getAllEndRelNanos()
      int64 all_end_rel_nanos = 16;
      Specified by:
      getAllEndRelNanos in interface NodeExecStatsOrBuilder
      Returns:
      The allEndRelNanos.
    • getScheduledNanos

      public long getScheduledNanos()
      int64 scheduled_nanos = 17;
      Specified by:
      getScheduledNanos in interface NodeExecStatsOrBuilder
      Returns:
      The scheduledNanos.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NodeExecStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NodeExecStats parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeExecStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeExecStats parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NodeExecStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeExecStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NodeExecStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public NodeExecStats.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static NodeExecStats.Builder newBuilder()
    • newBuilder

      public static NodeExecStats.Builder newBuilder(NodeExecStats prototype)
    • toBuilder

      public NodeExecStats.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected NodeExecStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static NodeExecStats getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NodeExecStats> parser()
    • getParserForType

      public com.google.protobuf.Parser<NodeExecStats> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public NodeExecStats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder