org.tensorflow.framework.TraceEventOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/protobuf/trace_events.proto
package org.tensorflow.framework;
public interface TraceEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:tensorflow.profiler.TraceEvent)
com.google.protobuf.MessageOrBuilder {
/**
*
* The id of the device that this event occurred on. The full dataset should
* have this device present in the Trace object.
*
*
* uint32 device_id = 1;
*/
int getDeviceId();
/**
*
* The id of the resource that this event occurred on. The full dataset should
* have this resource present in the Device object of the Trace object. A
* resource_id is unique on a specific device, but not necessarily within the
* trace.
*
*
* uint32 resource_id = 2;
*/
int getResourceId();
/**
*
* The name of this trace event.
*
*
* string name = 3;
*/
java.lang.String getName();
/**
*
* The name of this trace event.
*
*
* string name = 3;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The timestamp that this event occurred at (in picos since tracing started).
*
*
* uint64 timestamp_ps = 9;
*/
long getTimestampPs();
/**
*
* The duration of the event in picoseconds if applicable.
* Events without duration are called instant events.
*
*
* uint64 duration_ps = 10;
*/
long getDurationPs();
/**
*
* Extra arguments that will be displayed in trace view.
*
*
* map<string, string> args = 11;
*/
int getArgsCount();
/**
*
* Extra arguments that will be displayed in trace view.
*
*
* map<string, string> args = 11;
*/
boolean containsArgs(
java.lang.String key);
/**
* Use {@link #getArgsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getArgs();
/**
*
* Extra arguments that will be displayed in trace view.
*
*
* map<string, string> args = 11;
*/
java.util.Map
getArgsMap();
/**
*
* Extra arguments that will be displayed in trace view.
*
*
* map<string, string> args = 11;
*/
java.lang.String getArgsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* Extra arguments that will be displayed in trace view.
*
*
* map<string, string> args = 11;
*/
java.lang.String getArgsOrThrow(
java.lang.String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy