Documentation ¶
Index ¶
- Variables
- type ProfileOptions
- func (*ProfileOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileOptions) GetDeviceTracerLevel() uint32
- func (x *ProfileOptions) GetDeviceType() ProfileOptions_DeviceType
- func (x *ProfileOptions) GetDurationMs() uint64
- func (x *ProfileOptions) GetEnableHloProto() bool
- func (x *ProfileOptions) GetHostTracerLevel() uint32
- func (x *ProfileOptions) GetIncludeDatasetOps() bool
- func (x *ProfileOptions) GetPythonTracerLevel() uint32
- func (x *ProfileOptions) GetRepositoryPath() string
- func (x *ProfileOptions) GetStartTimestampNs() uint64
- func (x *ProfileOptions) GetVersion() uint32
- func (*ProfileOptions) ProtoMessage()
- func (x *ProfileOptions) ProtoReflect() protoreflect.Message
- func (x *ProfileOptions) Reset()
- func (x *ProfileOptions) String() string
- type ProfileOptions_DeviceType
- func (ProfileOptions_DeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x ProfileOptions_DeviceType) Enum() *ProfileOptions_DeviceType
- func (ProfileOptions_DeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProfileOptions_DeviceType) Number() protoreflect.EnumNumber
- func (x ProfileOptions_DeviceType) String() string
- func (ProfileOptions_DeviceType) Type() protoreflect.EnumType
- type RemoteProfilerSessionManagerOptions
- func (*RemoteProfilerSessionManagerOptions) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteProfilerSessionManagerOptions) GetDelayMs() uint64
- func (x *RemoteProfilerSessionManagerOptions) GetMaxSessionDurationMs() uint64
- func (x *RemoteProfilerSessionManagerOptions) GetProfilerOptions() *ProfileOptions
- func (x *RemoteProfilerSessionManagerOptions) GetServiceAddresses() []string
- func (x *RemoteProfilerSessionManagerOptions) GetSessionCreationTimestampNs() uint64
- func (*RemoteProfilerSessionManagerOptions) ProtoMessage()
- func (x *RemoteProfilerSessionManagerOptions) ProtoReflect() protoreflect.Message
- func (x *RemoteProfilerSessionManagerOptions) Reset()
- func (x *RemoteProfilerSessionManagerOptions) String() string
- type XEvent
- func (*XEvent) Descriptor() ([]byte, []int)deprecated
- func (m *XEvent) GetData() isXEvent_Data
- func (x *XEvent) GetDurationPs() int64
- func (x *XEvent) GetMetadataId() int64
- func (x *XEvent) GetNumOccurrences() int64
- func (x *XEvent) GetOffsetPs() int64
- func (x *XEvent) GetStats() []*XStat
- func (*XEvent) ProtoMessage()
- func (x *XEvent) ProtoReflect() protoreflect.Message
- func (x *XEvent) Reset()
- func (x *XEvent) String() string
- type XEventMetadata
- func (*XEventMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *XEventMetadata) GetChildId() []int64
- func (x *XEventMetadata) GetDisplayName() string
- func (x *XEventMetadata) GetId() int64
- func (x *XEventMetadata) GetMetadata() []byte
- func (x *XEventMetadata) GetName() string
- func (x *XEventMetadata) GetStats() []*XStat
- func (*XEventMetadata) ProtoMessage()
- func (x *XEventMetadata) ProtoReflect() protoreflect.Message
- func (x *XEventMetadata) Reset()
- func (x *XEventMetadata) String() string
- type XEvent_NumOccurrences
- type XEvent_OffsetPs
- type XLine
- func (*XLine) Descriptor() ([]byte, []int)deprecated
- func (x *XLine) GetDisplayId() int64
- func (x *XLine) GetDisplayName() string
- func (x *XLine) GetDurationPs() int64
- func (x *XLine) GetEvents() []*XEvent
- func (x *XLine) GetId() int64
- func (x *XLine) GetName() string
- func (x *XLine) GetTimestampNs() int64
- func (*XLine) ProtoMessage()
- func (x *XLine) ProtoReflect() protoreflect.Message
- func (x *XLine) Reset()
- func (x *XLine) String() string
- type XPlane
- func (*XPlane) Descriptor() ([]byte, []int)deprecated
- func (x *XPlane) GetEventMetadata() map[int64]*XEventMetadata
- func (x *XPlane) GetId() int64
- func (x *XPlane) GetLines() []*XLine
- func (x *XPlane) GetName() string
- func (x *XPlane) GetStatMetadata() map[int64]*XStatMetadata
- func (x *XPlane) GetStats() []*XStat
- func (*XPlane) ProtoMessage()
- func (x *XPlane) ProtoReflect() protoreflect.Message
- func (x *XPlane) Reset()
- func (x *XPlane) String() string
- type XSpace
- func (*XSpace) Descriptor() ([]byte, []int)deprecated
- func (x *XSpace) GetErrors() []string
- func (x *XSpace) GetHostnames() []string
- func (x *XSpace) GetPlanes() []*XPlane
- func (x *XSpace) GetWarnings() []string
- func (*XSpace) ProtoMessage()
- func (x *XSpace) ProtoReflect() protoreflect.Message
- func (x *XSpace) Reset()
- func (x *XSpace) String() string
- type XStat
- func (*XStat) Descriptor() ([]byte, []int)deprecated
- func (x *XStat) GetBytesValue() []byte
- func (x *XStat) GetDoubleValue() float64
- func (x *XStat) GetInt64Value() int64
- func (x *XStat) GetMetadataId() int64
- func (x *XStat) GetRefValue() uint64
- func (x *XStat) GetStrValue() string
- func (x *XStat) GetUint64Value() uint64
- func (m *XStat) GetValue() isXStat_Value
- func (*XStat) ProtoMessage()
- func (x *XStat) ProtoReflect() protoreflect.Message
- func (x *XStat) Reset()
- func (x *XStat) String() string
- type XStatMetadata
- func (*XStatMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *XStatMetadata) GetDescription() string
- func (x *XStatMetadata) GetId() int64
- func (x *XStatMetadata) GetName() string
- func (*XStatMetadata) ProtoMessage()
- func (x *XStatMetadata) ProtoReflect() protoreflect.Message
- func (x *XStatMetadata) Reset()
- func (x *XStatMetadata) String() string
- type XStat_BytesValue
- type XStat_DoubleValue
- type XStat_Int64Value
- type XStat_RefValue
- type XStat_StrValue
- type XStat_Uint64Value
Constants ¶
This section is empty.
Variables ¶
var ( ProfileOptions_DeviceType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CPU", 2: "GPU", 3: "TPU", 4: "PLUGGABLE_DEVICE", } ProfileOptions_DeviceType_value = map[string]int32{ "UNSPECIFIED": 0, "CPU": 1, "GPU": 2, "TPU": 3, "PLUGGABLE_DEVICE": 4, } )
Enum value maps for ProfileOptions_DeviceType.
var File_tensorflow_tsl_profiler_protobuf_profiler_options_proto protoreflect.FileDescriptor
var File_tensorflow_tsl_profiler_protobuf_xplane_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ProfileOptions ¶
type ProfileOptions struct { // Some default value of option are not proto3 default value. Use this version // to determine if we should use default option value instead of proto3 // default value. Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` // Device type to profile/trace: (version >= 1) // DeviceType::UNSPECIFIED: All registered device profiler will be enabled. // DeviceType::CPU: only CPU will be profiled. // DeviceType::GPU: only CPU/GPU will be profiled. // DeviceType::TPU: only CPU/TPU will be profiled. // DeviceType::PLUGGABLE_DEVICE: only CPU/pluggable devices with profilers // will be profiled. DeviceType ProfileOptions_DeviceType `` /* 134-byte string literal not displayed */ // We don't collect the dataset ops by default for better trace-viewer // scalability. The caller can manually set this field to include the ops. IncludeDatasetOps bool `protobuf:"varint,1,opt,name=include_dataset_ops,json=includeDatasetOps,proto3" json:"include_dataset_ops,omitempty"` // Levels of host tracing: (version >= 1) // - Level 0 is used to disable host traces. // - Level 1 enables tracing of only user instrumented (or default) TraceMe. // - Level 2 enables tracing of all level 1 TraceMe(s) and instrumented high // level program execution details (expensive TF ops, XLA ops, etc). // This is the default. // - Level 3 enables tracing of all level 2 TraceMe(s) and more verbose // (low-level) program execution details (cheap TF ops, etc). HostTracerLevel uint32 `protobuf:"varint,2,opt,name=host_tracer_level,json=hostTracerLevel,proto3" json:"host_tracer_level,omitempty"` // Levels of device tracing: (version >= 1) // - Level 0 is used to disable device traces. // - Level 1 is used to enable device traces. // - More levels might be defined for specific device for controlling the // verbosity of the trace. DeviceTracerLevel uint32 `protobuf:"varint,3,opt,name=device_tracer_level,json=deviceTracerLevel,proto3" json:"device_tracer_level,omitempty"` // Whether enable python function calls tracing. Runtime overhead ensues if // enabled. Default off. (version >= 1) PythonTracerLevel uint32 `protobuf:"varint,4,opt,name=python_tracer_level,json=pythonTracerLevel,proto3" json:"python_tracer_level,omitempty"` // Whether serialize hlo_proto when XLA is used. (version >= 1) EnableHloProto bool `protobuf:"varint,7,opt,name=enable_hlo_proto,json=enableHloProto,proto3" json:"enable_hlo_proto,omitempty"` // The local profiler starts profiling at this Unix timestamp in nanoseconds. StartTimestampNs uint64 `protobuf:"varint,8,opt,name=start_timestamp_ns,json=startTimestampNs,proto3" json:"start_timestamp_ns,omitempty"` // The local profiler collects `duration_ms` milliseconds of data. If the // value is 0, profiling continues until interrupted. DurationMs uint64 `protobuf:"varint,9,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"` // Directory to save profile data to. No-op when empty. RepositoryPath string `protobuf:"bytes,10,opt,name=repository_path,json=repositoryPath,proto3" json:"repository_path,omitempty"` // contains filtered or unexported fields }
Next ID: 11
func (*ProfileOptions) Descriptor
deprecated
func (*ProfileOptions) Descriptor() ([]byte, []int)
Deprecated: Use ProfileOptions.ProtoReflect.Descriptor instead.
func (*ProfileOptions) GetDeviceTracerLevel ¶
func (x *ProfileOptions) GetDeviceTracerLevel() uint32
func (*ProfileOptions) GetDeviceType ¶
func (x *ProfileOptions) GetDeviceType() ProfileOptions_DeviceType
func (*ProfileOptions) GetDurationMs ¶
func (x *ProfileOptions) GetDurationMs() uint64
func (*ProfileOptions) GetEnableHloProto ¶
func (x *ProfileOptions) GetEnableHloProto() bool
func (*ProfileOptions) GetHostTracerLevel ¶
func (x *ProfileOptions) GetHostTracerLevel() uint32
func (*ProfileOptions) GetIncludeDatasetOps ¶
func (x *ProfileOptions) GetIncludeDatasetOps() bool
func (*ProfileOptions) GetPythonTracerLevel ¶
func (x *ProfileOptions) GetPythonTracerLevel() uint32
func (*ProfileOptions) GetRepositoryPath ¶
func (x *ProfileOptions) GetRepositoryPath() string
func (*ProfileOptions) GetStartTimestampNs ¶
func (x *ProfileOptions) GetStartTimestampNs() uint64
func (*ProfileOptions) GetVersion ¶
func (x *ProfileOptions) GetVersion() uint32
func (*ProfileOptions) ProtoMessage ¶
func (*ProfileOptions) ProtoMessage()
func (*ProfileOptions) ProtoReflect ¶
func (x *ProfileOptions) ProtoReflect() protoreflect.Message
func (*ProfileOptions) Reset ¶
func (x *ProfileOptions) Reset()
func (*ProfileOptions) String ¶
func (x *ProfileOptions) String() string
type ProfileOptions_DeviceType ¶
type ProfileOptions_DeviceType int32
const ( ProfileOptions_UNSPECIFIED ProfileOptions_DeviceType = 0 ProfileOptions_CPU ProfileOptions_DeviceType = 1 ProfileOptions_GPU ProfileOptions_DeviceType = 2 ProfileOptions_TPU ProfileOptions_DeviceType = 3 ProfileOptions_PLUGGABLE_DEVICE ProfileOptions_DeviceType = 4 )
func (ProfileOptions_DeviceType) Descriptor ¶
func (ProfileOptions_DeviceType) Descriptor() protoreflect.EnumDescriptor
func (ProfileOptions_DeviceType) Enum ¶
func (x ProfileOptions_DeviceType) Enum() *ProfileOptions_DeviceType
func (ProfileOptions_DeviceType) EnumDescriptor
deprecated
func (ProfileOptions_DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProfileOptions_DeviceType.Descriptor instead.
func (ProfileOptions_DeviceType) Number ¶
func (x ProfileOptions_DeviceType) Number() protoreflect.EnumNumber
func (ProfileOptions_DeviceType) String ¶
func (x ProfileOptions_DeviceType) String() string
func (ProfileOptions_DeviceType) Type ¶
func (ProfileOptions_DeviceType) Type() protoreflect.EnumType
type RemoteProfilerSessionManagerOptions ¶
type RemoteProfilerSessionManagerOptions struct { // Options for each local profiler. ProfilerOptions *ProfileOptions `protobuf:"bytes,1,opt,name=profiler_options,json=profilerOptions,proto3" json:"profiler_options,omitempty"` // List of servers to profile. Supported formats: host:port. ServiceAddresses []string `protobuf:"bytes,2,rep,name=service_addresses,json=serviceAddresses,proto3" json:"service_addresses,omitempty"` // Unix timestamp of when the session was started. SessionCreationTimestampNs uint64 `` /* 144-byte string literal not displayed */ // Maximum time (in milliseconds) a profiling session manager waits for all // profilers to finish after issuing gRPC request. If value is 0, session // continues until interrupted. Otherwise, value must be greater than // profiler_options.duration_ms. MaxSessionDurationMs uint64 `` /* 126-byte string literal not displayed */ // Start of profiling is delayed by this much (in milliseconds). DelayMs uint64 `protobuf:"varint,5,opt,name=delay_ms,json=delayMs,proto3" json:"delay_ms,omitempty"` // contains filtered or unexported fields }
Options for remote profiler session manager. Next ID: 6
func (*RemoteProfilerSessionManagerOptions) Descriptor
deprecated
func (*RemoteProfilerSessionManagerOptions) Descriptor() ([]byte, []int)
Deprecated: Use RemoteProfilerSessionManagerOptions.ProtoReflect.Descriptor instead.
func (*RemoteProfilerSessionManagerOptions) GetDelayMs ¶
func (x *RemoteProfilerSessionManagerOptions) GetDelayMs() uint64
func (*RemoteProfilerSessionManagerOptions) GetMaxSessionDurationMs ¶
func (x *RemoteProfilerSessionManagerOptions) GetMaxSessionDurationMs() uint64
func (*RemoteProfilerSessionManagerOptions) GetProfilerOptions ¶
func (x *RemoteProfilerSessionManagerOptions) GetProfilerOptions() *ProfileOptions
func (*RemoteProfilerSessionManagerOptions) GetServiceAddresses ¶
func (x *RemoteProfilerSessionManagerOptions) GetServiceAddresses() []string
func (*RemoteProfilerSessionManagerOptions) GetSessionCreationTimestampNs ¶
func (x *RemoteProfilerSessionManagerOptions) GetSessionCreationTimestampNs() uint64
func (*RemoteProfilerSessionManagerOptions) ProtoMessage ¶
func (*RemoteProfilerSessionManagerOptions) ProtoMessage()
func (*RemoteProfilerSessionManagerOptions) ProtoReflect ¶
func (x *RemoteProfilerSessionManagerOptions) ProtoReflect() protoreflect.Message
func (*RemoteProfilerSessionManagerOptions) Reset ¶
func (x *RemoteProfilerSessionManagerOptions) Reset()
func (*RemoteProfilerSessionManagerOptions) String ¶
func (x *RemoteProfilerSessionManagerOptions) String() string
type XEvent ¶
type XEvent struct { // XEventMetadata.id of corresponding metadata. MetadataId int64 `protobuf:"varint,1,opt,name=metadata_id,json=metadataId,proto3" json:"metadata_id,omitempty"` // Types that are assignable to Data: // // *XEvent_OffsetPs // *XEvent_NumOccurrences Data isXEvent_Data `protobuf_oneof:"data"` // Duration of the event in picoseconds. Can be zero for an instant event. DurationPs int64 `protobuf:"varint,3,opt,name=duration_ps,json=durationPs,proto3" json:"duration_ps,omitempty"` // XStats associated with the event. // Each of these XStats should have a different metadata_id. Stats []*XStat `protobuf:"bytes,4,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
An XEvent is a trace event, optionally annotated with XStats. Next ID: 6
func (*XEvent) Descriptor
deprecated
func (*XEvent) GetDurationPs ¶
func (*XEvent) GetMetadataId ¶
func (*XEvent) GetNumOccurrences ¶
func (*XEvent) GetOffsetPs ¶
func (*XEvent) ProtoMessage ¶
func (*XEvent) ProtoMessage()
func (*XEvent) ProtoReflect ¶
func (x *XEvent) ProtoReflect() protoreflect.Message
type XEventMetadata ¶
type XEventMetadata struct { // XPlane.event_metadata map key. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the event. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of the event shown in trace viewer. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Additional metadata in serialized format. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // XStats that are constant for all XEvents with the same metadata_id. // Each of these XStats should have a different metadata_id. Stats []*XStat `protobuf:"bytes,5,rep,name=stats,proto3" json:"stats,omitempty"` // XPlane.event_metadata map key for children events. ChildId []int64 `protobuf:"varint,6,rep,packed,name=child_id,json=childId,proto3" json:"child_id,omitempty"` // contains filtered or unexported fields }
Metadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id. Next ID: 7
func (*XEventMetadata) Descriptor
deprecated
func (*XEventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use XEventMetadata.ProtoReflect.Descriptor instead.
func (*XEventMetadata) GetChildId ¶
func (x *XEventMetadata) GetChildId() []int64
func (*XEventMetadata) GetDisplayName ¶
func (x *XEventMetadata) GetDisplayName() string
func (*XEventMetadata) GetId ¶
func (x *XEventMetadata) GetId() int64
func (*XEventMetadata) GetMetadata ¶
func (x *XEventMetadata) GetMetadata() []byte
func (*XEventMetadata) GetName ¶
func (x *XEventMetadata) GetName() string
func (*XEventMetadata) GetStats ¶
func (x *XEventMetadata) GetStats() []*XStat
func (*XEventMetadata) ProtoMessage ¶
func (*XEventMetadata) ProtoMessage()
func (*XEventMetadata) ProtoReflect ¶
func (x *XEventMetadata) ProtoReflect() protoreflect.Message
func (*XEventMetadata) Reset ¶
func (x *XEventMetadata) Reset()
func (*XEventMetadata) String ¶
func (x *XEventMetadata) String() string
type XEvent_NumOccurrences ¶
type XEvent_NumOccurrences struct { // Number of occurrences of the event, if aggregated. NumOccurrences int64 `protobuf:"varint,5,opt,name=num_occurrences,json=numOccurrences,proto3,oneof"` }
type XEvent_OffsetPs ¶
type XEvent_OffsetPs struct { // Start time of the event in picoseconds, as offset from // XLine.timestamp_ns(). OffsetPs int64 `protobuf:"varint,2,opt,name=offset_ps,json=offsetPs,proto3,oneof"` }
type XLine ¶
type XLine struct { // Id of this line, can be repeated within an XPlane. All XLines with the // same id are effectively the same timeline. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Display id of this line. Multiple lines with the same display_id are // grouped together in the same trace viewer row. DisplayId int64 `protobuf:"varint,10,opt,name=display_id,json=displayId,proto3" json:"display_id,omitempty"` // Name of this XLine. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of this XLine to display in trace viewer. DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Start time of this line in nanoseconds since the UNIX epoch. // XEvent.offset_ps is relative to this timestamp. TimestampNs int64 `protobuf:"varint,3,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` // Profiling duration for this line in picoseconds. DurationPs int64 `protobuf:"varint,9,opt,name=duration_ps,json=durationPs,proto3" json:"duration_ps,omitempty"` // XEvents within the same XLine should not overlap in time, but they can be // nested. Events []*XEvent `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
An XLine is a timeline of trace events (XEvents). Next ID: 12
func (*XLine) Descriptor
deprecated
func (*XLine) GetDisplayId ¶
func (*XLine) GetDisplayName ¶
func (*XLine) GetDurationPs ¶
func (*XLine) GetTimestampNs ¶
func (*XLine) ProtoMessage ¶
func (*XLine) ProtoMessage()
func (*XLine) ProtoReflect ¶
func (x *XLine) ProtoReflect() protoreflect.Message
type XPlane ¶
type XPlane struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Name of this line. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Parallel timelines grouped in this plane. XLines with the same id // are effectively the same timeline. Lines []*XLine `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"` // XEventMetadata map, each entry uses the XEventMetadata.id as key. This map // should be used for events that share the same ID over the whole XPlane. EventMetadata map[int64]*XEventMetadata `` /* 189-byte string literal not displayed */ // XStatMetadata map, each entry uses the XStatMetadata.id as key. This map // should be used for stats that share the same ID over the whole XPlane. StatMetadata map[int64]*XStatMetadata `` /* 186-byte string literal not displayed */ // XStats associated with this plane, e.g. device capabilities. // Each of these XStats should have a different metadata_id. Stats []*XStat `protobuf:"bytes,6,rep,name=stats,proto3" json:"stats,omitempty"` // contains filtered or unexported fields }
An XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes. Next ID: 7
func (*XPlane) Descriptor
deprecated
func (*XPlane) GetEventMetadata ¶
func (x *XPlane) GetEventMetadata() map[int64]*XEventMetadata
func (*XPlane) GetStatMetadata ¶
func (x *XPlane) GetStatMetadata() map[int64]*XStatMetadata
func (*XPlane) ProtoMessage ¶
func (*XPlane) ProtoMessage()
func (*XPlane) ProtoReflect ¶
func (x *XPlane) ProtoReflect() protoreflect.Message
type XSpace ¶
type XSpace struct { Planes []*XPlane `protobuf:"bytes,1,rep,name=planes,proto3" json:"planes,omitempty"` // Errors (if any) in the generation of planes. Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // Warnings (if any) in the generation of planes; Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"` // List of hostnames that XPlanes are generated from. Hostnames []string `protobuf:"bytes,4,rep,name=hostnames,proto3" json:"hostnames,omitempty"` // contains filtered or unexported fields }
A container of parallel XPlanes, generated by one or more profiling sources. Next ID: 5
func (*XSpace) Descriptor
deprecated
func (*XSpace) GetHostnames ¶
func (*XSpace) GetWarnings ¶
func (*XSpace) ProtoMessage ¶
func (*XSpace) ProtoMessage()
func (*XSpace) ProtoReflect ¶
func (x *XSpace) ProtoReflect() protoreflect.Message
type XStat ¶
type XStat struct { // XStatMetadata.id of corresponding metadata. MetadataId int64 `protobuf:"varint,1,opt,name=metadata_id,json=metadataId,proto3" json:"metadata_id,omitempty"` // Value of this stat. // // Types that are assignable to Value: // // *XStat_DoubleValue // *XStat_Uint64Value // *XStat_Int64Value // *XStat_StrValue // *XStat_BytesValue // *XStat_RefValue Value isXStat_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
An XStat is a named value associated with an XEvent, e.g., a performance counter value, a metric computed by a formula applied over nested XEvents and XStats. Next ID: 8
func (*XStat) Descriptor
deprecated
func (*XStat) GetBytesValue ¶
func (*XStat) GetDoubleValue ¶
func (*XStat) GetInt64Value ¶
func (*XStat) GetMetadataId ¶
func (*XStat) GetRefValue ¶
func (*XStat) GetStrValue ¶
func (*XStat) GetUint64Value ¶
func (*XStat) ProtoMessage ¶
func (*XStat) ProtoMessage()
func (*XStat) ProtoReflect ¶
func (x *XStat) ProtoReflect() protoreflect.Message
type XStatMetadata ¶
type XStatMetadata struct { // XPlane.stat_metadata map key. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the stat (should be short). // Two XStatMetadata with different id should have different names. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the stat (might be long). Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Metadata for an XStat, corresponds to a stat type and is shared by all XStats with the same metadata_id. Next ID: 4
func (*XStatMetadata) Descriptor
deprecated
func (*XStatMetadata) Descriptor() ([]byte, []int)
Deprecated: Use XStatMetadata.ProtoReflect.Descriptor instead.
func (*XStatMetadata) GetDescription ¶
func (x *XStatMetadata) GetDescription() string
func (*XStatMetadata) GetId ¶
func (x *XStatMetadata) GetId() int64
func (*XStatMetadata) GetName ¶
func (x *XStatMetadata) GetName() string
func (*XStatMetadata) ProtoMessage ¶
func (*XStatMetadata) ProtoMessage()
func (*XStatMetadata) ProtoReflect ¶
func (x *XStatMetadata) ProtoReflect() protoreflect.Message
func (*XStatMetadata) Reset ¶
func (x *XStatMetadata) Reset()
func (*XStatMetadata) String ¶
func (x *XStatMetadata) String() string
type XStat_BytesValue ¶
type XStat_BytesValue struct {
BytesValue []byte `protobuf:"bytes,6,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type XStat_DoubleValue ¶
type XStat_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type XStat_Int64Value ¶
type XStat_Int64Value struct {
Int64Value int64 `protobuf:"varint,4,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type XStat_RefValue ¶
type XStat_RefValue struct { // A string value that stored in XStatMetadata::name. RefValue uint64 `protobuf:"varint,7,opt,name=ref_value,json=refValue,proto3,oneof"` }
type XStat_StrValue ¶
type XStat_StrValue struct {
StrValue string `protobuf:"bytes,5,opt,name=str_value,json=strValue,proto3,oneof"`
}
type XStat_Uint64Value ¶
type XStat_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}