protobuf

package
v2.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_TraceEvent_GroupId = int64(-1)
)

Default values for TraceEvent fields.

Variables

View Source
var (
	HardwareType_name = map[int32]string{
		0: "UNKNOWN_HARDWARE",
		1: "CPU_ONLY",
		2: "GPU",
		3: "TPU",
	}
	HardwareType_value = map[string]int32{
		"UNKNOWN_HARDWARE": 0,
		"CPU_ONLY":         1,
		"GPU":              2,
		"TPU":              3,
	}
)

Enum value maps for HardwareType.

View Source
var (
	MemoryActivity_name = map[int32]string{
		0: "UNKNOWN_ACTIVITY",
		1: "ALLOCATION",
		2: "DEALLOCATION",
		3: "RESERVATION",
		4: "EXPANSION",
	}
	MemoryActivity_value = map[string]int32{
		"UNKNOWN_ACTIVITY": 0,
		"ALLOCATION":       1,
		"DEALLOCATION":     2,
		"RESERVATION":      3,
		"EXPANSION":        4,
	}
)

Enum value maps for MemoryActivity.

View Source
var (
	MemBwType_name = map[int32]string{
		0: "MEM_BW_TYPE_FIRST",

		1: "MEM_BW_TYPE_SRAM_RD",
		2: "MEM_BW_TYPE_SRAM_WR",
	}
	MemBwType_value = map[string]int32{
		"MEM_BW_TYPE_FIRST":   0,
		"MEM_BW_TYPE_HBM_RW":  0,
		"MEM_BW_TYPE_SRAM_RD": 1,
		"MEM_BW_TYPE_SRAM_WR": 2,
		"MEM_BW_TYPE_MAX":     2,
	}
)

Enum value maps for MemBwType.

View Source
var (
	MemorySpace_name = map[int32]string{
		0:          "MEMORY_SPACE_UNDEFINED",
		1:          "MEMORY_SPACE_HBM",
		2147483646: "MEMORY_SPACE_ON_CHIP",
		2147483647: "MEMORY_SPACE_ALL",
	}
	MemorySpace_value = map[string]int32{
		"MEMORY_SPACE_UNDEFINED": 0,
		"MEMORY_SPACE_HBM":       1,
		"MEMORY_SPACE_ON_CHIP":   2147483646,
		"MEMORY_SPACE_ALL":       2147483647,
	}
)

Enum value maps for MemorySpace.

View Source
var (
	LayoutDimensionSemantics_name = map[int32]string{
		0: "UNKNOWN_SEMANTICS",
		1: "FEATURE",
		2: "BATCH",
		3: "SPATIAL",
	}
	LayoutDimensionSemantics_value = map[string]int32{
		"UNKNOWN_SEMANTICS": 0,
		"FEATURE":           1,
		"BATCH":             2,
		"SPATIAL":           3,
	}
)

Enum value maps for LayoutDimensionSemantics.

View Source
var (
	OpMetrics_MemoryAccessed_OperationType_name = map[int32]string{
		0: "UNKNOWN",
		1: "READ",
		2: "WRITE",
	}
	OpMetrics_MemoryAccessed_OperationType_value = map[string]int32{
		"UNKNOWN": 0,
		"READ":    1,
		"WRITE":   2,
	}
)

Enum value maps for OpMetrics_MemoryAccessed_OperationType.

View Source
var (
	InputPipelineMetadata_InputPipelineType_name = map[int32]string{
		0: "HOST",
		1: "DEVICE",
	}
	InputPipelineMetadata_InputPipelineType_value = map[string]int32{
		"HOST":   0,
		"DEVICE": 1,
	}
)

Enum value maps for InputPipelineMetadata_InputPipelineType.

View Source
var (
	TfFunctionExecutionMode_name = map[int32]string{
		0: "INVALID_MODE",
		1: "EAGER_MODE",
		2: "TRACED_MODE",
		3: "NOT_TRACED_MODE",
		4: "CONCRETE_MODE",
	}
	TfFunctionExecutionMode_value = map[string]int32{
		"INVALID_MODE":    0,
		"EAGER_MODE":      1,
		"TRACED_MODE":     2,
		"NOT_TRACED_MODE": 3,
		"CONCRETE_MODE":   4,
	}
)

Enum value maps for TfFunctionExecutionMode.

View Source
var (
	TfFunctionCompiler_name = map[int32]string{
		0: "INVALID_COMPILER",
		1: "OTHER_COMPILER",
		2: "MIXED_COMPILER",
		3: "XLA_COMPILER",
		4: "MLIR_COMPILER",
	}
	TfFunctionCompiler_value = map[string]int32{
		"INVALID_COMPILER": 0,
		"OTHER_COMPILER":   1,
		"MIXED_COMPILER":   2,
		"XLA_COMPILER":     3,
		"MLIR_COMPILER":    4,
	}
)

Enum value maps for TfFunctionCompiler.

View Source
var (
	UnitOfMeasure_name = map[int32]string{
		0: "NUMBER",
		1: "TIME",
		2: "BYTES",
	}
	UnitOfMeasure_value = map[string]int32{
		"NUMBER": 0,
		"TIME":   1,
		"BYTES":  2,
	}
)

Enum value maps for UnitOfMeasure.

View Source
var (
	TraceEvent_FlowEntryType_name = map[int32]string{
		0: "FLOW_NONE",
		1: "FLOW_START",
		2: "FLOW_MID",
		3: "FLOW_END",
	}
	TraceEvent_FlowEntryType_value = map[string]int32{
		"FLOW_NONE":  0,
		"FLOW_START": 1,
		"FLOW_MID":   2,
		"FLOW_END":   3,
	}
)

Enum value maps for TraceEvent_FlowEntryType.

View Source
var File_tensorflow_core_profiler_protobuf_diagnostics_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_hardware_types_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_input_pipeline_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_kernel_stats_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_memory_profile_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_memory_viewer_preprocess_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_op_metrics_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_op_profile_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_op_stats_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_overview_page_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_pod_stats_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_pod_viewer_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_steps_db_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_task_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_tf_data_stats_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_tf_function_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_tf_stats_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_tfstreamz_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_topology_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_trace_events_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_trace_events_raw_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_profiler_protobuf_xplane_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActiveAllocation

type ActiveAllocation struct {

	// The index of a snapshot in the time-sorted list, used to fetch the
	// MemoryActivityMetadata at front end from the memory_profile_snapshots list.
	SnapshotIndex int64 `protobuf:"varint,1,opt,name=snapshot_index,json=snapshotIndex,proto3" json:"snapshot_index,omitempty"`
	// The index of MemoryActivityMetadata in the special_allocations list.
	SpecialIndex int64 `protobuf:"varint,2,opt,name=special_index,json=specialIndex,proto3" json:"special_index,omitempty"`
	// Number of occurrences for identical memory allocations.
	NumOccurrences int64 `protobuf:"varint,3,opt,name=num_occurrences,json=numOccurrences,proto3" json:"num_occurrences,omitempty"`
	// contains filtered or unexported fields
}

The active memory allocations at the peak memory usage.

func (*ActiveAllocation) Descriptor deprecated

func (*ActiveAllocation) Descriptor() ([]byte, []int)

Deprecated: Use ActiveAllocation.ProtoReflect.Descriptor instead.

func (*ActiveAllocation) GetNumOccurrences

func (x *ActiveAllocation) GetNumOccurrences() int64

func (*ActiveAllocation) GetSnapshotIndex

func (x *ActiveAllocation) GetSnapshotIndex() int64

func (*ActiveAllocation) GetSpecialIndex

func (x *ActiveAllocation) GetSpecialIndex() int64

func (*ActiveAllocation) ProtoMessage

func (*ActiveAllocation) ProtoMessage()

func (*ActiveAllocation) ProtoReflect

func (x *ActiveAllocation) ProtoReflect() protoreflect.Message

func (*ActiveAllocation) Reset

func (x *ActiveAllocation) Reset()

func (*ActiveAllocation) String

func (x *ActiveAllocation) String() string

type AllReduceDbResult

type AllReduceDbResult struct {
	AllReduceInfo []*AllReduceInfo `protobuf:"bytes,1,rep,name=all_reduce_info,json=allReduceInfo,proto3" json:"all_reduce_info,omitempty"`
	// contains filtered or unexported fields
}

Result database for all-reduce ops.

func (*AllReduceDbResult) Descriptor deprecated

func (*AllReduceDbResult) Descriptor() ([]byte, []int)

Deprecated: Use AllReduceDbResult.ProtoReflect.Descriptor instead.

func (*AllReduceDbResult) GetAllReduceInfo

func (x *AllReduceDbResult) GetAllReduceInfo() []*AllReduceInfo

func (*AllReduceDbResult) ProtoMessage

func (*AllReduceDbResult) ProtoMessage()

func (*AllReduceDbResult) ProtoReflect

func (x *AllReduceDbResult) ProtoReflect() protoreflect.Message

func (*AllReduceDbResult) Reset

func (x *AllReduceDbResult) Reset()

func (*AllReduceDbResult) String

func (x *AllReduceDbResult) String() string

type AllReduceInfo

type AllReduceInfo struct {

	// Unique id for all-reduce ops.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the hlo op. This field is no longer set by the profiler.
	//
	// Deprecated: Marked as deprecated in tensorflow/core/profiler/protobuf/steps_db.proto.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// For all-reduce nodes from different modules, if they have the same
	// all_reduce_id, they will be 'Allreduce'd'. If empty, AllReduce will not be
	// applied across modules.
	AllReduceId uint64 `protobuf:"varint,3,opt,name=all_reduce_id,json=allReduceId,proto3" json:"all_reduce_id,omitempty"`
	// The start time in picoseconds of the op event.
	StartTimePs uint64 `protobuf:"varint,4,opt,name=start_time_ps,json=startTimePs,proto3" json:"start_time_ps,omitempty"`
	// The end time in picoseconds of the op event.
	EndTimePs uint64 `protobuf:"varint,5,opt,name=end_time_ps,json=endTimePs,proto3" json:"end_time_ps,omitempty"`
	// The size of the op in bytes.
	ByteSize uint64 `protobuf:"varint,6,opt,name=byte_size,json=byteSize,proto3" json:"byte_size,omitempty"`
	// contains filtered or unexported fields
}

Result proto for all -educe ops.

func (*AllReduceInfo) Descriptor deprecated

func (*AllReduceInfo) Descriptor() ([]byte, []int)

Deprecated: Use AllReduceInfo.ProtoReflect.Descriptor instead.

func (*AllReduceInfo) GetAllReduceId

func (x *AllReduceInfo) GetAllReduceId() uint64

func (*AllReduceInfo) GetByteSize

func (x *AllReduceInfo) GetByteSize() uint64

func (*AllReduceInfo) GetEndTimePs

func (x *AllReduceInfo) GetEndTimePs() uint64

func (*AllReduceInfo) GetId

func (x *AllReduceInfo) GetId() uint64

func (*AllReduceInfo) GetName deprecated

func (x *AllReduceInfo) GetName() string

Deprecated: Marked as deprecated in tensorflow/core/profiler/protobuf/steps_db.proto.

func (*AllReduceInfo) GetStartTimePs

func (x *AllReduceInfo) GetStartTimePs() uint64

func (*AllReduceInfo) ProtoMessage

func (*AllReduceInfo) ProtoMessage()

func (*AllReduceInfo) ProtoReflect

func (x *AllReduceInfo) ProtoReflect() protoreflect.Message

func (*AllReduceInfo) Reset

func (x *AllReduceInfo) Reset()

func (*AllReduceInfo) String

func (x *AllReduceInfo) String() string

type AllReduceOpInfo

type AllReduceOpInfo struct {

	// Name of this OP.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Number of instances that this OP occurred.
	Occurrences uint32 `protobuf:"varint,2,opt,name=occurrences,proto3" json:"occurrences,omitempty"`
	// The time in microseconds spent in this OP (averaged across all of its
	// occurrences).
	DurationUs float64 `protobuf:"fixed64,3,opt,name=duration_us,json=durationUs,proto3" json:"duration_us,omitempty"`
	// Byte size of data transferred.
	DataSize uint64 `protobuf:"varint,4,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	// Replica groups.
	ReplicaGroups []*ReplicaGroup `protobuf:"bytes,5,rep,name=replica_groups,json=replicaGroups,proto3" json:"replica_groups,omitempty"`
	// Description (e.g. XLA expression).
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AllReduceOpInfo) Descriptor deprecated

func (*AllReduceOpInfo) Descriptor() ([]byte, []int)

Deprecated: Use AllReduceOpInfo.ProtoReflect.Descriptor instead.

func (*AllReduceOpInfo) GetDataSize

func (x *AllReduceOpInfo) GetDataSize() uint64

func (*AllReduceOpInfo) GetDescription

func (x *AllReduceOpInfo) GetDescription() string

func (*AllReduceOpInfo) GetDurationUs

func (x *AllReduceOpInfo) GetDurationUs() float64

func (*AllReduceOpInfo) GetName

func (x *AllReduceOpInfo) GetName() string

func (*AllReduceOpInfo) GetOccurrences

func (x *AllReduceOpInfo) GetOccurrences() uint32

func (*AllReduceOpInfo) GetReplicaGroups

func (x *AllReduceOpInfo) GetReplicaGroups() []*ReplicaGroup

func (*AllReduceOpInfo) ProtoMessage

func (*AllReduceOpInfo) ProtoMessage()

func (*AllReduceOpInfo) ProtoReflect

func (x *AllReduceOpInfo) ProtoReflect() protoreflect.Message

func (*AllReduceOpInfo) Reset

func (x *AllReduceOpInfo) Reset()

func (*AllReduceOpInfo) String

func (x *AllReduceOpInfo) String() string

type BottleneckAnalysis

type BottleneckAnalysis struct {

	// Percentage of step time that is spent on input.
	InputPercent float64 `protobuf:"fixed64,7,opt,name=input_percent,json=inputPercent,proto3" json:"input_percent,omitempty"`
	// Percentage of step time that is spent on output.
	OutputPercent float64 `protobuf:"fixed64,8,opt,name=output_percent,json=outputPercent,proto3" json:"output_percent,omitempty"`
	// Percentage of step time that is idle for non-I/O-related reason.
	IdlePercent float64 `protobuf:"fixed64,9,opt,name=idle_percent,json=idlePercent,proto3" json:"idle_percent,omitempty"`
	// Percentage of step time that is spent on compute.
	ComputePercent float64 `protobuf:"fixed64,10,opt,name=compute_percent,json=computePercent,proto3" json:"compute_percent,omitempty"`
	// Indicates if input is a bottleneck. Possible values:  "host", "device",
	// "both", or "unknown"
	InputClassification string `protobuf:"bytes,1,opt,name=input_classification,json=inputClassification,proto3" json:"input_classification,omitempty"`
	// A human-readable description of the input bottleneck.
	InputStatement string `protobuf:"bytes,2,opt,name=input_statement,json=inputStatement,proto3" json:"input_statement,omitempty"`
	// Indicates if kernel launching is a bottleneck. Possible values: "no",
	// "moderate", "high".
	KernelLaunchClassification string `` /* 141-byte string literal not displayed */
	// A human-readable description of the kernel launching overhead.
	KernelLaunchStatement string `` /* 126-byte string literal not displayed */
	// Indicates if all other is a bottleneck. Possible values: "no", "moderate",
	// "high".
	AllOtherClassification string `` /* 129-byte string literal not displayed */
	// A human-readable description of the all other overhead.
	AllOtherStatement string `protobuf:"bytes,6,opt,name=all_other_statement,json=allOtherStatement,proto3" json:"all_other_statement,omitempty"`
	// Indicates if device collective communication is a bottleneck. Possible
	// values: "no", "moderate", "high".
	DeviceCollectivesClassification string `` /* 157-byte string literal not displayed */
	// A human-readable description of the device collective communication
	// overhead.
	DeviceCollectivesStatement string `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Generic hardware bottleneck.

func (*BottleneckAnalysis) Descriptor deprecated

func (*BottleneckAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use BottleneckAnalysis.ProtoReflect.Descriptor instead.

func (*BottleneckAnalysis) GetAllOtherClassification

func (x *BottleneckAnalysis) GetAllOtherClassification() string

func (*BottleneckAnalysis) GetAllOtherStatement

func (x *BottleneckAnalysis) GetAllOtherStatement() string

func (*BottleneckAnalysis) GetComputePercent

func (x *BottleneckAnalysis) GetComputePercent() float64

func (*BottleneckAnalysis) GetDeviceCollectivesClassification

func (x *BottleneckAnalysis) GetDeviceCollectivesClassification() string

func (*BottleneckAnalysis) GetDeviceCollectivesStatement

func (x *BottleneckAnalysis) GetDeviceCollectivesStatement() string

func (*BottleneckAnalysis) GetIdlePercent

func (x *BottleneckAnalysis) GetIdlePercent() float64

func (*BottleneckAnalysis) GetInputClassification

func (x *BottleneckAnalysis) GetInputClassification() string

func (*BottleneckAnalysis) GetInputPercent

func (x *BottleneckAnalysis) GetInputPercent() float64

func (*BottleneckAnalysis) GetInputStatement

func (x *BottleneckAnalysis) GetInputStatement() string

func (*BottleneckAnalysis) GetKernelLaunchClassification

func (x *BottleneckAnalysis) GetKernelLaunchClassification() string

func (*BottleneckAnalysis) GetKernelLaunchStatement

func (x *BottleneckAnalysis) GetKernelLaunchStatement() string

func (*BottleneckAnalysis) GetOutputPercent

func (x *BottleneckAnalysis) GetOutputPercent() float64

func (*BottleneckAnalysis) ProtoMessage

func (*BottleneckAnalysis) ProtoMessage()

func (*BottleneckAnalysis) ProtoReflect

func (x *BottleneckAnalysis) ProtoReflect() protoreflect.Message

func (*BottleneckAnalysis) Reset

func (x *BottleneckAnalysis) Reset()

func (*BottleneckAnalysis) String

func (x *BottleneckAnalysis) String() string

type BufferAllocation

type BufferAllocation struct {
	Id             int64            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SizeMib        float64          `protobuf:"fixed64,2,opt,name=size_mib,json=sizeMib,proto3" json:"size_mib,omitempty"`
	Attributes     []string         `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	LogicalBuffers []*LogicalBuffer `protobuf:"bytes,4,rep,name=logical_buffers,json=logicalBuffers,proto3" json:"logical_buffers,omitempty"`
	CommonShape    string           `protobuf:"bytes,5,opt,name=common_shape,json=commonShape,proto3" json:"common_shape,omitempty"`
	// contains filtered or unexported fields
}

func (*BufferAllocation) Descriptor deprecated

func (*BufferAllocation) Descriptor() ([]byte, []int)

Deprecated: Use BufferAllocation.ProtoReflect.Descriptor instead.

func (*BufferAllocation) GetAttributes

func (x *BufferAllocation) GetAttributes() []string

func (*BufferAllocation) GetCommonShape

func (x *BufferAllocation) GetCommonShape() string

func (*BufferAllocation) GetId

func (x *BufferAllocation) GetId() int64

func (*BufferAllocation) GetLogicalBuffers

func (x *BufferAllocation) GetLogicalBuffers() []*LogicalBuffer

func (*BufferAllocation) GetSizeMib

func (x *BufferAllocation) GetSizeMib() float64

func (*BufferAllocation) ProtoMessage

func (*BufferAllocation) ProtoMessage()

func (*BufferAllocation) ProtoReflect

func (x *BufferAllocation) ProtoReflect() protoreflect.Message

func (*BufferAllocation) Reset

func (x *BufferAllocation) Reset()

func (*BufferAllocation) String

func (x *BufferAllocation) String() string

type BufferSpan

type BufferSpan struct {
	Start int32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

Describes the start / exclusive limit HLO program points for a given buffer lifetime, used for rendering a box on the plot.

func (*BufferSpan) Descriptor deprecated

func (*BufferSpan) Descriptor() ([]byte, []int)

Deprecated: Use BufferSpan.ProtoReflect.Descriptor instead.

func (*BufferSpan) GetLimit

func (x *BufferSpan) GetLimit() int32

func (*BufferSpan) GetStart

func (x *BufferSpan) GetStart() int32

func (*BufferSpan) ProtoMessage

func (*BufferSpan) ProtoMessage()

func (*BufferSpan) ProtoReflect

func (x *BufferSpan) ProtoReflect() protoreflect.Message

func (*BufferSpan) Reset

func (x *BufferSpan) Reset()

func (*BufferSpan) String

func (x *BufferSpan) String() string

type ChannelInfo

type ChannelInfo struct {

	// Id of the channel.
	ChannelId int64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Core ids of send ops.
	SrcCoreIds []uint32 `protobuf:"varint,11,rep,packed,name=src_core_ids,json=srcCoreIds,proto3" json:"src_core_ids,omitempty"`
	// Core ids of recv ops.
	DstCoreIds []uint32 `protobuf:"varint,12,rep,packed,name=dst_core_ids,json=dstCoreIds,proto3" json:"dst_core_ids,omitempty"`
	// Byte size of the data transferred.
	DataSize uint64 `protobuf:"varint,4,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	// Duration from the beginning of send to the end of recv-done in
	// microseconds.
	DurationUs float64 `protobuf:"fixed64,5,opt,name=duration_us,json=durationUs,proto3" json:"duration_us,omitempty"`
	// Number of occurrences of a channel.
	Occurrences uint32 `protobuf:"varint,6,opt,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Percentage of the link BW utilized over the peak link BW.
	Utilization float64 `protobuf:"fixed64,7,opt,name=utilization,proto3" json:"utilization,omitempty"`
	// A list of hlo names associated with this channel id.
	HloNames []string `protobuf:"bytes,8,rep,name=hlo_names,json=hloNames,proto3" json:"hlo_names,omitempty"`
	// Duration from the beginning of the recv-done to the beginning of send in
	// microseconds. If the recv-done op starts after the beginning of the send
	// op, the delay is zero.
	SendDelayUs float64 `protobuf:"fixed64,9,opt,name=send_delay_us,json=sendDelayUs,proto3" json:"send_delay_us,omitempty"`
	// Description (e.g. XLA expression).
	Description string `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 14 Information about a send and recv channel.

func (*ChannelInfo) Descriptor deprecated

func (*ChannelInfo) Descriptor() ([]byte, []int)

Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.

func (*ChannelInfo) GetChannelId

func (x *ChannelInfo) GetChannelId() int64

func (*ChannelInfo) GetDataSize

func (x *ChannelInfo) GetDataSize() uint64

func (*ChannelInfo) GetDescription

func (x *ChannelInfo) GetDescription() string

func (*ChannelInfo) GetDstCoreIds

func (x *ChannelInfo) GetDstCoreIds() []uint32

func (*ChannelInfo) GetDurationUs

func (x *ChannelInfo) GetDurationUs() float64

func (*ChannelInfo) GetHloNames

func (x *ChannelInfo) GetHloNames() []string

func (*ChannelInfo) GetOccurrences

func (x *ChannelInfo) GetOccurrences() uint32

func (*ChannelInfo) GetSendDelayUs

func (x *ChannelInfo) GetSendDelayUs() float64

func (*ChannelInfo) GetSrcCoreIds

func (x *ChannelInfo) GetSrcCoreIds() []uint32

func (*ChannelInfo) GetUtilization

func (x *ChannelInfo) GetUtilization() float64

func (*ChannelInfo) ProtoMessage

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) ProtoReflect

func (x *ChannelInfo) ProtoReflect() protoreflect.Message

func (*ChannelInfo) Reset

func (x *ChannelInfo) Reset()

func (*ChannelInfo) String

func (x *ChannelInfo) String() string

type CombinedTfDataStats

type CombinedTfDataStats struct {

	// Whether it is input bound.
	IsInputBound bool `protobuf:"varint,3,opt,name=is_input_bound,json=isInputBound,proto3" json:"is_input_bound,omitempty"`
	// Summary of the analysis.
	Summary string `protobuf:"bytes,4,opt,name=summary,proto3" json:"summary,omitempty"`
	// Bottleneck analysis result.
	BottleneckAnalysis []*TfDataBottleneckAnalysis `protobuf:"bytes,1,rep,name=bottleneck_analysis,json=bottleneckAnalysis,proto3" json:"bottleneck_analysis,omitempty"`
	// TfDataStats per host.
	TfDataStats map[string]*TfDataStats `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

TfDataStats of all hosts.

func (*CombinedTfDataStats) Descriptor deprecated

func (*CombinedTfDataStats) Descriptor() ([]byte, []int)

Deprecated: Use CombinedTfDataStats.ProtoReflect.Descriptor instead.

func (*CombinedTfDataStats) GetBottleneckAnalysis

func (x *CombinedTfDataStats) GetBottleneckAnalysis() []*TfDataBottleneckAnalysis

func (*CombinedTfDataStats) GetIsInputBound

func (x *CombinedTfDataStats) GetIsInputBound() bool

func (*CombinedTfDataStats) GetSummary

func (x *CombinedTfDataStats) GetSummary() string

func (*CombinedTfDataStats) GetTfDataStats

func (x *CombinedTfDataStats) GetTfDataStats() map[string]*TfDataStats

func (*CombinedTfDataStats) ProtoMessage

func (*CombinedTfDataStats) ProtoMessage()

func (*CombinedTfDataStats) ProtoReflect

func (x *CombinedTfDataStats) ProtoReflect() protoreflect.Message

func (*CombinedTfDataStats) Reset

func (x *CombinedTfDataStats) Reset()

func (*CombinedTfDataStats) String

func (x *CombinedTfDataStats) String() string

type CoreDetails

type CoreDetails struct {
	Hostname      string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	DeviceOrdinal uint32 `protobuf:"varint,2,opt,name=device_ordinal,json=deviceOrdinal,proto3" json:"device_ordinal,omitempty"` // unique within host, TPU core only
	CoreNum       uint32 `protobuf:"varint,3,opt,name=core_num,json=coreNum,proto3" json:"core_num,omitempty"`                   // unique within chip per core type
	LocalChipId   uint32 `protobuf:"varint,4,opt,name=local_chip_id,json=localChipId,proto3" json:"local_chip_id,omitempty"`     // unique within host
	GlobalChipId  uint32 `protobuf:"varint,5,opt,name=global_chip_id,json=globalChipId,proto3" json:"global_chip_id,omitempty"`  // unique within mesh
	GlobalCoreId  uint32 `protobuf:"varint,6,opt,name=global_core_id,json=globalCoreId,proto3" json:"global_core_id,omitempty"`  // unique within mesh, TPU core only
	// contains filtered or unexported fields
}

Next ID: 7

func (*CoreDetails) Descriptor deprecated

func (*CoreDetails) Descriptor() ([]byte, []int)

Deprecated: Use CoreDetails.ProtoReflect.Descriptor instead.

func (*CoreDetails) GetCoreNum

func (x *CoreDetails) GetCoreNum() uint32

func (*CoreDetails) GetDeviceOrdinal

func (x *CoreDetails) GetDeviceOrdinal() uint32

func (*CoreDetails) GetGlobalChipId

func (x *CoreDetails) GetGlobalChipId() uint32

func (*CoreDetails) GetGlobalCoreId

func (x *CoreDetails) GetGlobalCoreId() uint32

func (*CoreDetails) GetHostname

func (x *CoreDetails) GetHostname() string

func (*CoreDetails) GetLocalChipId

func (x *CoreDetails) GetLocalChipId() uint32

func (*CoreDetails) ProtoMessage

func (*CoreDetails) ProtoMessage()

func (*CoreDetails) ProtoReflect

func (x *CoreDetails) ProtoReflect() protoreflect.Message

func (*CoreDetails) Reset

func (x *CoreDetails) Reset()

func (*CoreDetails) String

func (x *CoreDetails) String() string

type Device

type Device struct {

	// The name of the device.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The id of this device, unique in a single trace.
	DeviceId *uint32 `protobuf:"varint,2,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
	// The resources on this device, keyed by resource_id;
	Resources map[uint32]*Resource `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

A 'device' is a physical entity in the system and is comprised of several resources.

func (*Device) Descriptor deprecated

func (*Device) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetDeviceId

func (x *Device) GetDeviceId() uint32

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetResources

func (x *Device) GetResources() map[uint32]*Resource

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceCapabilities

type DeviceCapabilities struct {
	ClockRateInGhz    float64               `protobuf:"fixed64,1,opt,name=clock_rate_in_ghz,json=clockRateInGhz,proto3" json:"clock_rate_in_ghz,omitempty"`
	NumCores          uint32                `protobuf:"varint,2,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"`
	MemorySizeInBytes uint64                `protobuf:"varint,3,opt,name=memory_size_in_bytes,json=memorySizeInBytes,proto3" json:"memory_size_in_bytes,omitempty"`
	MemoryBandwidth   uint64                `protobuf:"varint,4,opt,name=memory_bandwidth,json=memoryBandwidth,proto3" json:"memory_bandwidth,omitempty"` // Bytes/s.
	ComputeCapability *GPUComputeCapability `protobuf:"bytes,5,opt,name=compute_capability,json=computeCapability,proto3" json:"compute_capability,omitempty"`
	DeviceVendor      string                `protobuf:"bytes,6,opt,name=device_vendor,json=deviceVendor,proto3" json:"device_vendor,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceCapabilities) Descriptor deprecated

func (*DeviceCapabilities) Descriptor() ([]byte, []int)

Deprecated: Use DeviceCapabilities.ProtoReflect.Descriptor instead.

func (*DeviceCapabilities) GetClockRateInGhz

func (x *DeviceCapabilities) GetClockRateInGhz() float64

func (*DeviceCapabilities) GetComputeCapability

func (x *DeviceCapabilities) GetComputeCapability() *GPUComputeCapability

func (*DeviceCapabilities) GetDeviceVendor

func (x *DeviceCapabilities) GetDeviceVendor() string

func (*DeviceCapabilities) GetMemoryBandwidth

func (x *DeviceCapabilities) GetMemoryBandwidth() uint64

func (*DeviceCapabilities) GetMemorySizeInBytes

func (x *DeviceCapabilities) GetMemorySizeInBytes() uint64

func (*DeviceCapabilities) GetNumCores

func (x *DeviceCapabilities) GetNumCores() uint32

func (*DeviceCapabilities) ProtoMessage

func (*DeviceCapabilities) ProtoMessage()

func (*DeviceCapabilities) ProtoReflect

func (x *DeviceCapabilities) ProtoReflect() protoreflect.Message

func (*DeviceCapabilities) Reset

func (x *DeviceCapabilities) Reset()

func (*DeviceCapabilities) String

func (x *DeviceCapabilities) String() string

type DeviceMemoryTransfer

type DeviceMemoryTransfer struct {
	Occurrence       uint64  `protobuf:"varint,1,opt,name=occurrence,proto3" json:"occurrence,omitempty"`
	TimeUs           float64 `protobuf:"fixed64,2,opt,name=time_us,json=timeUs,proto3" json:"time_us,omitempty"`
	BytesTransferred uint64  `protobuf:"varint,3,opt,name=bytes_transferred,json=bytesTransferred,proto3" json:"bytes_transferred,omitempty"`
	// contains filtered or unexported fields
}

Information about memory transfer to/from device memory.

func (*DeviceMemoryTransfer) Descriptor deprecated

func (*DeviceMemoryTransfer) Descriptor() ([]byte, []int)

Deprecated: Use DeviceMemoryTransfer.ProtoReflect.Descriptor instead.

func (*DeviceMemoryTransfer) GetBytesTransferred

func (x *DeviceMemoryTransfer) GetBytesTransferred() uint64

func (*DeviceMemoryTransfer) GetOccurrence

func (x *DeviceMemoryTransfer) GetOccurrence() uint64

func (*DeviceMemoryTransfer) GetTimeUs

func (x *DeviceMemoryTransfer) GetTimeUs() float64

func (*DeviceMemoryTransfer) ProtoMessage

func (*DeviceMemoryTransfer) ProtoMessage()

func (*DeviceMemoryTransfer) ProtoReflect

func (x *DeviceMemoryTransfer) ProtoReflect() protoreflect.Message

func (*DeviceMemoryTransfer) Reset

func (x *DeviceMemoryTransfer) Reset()

func (*DeviceMemoryTransfer) String

func (x *DeviceMemoryTransfer) String() string

type Diagnostics

type Diagnostics struct {
	Info     []string `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	Warnings []string `protobuf:"bytes,2,rep,name=warnings,proto3" json:"warnings,omitempty"`
	Errors   []string `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*Diagnostics) Descriptor deprecated

func (*Diagnostics) Descriptor() ([]byte, []int)

Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead.

func (*Diagnostics) GetErrors

func (x *Diagnostics) GetErrors() []string

func (*Diagnostics) GetInfo

func (x *Diagnostics) GetInfo() []string

func (*Diagnostics) GetWarnings

func (x *Diagnostics) GetWarnings() []string

func (*Diagnostics) ProtoMessage

func (*Diagnostics) ProtoMessage()

func (*Diagnostics) ProtoReflect

func (x *Diagnostics) ProtoReflect() protoreflect.Message

func (*Diagnostics) Reset

func (x *Diagnostics) Reset()

func (*Diagnostics) String

func (x *Diagnostics) String() string

type DmaActivity added in v2.13.0

type DmaActivity struct {
	StartTimeCycles *uint64 `protobuf:"varint,1,opt,name=start_time_cycles,json=startTimeCycles" json:"start_time_cycles,omitempty"`
	EndTimeCycles   *uint64 `protobuf:"varint,2,opt,name=end_time_cycles,json=endTimeCycles" json:"end_time_cycles,omitempty"`
	Kilobytes       *uint64 `protobuf:"varint,4,opt,name=kilobytes" json:"kilobytes,omitempty"`
	MeshChipId      *uint32 `protobuf:"varint,5,opt,name=mesh_chip_id,json=meshChipId" json:"mesh_chip_id,omitempty"`
	CoreId          *uint32 `protobuf:"varint,11,opt,name=core_id,json=coreId" json:"core_id,omitempty"`
	DmaAddress      *uint64 `protobuf:"varint,6,opt,name=dma_address,json=dmaAddress" json:"dma_address,omitempty"`
	Multicast       *uint32 `protobuf:"varint,8,opt,name=multicast" json:"multicast,omitempty"`
	Segmented       *uint32 `protobuf:"varint,9,opt,name=segmented" json:"segmented,omitempty"`
	Temporary       *uint64 `protobuf:"varint,10,opt,name=temporary" json:"temporary,omitempty"` // temporary field, not saved to .sstable.
	// contains filtered or unexported fields
}

DmaActivity can be used to add DMA details to a trace event.

func (*DmaActivity) Descriptor deprecated added in v2.13.0

func (*DmaActivity) Descriptor() ([]byte, []int)

Deprecated: Use DmaActivity.ProtoReflect.Descriptor instead.

func (*DmaActivity) GetCoreId added in v2.13.0

func (x *DmaActivity) GetCoreId() uint32

func (*DmaActivity) GetDmaAddress added in v2.13.0

func (x *DmaActivity) GetDmaAddress() uint64

func (*DmaActivity) GetEndTimeCycles added in v2.13.0

func (x *DmaActivity) GetEndTimeCycles() uint64

func (*DmaActivity) GetKilobytes added in v2.13.0

func (x *DmaActivity) GetKilobytes() uint64

func (*DmaActivity) GetMeshChipId added in v2.13.0

func (x *DmaActivity) GetMeshChipId() uint32

func (*DmaActivity) GetMulticast added in v2.13.0

func (x *DmaActivity) GetMulticast() uint32

func (*DmaActivity) GetSegmented added in v2.13.0

func (x *DmaActivity) GetSegmented() uint32

func (*DmaActivity) GetStartTimeCycles added in v2.13.0

func (x *DmaActivity) GetStartTimeCycles() uint64

func (*DmaActivity) GetTemporary added in v2.13.0

func (x *DmaActivity) GetTemporary() uint64

func (*DmaActivity) ProtoMessage added in v2.13.0

func (*DmaActivity) ProtoMessage()

func (*DmaActivity) ProtoReflect added in v2.13.0

func (x *DmaActivity) ProtoReflect() protoreflect.Message

func (*DmaActivity) Reset added in v2.13.0

func (x *DmaActivity) Reset()

func (*DmaActivity) String added in v2.13.0

func (x *DmaActivity) String() string

type GPUComputeCapability

type GPUComputeCapability struct {
	Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// contains filtered or unexported fields
}

func (*GPUComputeCapability) Descriptor deprecated

func (*GPUComputeCapability) Descriptor() ([]byte, []int)

Deprecated: Use GPUComputeCapability.ProtoReflect.Descriptor instead.

func (*GPUComputeCapability) GetMajor

func (x *GPUComputeCapability) GetMajor() uint32

func (*GPUComputeCapability) GetMinor

func (x *GPUComputeCapability) GetMinor() uint32

func (*GPUComputeCapability) ProtoMessage

func (*GPUComputeCapability) ProtoMessage()

func (*GPUComputeCapability) ProtoReflect

func (x *GPUComputeCapability) ProtoReflect() protoreflect.Message

func (*GPUComputeCapability) Reset

func (x *GPUComputeCapability) Reset()

func (*GPUComputeCapability) String

func (x *GPUComputeCapability) String() string

type GenericRecommendation

type GenericRecommendation struct {

	// Indicates if kernel launch is a performance bottleneck. Possible values:
	// "no", "moderate", "high".
	KernelLaunchBottleneck string `` /* 129-byte string literal not displayed */
	// A statement that recommends if we need to further investigate kernel-launch
	// performance.
	KernelLaunchStatement string `` /* 126-byte string literal not displayed */
	// Indicates if all other is a performance bottleneck. Possible values: "no",
	// "moderate", "high".
	AllOtherBottleneck string `protobuf:"bytes,3,opt,name=all_other_bottleneck,json=allOtherBottleneck,proto3" json:"all_other_bottleneck,omitempty"`
	// A statement that recommends if we need to further investigate all-other
	// performance.
	AllOtherStatement string `protobuf:"bytes,4,opt,name=all_other_statement,json=allOtherStatement,proto3" json:"all_other_statement,omitempty"`
	// A statement that recommends if the user should try using lower precision.
	// Shows this statement to users only if it is not empty.
	PrecisionStatement string `protobuf:"bytes,5,opt,name=precision_statement,json=precisionStatement,proto3" json:"precision_statement,omitempty"`
	// Indicates if device collectives are a performance bottleneck. Possible
	// values: "no", "moderate", "high".
	DeviceCollectivesBottleneck string `` /* 144-byte string literal not displayed */
	// A statement that recommends if we need to further investigate
	// device-collectives performance.
	DeviceCollectivesStatement string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GenericRecommendation) Descriptor deprecated

func (*GenericRecommendation) Descriptor() ([]byte, []int)

Deprecated: Use GenericRecommendation.ProtoReflect.Descriptor instead.

func (*GenericRecommendation) GetAllOtherBottleneck

func (x *GenericRecommendation) GetAllOtherBottleneck() string

func (*GenericRecommendation) GetAllOtherStatement

func (x *GenericRecommendation) GetAllOtherStatement() string

func (*GenericRecommendation) GetDeviceCollectivesBottleneck

func (x *GenericRecommendation) GetDeviceCollectivesBottleneck() string

func (*GenericRecommendation) GetDeviceCollectivesStatement

func (x *GenericRecommendation) GetDeviceCollectivesStatement() string

func (*GenericRecommendation) GetKernelLaunchBottleneck

func (x *GenericRecommendation) GetKernelLaunchBottleneck() string

func (*GenericRecommendation) GetKernelLaunchStatement

func (x *GenericRecommendation) GetKernelLaunchStatement() string

func (*GenericRecommendation) GetPrecisionStatement

func (x *GenericRecommendation) GetPrecisionStatement() string

func (*GenericRecommendation) ProtoMessage

func (*GenericRecommendation) ProtoMessage()

func (*GenericRecommendation) ProtoReflect

func (x *GenericRecommendation) ProtoReflect() protoreflect.Message

func (*GenericRecommendation) Reset

func (x *GenericRecommendation) Reset()

func (*GenericRecommendation) String

func (x *GenericRecommendation) String() string

type GenericStepBreakdown

type GenericStepBreakdown struct {

	// Map event type to the accumulated duration in
	// picoseconds of that type.
	TypePs map[int32]uint64 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Breakdown of step-time on generic hardware. Note that these components are mutually exclusive so that adding them together is equal to the step time. If an execution time interval has multiple types of event happening, we need to pick one of the event type to attribute the time interval to.

func (*GenericStepBreakdown) Descriptor deprecated

func (*GenericStepBreakdown) Descriptor() ([]byte, []int)

Deprecated: Use GenericStepBreakdown.ProtoReflect.Descriptor instead.

func (*GenericStepBreakdown) GetTypePs

func (x *GenericStepBreakdown) GetTypePs() map[int32]uint64

func (*GenericStepBreakdown) ProtoMessage

func (*GenericStepBreakdown) ProtoMessage()

func (*GenericStepBreakdown) ProtoReflect

func (x *GenericStepBreakdown) ProtoReflect() protoreflect.Message

func (*GenericStepBreakdown) Reset

func (x *GenericStepBreakdown) Reset()

func (*GenericStepBreakdown) String

func (x *GenericStepBreakdown) String() string

type GenericStepTimeBreakdown

type GenericStepTimeBreakdown struct {

	// Summary of all unknown time as a part of step in ms.
	UnknownTimeMsSummary *StepSummary `protobuf:"bytes,1,opt,name=unknown_time_ms_summary,json=unknownTimeMsSummary,proto3" json:"unknown_time_ms_summary,omitempty"`
	// Summary of all host-wait-input time as a part of step in ms.
	HostWaitInputMsSummary *StepSummary `` /* 133-byte string literal not displayed */
	// Summary of all host-to-device time as a part of step in ms.
	HostToDeviceMsSummary *StepSummary `` /* 131-byte string literal not displayed */
	// Summary of all input time as a part of step in ms.
	InputMsSummary *StepSummary `protobuf:"bytes,11,opt,name=input_ms_summary,json=inputMsSummary,proto3" json:"input_ms_summary,omitempty"`
	// Summary of all output time as a part of step in ms.
	OutputMsSummary *StepSummary `protobuf:"bytes,3,opt,name=output_ms_summary,json=outputMsSummary,proto3" json:"output_ms_summary,omitempty"`
	// Summary of all device-compute time as a part of step in ms.
	DeviceComputeMsSummary *StepSummary `` /* 131-byte string literal not displayed */
	// Summary of all device-to-device time as a part of step in ms.
	DeviceToDeviceMsSummary *StepSummary `` /* 136-byte string literal not displayed */
	// Summary of all device-collectives time as a part of step in ms.
	DeviceCollectivesMsSummary *StepSummary `` /* 144-byte string literal not displayed */
	// Summary of all host-compute time as a part of step in ms.
	HostComputeMsSummary *StepSummary `protobuf:"bytes,6,opt,name=host_compute_ms_summary,json=hostComputeMsSummary,proto3" json:"host_compute_ms_summary,omitempty"`
	// Summary of all host-prepare time as a part of step in ms.
	HostPrepareMsSummary *StepSummary `protobuf:"bytes,7,opt,name=host_prepare_ms_summary,json=hostPrepareMsSummary,proto3" json:"host_prepare_ms_summary,omitempty"`
	// Summary of all compilation time as a part of step in ms.
	HostCompileMsSummary *StepSummary `protobuf:"bytes,8,opt,name=host_compile_ms_summary,json=hostCompileMsSummary,proto3" json:"host_compile_ms_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericStepTimeBreakdown) Descriptor deprecated

func (*GenericStepTimeBreakdown) Descriptor() ([]byte, []int)

Deprecated: Use GenericStepTimeBreakdown.ProtoReflect.Descriptor instead.

func (*GenericStepTimeBreakdown) GetDeviceCollectivesMsSummary

func (x *GenericStepTimeBreakdown) GetDeviceCollectivesMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetDeviceComputeMsSummary

func (x *GenericStepTimeBreakdown) GetDeviceComputeMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetDeviceToDeviceMsSummary

func (x *GenericStepTimeBreakdown) GetDeviceToDeviceMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetHostCompileMsSummary

func (x *GenericStepTimeBreakdown) GetHostCompileMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetHostComputeMsSummary

func (x *GenericStepTimeBreakdown) GetHostComputeMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetHostPrepareMsSummary

func (x *GenericStepTimeBreakdown) GetHostPrepareMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetHostToDeviceMsSummary

func (x *GenericStepTimeBreakdown) GetHostToDeviceMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetHostWaitInputMsSummary

func (x *GenericStepTimeBreakdown) GetHostWaitInputMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetInputMsSummary

func (x *GenericStepTimeBreakdown) GetInputMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetOutputMsSummary

func (x *GenericStepTimeBreakdown) GetOutputMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) GetUnknownTimeMsSummary

func (x *GenericStepTimeBreakdown) GetUnknownTimeMsSummary() *StepSummary

func (*GenericStepTimeBreakdown) ProtoMessage

func (*GenericStepTimeBreakdown) ProtoMessage()

func (*GenericStepTimeBreakdown) ProtoReflect

func (x *GenericStepTimeBreakdown) ProtoReflect() protoreflect.Message

func (*GenericStepTimeBreakdown) Reset

func (x *GenericStepTimeBreakdown) Reset()

func (*GenericStepTimeBreakdown) String

func (x *GenericStepTimeBreakdown) String() string

type HardwareType

type HardwareType int32

Types of hardware profiled.

const (
	// Unknown hardware.
	HardwareType_UNKNOWN_HARDWARE HardwareType = 0
	// CPU only without any hardware accelerator.
	HardwareType_CPU_ONLY HardwareType = 1
	// GPU.
	HardwareType_GPU HardwareType = 2
	// TPU.
	HardwareType_TPU HardwareType = 3
)

func (HardwareType) Descriptor

func (HardwareType) Enum

func (x HardwareType) Enum() *HardwareType

func (HardwareType) EnumDescriptor deprecated

func (HardwareType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HardwareType.Descriptor instead.

func (HardwareType) Number

func (HardwareType) String

func (x HardwareType) String() string

func (HardwareType) Type

type HeapObject

type HeapObject struct {

	// Types that are assignable to Color:
	//
	//	*HeapObject_Numbered
	//	*HeapObject_Named
	Color                isHeapObject_Color `protobuf_oneof:"color"`
	Label                string             `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	LogicalBufferId      int32              `protobuf:"varint,4,opt,name=logical_buffer_id,json=logicalBufferId,proto3" json:"logical_buffer_id,omitempty"`
	LogicalBufferSizeMib float64            `` /* 127-byte string literal not displayed */
	UnpaddedShapeMib     float64            `protobuf:"fixed64,6,opt,name=unpadded_shape_mib,json=unpaddedShapeMib,proto3" json:"unpadded_shape_mib,omitempty"`
	InstructionName      string             `protobuf:"bytes,7,opt,name=instruction_name,json=instructionName,proto3" json:"instruction_name,omitempty"`
	ShapeString          string             `protobuf:"bytes,8,opt,name=shape_string,json=shapeString,proto3" json:"shape_string,omitempty"`
	TfOpName             string             `protobuf:"bytes,9,opt,name=tf_op_name,json=tfOpName,proto3" json:"tf_op_name,omitempty"`
	GroupName            string             `protobuf:"bytes,10,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
	OpCode               string             `protobuf:"bytes,11,opt,name=op_code,json=opCode,proto3" json:"op_code,omitempty"`
	// contains filtered or unexported fields
}

Describes a heap object that is displayed in a plot in the memory visualization HTML.

func (*HeapObject) Descriptor deprecated

func (*HeapObject) Descriptor() ([]byte, []int)

Deprecated: Use HeapObject.ProtoReflect.Descriptor instead.

func (*HeapObject) GetColor

func (m *HeapObject) GetColor() isHeapObject_Color

func (*HeapObject) GetGroupName

func (x *HeapObject) GetGroupName() string

func (*HeapObject) GetInstructionName

func (x *HeapObject) GetInstructionName() string

func (*HeapObject) GetLabel

func (x *HeapObject) GetLabel() string

func (*HeapObject) GetLogicalBufferId

func (x *HeapObject) GetLogicalBufferId() int32

func (*HeapObject) GetLogicalBufferSizeMib

func (x *HeapObject) GetLogicalBufferSizeMib() float64

func (*HeapObject) GetNamed

func (x *HeapObject) GetNamed() string

func (*HeapObject) GetNumbered

func (x *HeapObject) GetNumbered() int32

func (*HeapObject) GetOpCode

func (x *HeapObject) GetOpCode() string

func (*HeapObject) GetShapeString

func (x *HeapObject) GetShapeString() string

func (*HeapObject) GetTfOpName

func (x *HeapObject) GetTfOpName() string

func (*HeapObject) GetUnpaddedShapeMib

func (x *HeapObject) GetUnpaddedShapeMib() float64

func (*HeapObject) ProtoMessage

func (*HeapObject) ProtoMessage()

func (*HeapObject) ProtoReflect

func (x *HeapObject) ProtoReflect() protoreflect.Message

func (*HeapObject) Reset

func (x *HeapObject) Reset()

func (*HeapObject) String

func (x *HeapObject) String() string

type HeapObject_Named

type HeapObject_Named struct {
	Named string `protobuf:"bytes,2,opt,name=named,proto3,oneof"`
}

type HeapObject_Numbered

type HeapObject_Numbered struct {
	Numbered int32 `protobuf:"varint,1,opt,name=numbered,proto3,oneof"`
}

type HostDependentJobInfoResult

type HostDependentJobInfoResult struct {

	// This ID of the host where the job was run on.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// The command line used to run the job.
	CommandLine string `protobuf:"bytes,2,opt,name=command_line,json=commandLine,proto3" json:"command_line,omitempty"`
	// The start time of this run (nanoseconds since the Unix epoch).
	StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// BNS address specified by client at time of profiling request.
	BnsAddress string `protobuf:"bytes,4,opt,name=bns_address,json=bnsAddress,proto3" json:"bns_address,omitempty"`
	// Profiling start walltime (in ns).
	ProfileTimeNs uint64 `protobuf:"varint,5,opt,name=profile_time_ns,json=profileTimeNs,proto3" json:"profile_time_ns,omitempty"`
	// contains filtered or unexported fields
}

Result proto for host-dependent job information.

func (*HostDependentJobInfoResult) Descriptor deprecated

func (*HostDependentJobInfoResult) Descriptor() ([]byte, []int)

Deprecated: Use HostDependentJobInfoResult.ProtoReflect.Descriptor instead.

func (*HostDependentJobInfoResult) GetBnsAddress

func (x *HostDependentJobInfoResult) GetBnsAddress() string

func (*HostDependentJobInfoResult) GetCommandLine

func (x *HostDependentJobInfoResult) GetCommandLine() string

func (*HostDependentJobInfoResult) GetHostId

func (x *HostDependentJobInfoResult) GetHostId() string

func (*HostDependentJobInfoResult) GetProfileTimeNs

func (x *HostDependentJobInfoResult) GetProfileTimeNs() uint64

func (*HostDependentJobInfoResult) GetStartTime

func (x *HostDependentJobInfoResult) GetStartTime() int64

func (*HostDependentJobInfoResult) ProtoMessage

func (*HostDependentJobInfoResult) ProtoMessage()

func (*HostDependentJobInfoResult) ProtoReflect

func (*HostDependentJobInfoResult) Reset

func (x *HostDependentJobInfoResult) Reset()

func (*HostDependentJobInfoResult) String

func (x *HostDependentJobInfoResult) String() string

type HostIndependentJobInfoResult

type HostIndependentJobInfoResult struct {

	// The change-list number of this build.
	ChangeList int64 `protobuf:"varint,1,opt,name=change_list,json=changeList,proto3" json:"change_list,omitempty"`
	// The time of this build (nanoseconds since the Unix epoch).
	BuildTime int64 `protobuf:"varint,2,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	// The target of this build.
	BuildTarget string `protobuf:"bytes,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// Profiling duration (in ms).
	ProfileDurationMs uint32 `protobuf:"varint,4,opt,name=profile_duration_ms,json=profileDurationMs,proto3" json:"profile_duration_ms,omitempty"`
	// contains filtered or unexported fields
}

Result proto for host-independent job information.

func (*HostIndependentJobInfoResult) Descriptor deprecated

func (*HostIndependentJobInfoResult) Descriptor() ([]byte, []int)

Deprecated: Use HostIndependentJobInfoResult.ProtoReflect.Descriptor instead.

func (*HostIndependentJobInfoResult) GetBuildTarget

func (x *HostIndependentJobInfoResult) GetBuildTarget() string

func (*HostIndependentJobInfoResult) GetBuildTime

func (x *HostIndependentJobInfoResult) GetBuildTime() int64

func (*HostIndependentJobInfoResult) GetChangeList

func (x *HostIndependentJobInfoResult) GetChangeList() int64

func (*HostIndependentJobInfoResult) GetProfileDurationMs

func (x *HostIndependentJobInfoResult) GetProfileDurationMs() uint32

func (*HostIndependentJobInfoResult) ProtoMessage

func (*HostIndependentJobInfoResult) ProtoMessage()

func (*HostIndependentJobInfoResult) ProtoReflect

func (*HostIndependentJobInfoResult) Reset

func (x *HostIndependentJobInfoResult) Reset()

func (*HostIndependentJobInfoResult) String

type InputOpDetails

type InputOpDetails struct {

	// The Op's name.
	OpName string `protobuf:"bytes,1,opt,name=op_name,json=opName,proto3" json:"op_name,omitempty"`
	// The number of occurrences.
	Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// Time (accumulated over all occurrences) in milliseconds.
	TimeInMs float64 `protobuf:"fixed64,3,opt,name=time_in_ms,json=timeInMs,proto3" json:"time_in_ms,omitempty"`
	// Time (accumulated over all occurrences) in
	// percentage of the total input processing time.
	TimeInPercent float64 `protobuf:"fixed64,4,opt,name=time_in_percent,json=timeInPercent,proto3" json:"time_in_percent,omitempty"`
	// Self time (accumulated over all occurrences) in milliseconds.
	SelfTimeInMs float64 `protobuf:"fixed64,5,opt,name=self_time_in_ms,json=selfTimeInMs,proto3" json:"self_time_in_ms,omitempty"`
	// Self time (accumulated over all occurrences) in
	// percentage of the total input processing time.
	SelfTimeInPercent float64 `protobuf:"fixed64,6,opt,name=self_time_in_percent,json=selfTimeInPercent,proto3" json:"self_time_in_percent,omitempty"`
	// Possible categories: "Enqueue", "Advanced file read",
	// "Demanded file read", "Preprocessing", "Unknown".
	Category string `protobuf:"bytes,7,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*InputOpDetails) Descriptor deprecated

func (*InputOpDetails) Descriptor() ([]byte, []int)

Deprecated: Use InputOpDetails.ProtoReflect.Descriptor instead.

func (*InputOpDetails) GetCategory

func (x *InputOpDetails) GetCategory() string

func (*InputOpDetails) GetCount

func (x *InputOpDetails) GetCount() uint64

func (*InputOpDetails) GetOpName

func (x *InputOpDetails) GetOpName() string

func (*InputOpDetails) GetSelfTimeInMs

func (x *InputOpDetails) GetSelfTimeInMs() float64

func (*InputOpDetails) GetSelfTimeInPercent

func (x *InputOpDetails) GetSelfTimeInPercent() float64

func (*InputOpDetails) GetTimeInMs

func (x *InputOpDetails) GetTimeInMs() float64

func (*InputOpDetails) GetTimeInPercent

func (x *InputOpDetails) GetTimeInPercent() float64

func (*InputOpDetails) ProtoMessage

func (*InputOpDetails) ProtoMessage()

func (*InputOpDetails) ProtoReflect

func (x *InputOpDetails) ProtoReflect() protoreflect.Message

func (*InputOpDetails) Reset

func (x *InputOpDetails) Reset()

func (*InputOpDetails) String

func (x *InputOpDetails) String() string

type InputPipelineAnalysisRecommendation

type InputPipelineAnalysisRecommendation struct {

	// A list of detailed recommendations.
	Details []string `protobuf:"bytes,1,rep,name=details,proto3" json:"details,omitempty"`
	// An analysis of different types of bottlenecks. Can be unpacked into a
	// BottleneckAnalysis.
	BottleneckAnalysis *anypb.Any `protobuf:"bytes,2,opt,name=bottleneck_analysis,json=bottleneckAnalysis,proto3" json:"bottleneck_analysis,omitempty"`
	// A suggested step to take next.
	SummaryNextStep string `protobuf:"bytes,3,opt,name=summary_next_step,json=summaryNextStep,proto3" json:"summary_next_step,omitempty"`
	// contains filtered or unexported fields
}

func (*InputPipelineAnalysisRecommendation) Descriptor deprecated

func (*InputPipelineAnalysisRecommendation) Descriptor() ([]byte, []int)

Deprecated: Use InputPipelineAnalysisRecommendation.ProtoReflect.Descriptor instead.

func (*InputPipelineAnalysisRecommendation) GetBottleneckAnalysis

func (x *InputPipelineAnalysisRecommendation) GetBottleneckAnalysis() *anypb.Any

func (*InputPipelineAnalysisRecommendation) GetDetails

func (x *InputPipelineAnalysisRecommendation) GetDetails() []string

func (*InputPipelineAnalysisRecommendation) GetSummaryNextStep

func (x *InputPipelineAnalysisRecommendation) GetSummaryNextStep() string

func (*InputPipelineAnalysisRecommendation) ProtoMessage

func (*InputPipelineAnalysisRecommendation) ProtoMessage()

func (*InputPipelineAnalysisRecommendation) ProtoReflect

func (*InputPipelineAnalysisRecommendation) Reset

func (*InputPipelineAnalysisRecommendation) String

type InputPipelineAnalysisResult

type InputPipelineAnalysisResult struct {

	// tag : indicate the format of step_details and step_time_breakdown.
	// true if google confidential format, otherwise it is in the format of
	// PerGenericStepDetails and GenericStepTimeBreakdown respectively.
	Tag bool `protobuf:"varint,16,opt,name=tag,proto3" json:"tag,omitempty"`
	// Hardware type.
	HardwareType string `protobuf:"bytes,9,opt,name=hardware_type,json=hardwareType,proto3" json:"hardware_type,omitempty"`
	// Summary of all step duration across all cores.
	StepTimeSummary *StepSummary `protobuf:"bytes,2,opt,name=step_time_summary,json=stepTimeSummary,proto3" json:"step_time_summary,omitempty"`
	// Summary of all input-related stall as percentage of step duration.
	InputPercentSummary *StepSummary `protobuf:"bytes,3,opt,name=input_percent_summary,json=inputPercentSummary,proto3" json:"input_percent_summary,omitempty"`
	// Percentage of step time that is waiting for input.
	InputPercent float64 `protobuf:"fixed64,11,opt,name=input_percent,json=inputPercent,proto3" json:"input_percent,omitempty"`
	// Percentage of step time that is doing output.
	OutputPercent float64 `protobuf:"fixed64,13,opt,name=output_percent,json=outputPercent,proto3" json:"output_percent,omitempty"`
	// Percentage of step time that is idle for non-I/O-related reason.
	IdlePercent float64 `protobuf:"fixed64,14,opt,name=idle_percent,json=idlePercent,proto3" json:"idle_percent,omitempty"`
	// Percentage of step time that is doing compute.
	ComputePercent float64 `protobuf:"fixed64,15,opt,name=compute_percent,json=computePercent,proto3" json:"compute_percent,omitempty"`
	// Details of each step. Can be unpacked into a PerGenericStepDetails.
	StepDetails []*anypb.Any `protobuf:"bytes,4,rep,name=step_details,json=stepDetails,proto3" json:"step_details,omitempty"`
	// The breakdown of the input processing time.
	InputTimeBreakdown *InputTimeBreakdown `protobuf:"bytes,5,opt,name=input_time_breakdown,json=inputTimeBreakdown,proto3" json:"input_time_breakdown,omitempty"`
	// Details of each input Op executed.
	InputOpDetails []*InputOpDetails `protobuf:"bytes,6,rep,name=input_op_details,json=inputOpDetails,proto3" json:"input_op_details,omitempty"`
	// Recommendation for next steps to users.
	Recommendation *InputPipelineAnalysisRecommendation `protobuf:"bytes,7,opt,name=recommendation,proto3" json:"recommendation,omitempty"`
	// Breakdown of the step time. Can be unpacked into a
	// GenericStepTimeBreakdown.
	StepTimeBreakdown *anypb.Any `protobuf:"bytes,8,opt,name=step_time_breakdown,json=stepTimeBreakdown,proto3" json:"step_time_breakdown,omitempty"`
	// Error and warning messages for diagnosing profiling issues.
	Diagnostics *Diagnostics `protobuf:"bytes,12,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*InputPipelineAnalysisResult) Descriptor deprecated

func (*InputPipelineAnalysisResult) Descriptor() ([]byte, []int)

Deprecated: Use InputPipelineAnalysisResult.ProtoReflect.Descriptor instead.

func (*InputPipelineAnalysisResult) GetComputePercent

func (x *InputPipelineAnalysisResult) GetComputePercent() float64

func (*InputPipelineAnalysisResult) GetDiagnostics

func (x *InputPipelineAnalysisResult) GetDiagnostics() *Diagnostics

func (*InputPipelineAnalysisResult) GetHardwareType

func (x *InputPipelineAnalysisResult) GetHardwareType() string

func (*InputPipelineAnalysisResult) GetIdlePercent

func (x *InputPipelineAnalysisResult) GetIdlePercent() float64

func (*InputPipelineAnalysisResult) GetInputOpDetails

func (x *InputPipelineAnalysisResult) GetInputOpDetails() []*InputOpDetails

func (*InputPipelineAnalysisResult) GetInputPercent

func (x *InputPipelineAnalysisResult) GetInputPercent() float64

func (*InputPipelineAnalysisResult) GetInputPercentSummary

func (x *InputPipelineAnalysisResult) GetInputPercentSummary() *StepSummary

func (*InputPipelineAnalysisResult) GetInputTimeBreakdown

func (x *InputPipelineAnalysisResult) GetInputTimeBreakdown() *InputTimeBreakdown

func (*InputPipelineAnalysisResult) GetOutputPercent

func (x *InputPipelineAnalysisResult) GetOutputPercent() float64

func (*InputPipelineAnalysisResult) GetRecommendation

func (*InputPipelineAnalysisResult) GetStepDetails

func (x *InputPipelineAnalysisResult) GetStepDetails() []*anypb.Any

func (*InputPipelineAnalysisResult) GetStepTimeBreakdown

func (x *InputPipelineAnalysisResult) GetStepTimeBreakdown() *anypb.Any

func (*InputPipelineAnalysisResult) GetStepTimeSummary

func (x *InputPipelineAnalysisResult) GetStepTimeSummary() *StepSummary

func (*InputPipelineAnalysisResult) GetTag added in v2.13.0

func (x *InputPipelineAnalysisResult) GetTag() bool

func (*InputPipelineAnalysisResult) ProtoMessage

func (*InputPipelineAnalysisResult) ProtoMessage()

func (*InputPipelineAnalysisResult) ProtoReflect

func (*InputPipelineAnalysisResult) Reset

func (x *InputPipelineAnalysisResult) Reset()

func (*InputPipelineAnalysisResult) String

func (x *InputPipelineAnalysisResult) String() string

type InputPipelineMetadata

type InputPipelineMetadata struct {

	// Id of the input pipeline which is set to the id of its root iterator.
	Id   int64                                   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Type InputPipelineMetadata_InputPipelineType `` /* 127-byte string literal not displayed */
	Name string                                  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Metadata for input pipeline.

func (*InputPipelineMetadata) Descriptor deprecated

func (*InputPipelineMetadata) Descriptor() ([]byte, []int)

Deprecated: Use InputPipelineMetadata.ProtoReflect.Descriptor instead.

func (*InputPipelineMetadata) GetId

func (x *InputPipelineMetadata) GetId() int64

func (*InputPipelineMetadata) GetName

func (x *InputPipelineMetadata) GetName() string

func (*InputPipelineMetadata) GetType

func (*InputPipelineMetadata) ProtoMessage

func (*InputPipelineMetadata) ProtoMessage()

func (*InputPipelineMetadata) ProtoReflect

func (x *InputPipelineMetadata) ProtoReflect() protoreflect.Message

func (*InputPipelineMetadata) Reset

func (x *InputPipelineMetadata) Reset()

func (*InputPipelineMetadata) String

func (x *InputPipelineMetadata) String() string

type InputPipelineMetadata_InputPipelineType

type InputPipelineMetadata_InputPipelineType int32

The distribution strategy creates one "host" input pipeline which actually runs tf.data user code. Also, it creates a "device" input pipeline per device (e.g., TensorCore) which takes an element from the host input pipeline and transfers it to the device.

const (
	InputPipelineMetadata_HOST   InputPipelineMetadata_InputPipelineType = 0
	InputPipelineMetadata_DEVICE InputPipelineMetadata_InputPipelineType = 1
)

func (InputPipelineMetadata_InputPipelineType) Descriptor

func (InputPipelineMetadata_InputPipelineType) Enum

func (InputPipelineMetadata_InputPipelineType) EnumDescriptor deprecated

func (InputPipelineMetadata_InputPipelineType) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputPipelineMetadata_InputPipelineType.Descriptor instead.

func (InputPipelineMetadata_InputPipelineType) Number

func (InputPipelineMetadata_InputPipelineType) String

func (InputPipelineMetadata_InputPipelineType) Type

type InputPipelineStat

type InputPipelineStat struct {

	// Id of the blocking iterator with the longest self time.
	BottleneckIteratorId int64 `protobuf:"varint,2,opt,name=bottleneck_iterator_id,json=bottleneckIteratorId,proto3" json:"bottleneck_iterator_id,omitempty"`
	// Latency of the bottleneck iterator.
	BottleneckIteratorLatencyPs int64 `` /* 147-byte string literal not displayed */
	// Stats per iterator.
	IteratorStats map[int64]*IteratorStat `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

Stat and metadata for input pipeline.

func (*InputPipelineStat) Descriptor deprecated

func (*InputPipelineStat) Descriptor() ([]byte, []int)

Deprecated: Use InputPipelineStat.ProtoReflect.Descriptor instead.

func (*InputPipelineStat) GetBottleneckIteratorId

func (x *InputPipelineStat) GetBottleneckIteratorId() int64

func (*InputPipelineStat) GetBottleneckIteratorLatencyPs

func (x *InputPipelineStat) GetBottleneckIteratorLatencyPs() int64

func (*InputPipelineStat) GetIteratorStats

func (x *InputPipelineStat) GetIteratorStats() map[int64]*IteratorStat

func (*InputPipelineStat) ProtoMessage

func (*InputPipelineStat) ProtoMessage()

func (*InputPipelineStat) ProtoReflect

func (x *InputPipelineStat) ProtoReflect() protoreflect.Message

func (*InputPipelineStat) Reset

func (x *InputPipelineStat) Reset()

func (*InputPipelineStat) String

func (x *InputPipelineStat) String() string

type InputPipelineStats

type InputPipelineStats struct {

	// Metadata of the input pipeline.
	Metadata *InputPipelineMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Average latency (i.e., the root iterator's latency) of the input pipeline.
	AvgLatencyPs int64 `protobuf:"varint,3,opt,name=avg_latency_ps,json=avgLatencyPs,proto3" json:"avg_latency_ps,omitempty"`
	// Minimum latency of the input pipeline.
	MinLatencyPs int64 `protobuf:"varint,4,opt,name=min_latency_ps,json=minLatencyPs,proto3" json:"min_latency_ps,omitempty"`
	// Maximum latency of the input pipeline.
	MaxLatencyPs int64 `protobuf:"varint,5,opt,name=max_latency_ps,json=maxLatencyPs,proto3" json:"max_latency_ps,omitempty"`
	// The number of times this input pipeline was slower than 50 us.
	NumSlowCalls int64 `protobuf:"varint,6,opt,name=num_slow_calls,json=numSlowCalls,proto3" json:"num_slow_calls,omitempty"`
	// Stats per call sorted by the root iterator's duration.
	Stats []*InputPipelineStat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

Collection of metadata and stats of input pipeline.

func (*InputPipelineStats) Descriptor deprecated

func (*InputPipelineStats) Descriptor() ([]byte, []int)

Deprecated: Use InputPipelineStats.ProtoReflect.Descriptor instead.

func (*InputPipelineStats) GetAvgLatencyPs

func (x *InputPipelineStats) GetAvgLatencyPs() int64

func (*InputPipelineStats) GetMaxLatencyPs

func (x *InputPipelineStats) GetMaxLatencyPs() int64

func (*InputPipelineStats) GetMetadata

func (x *InputPipelineStats) GetMetadata() *InputPipelineMetadata

func (*InputPipelineStats) GetMinLatencyPs

func (x *InputPipelineStats) GetMinLatencyPs() int64

func (*InputPipelineStats) GetNumSlowCalls

func (x *InputPipelineStats) GetNumSlowCalls() int64

func (*InputPipelineStats) GetStats

func (x *InputPipelineStats) GetStats() []*InputPipelineStat

func (*InputPipelineStats) ProtoMessage

func (*InputPipelineStats) ProtoMessage()

func (*InputPipelineStats) ProtoReflect

func (x *InputPipelineStats) ProtoReflect() protoreflect.Message

func (*InputPipelineStats) Reset

func (x *InputPipelineStats) Reset()

func (*InputPipelineStats) String

func (x *InputPipelineStats) String() string

type InputTimeBreakdown

type InputTimeBreakdown struct {

	// Time spent on demanded file read in microseconds.
	DemandedFileReadUs float64 `protobuf:"fixed64,1,opt,name=demanded_file_read_us,json=demandedFileReadUs,proto3" json:"demanded_file_read_us,omitempty"`
	// Time spent on advanced file read in microseconds.
	AdvancedFileReadUs float64 `protobuf:"fixed64,2,opt,name=advanced_file_read_us,json=advancedFileReadUs,proto3" json:"advanced_file_read_us,omitempty"`
	// Time spent on data preprocessing in microseconds.
	PreprocessingUs float64 `protobuf:"fixed64,3,opt,name=preprocessing_us,json=preprocessingUs,proto3" json:"preprocessing_us,omitempty"`
	// The infeed enqueue time in microseconds.
	EnqueueUs float64 `protobuf:"fixed64,4,opt,name=enqueue_us,json=enqueueUs,proto3" json:"enqueue_us,omitempty"`
	// This entry is for the situtation where we can't further
	// break down the non-enqueue input time (because the input pipeline
	// is not instrumented).
	UnclassifiedNonEnqueueUs float64 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InputTimeBreakdown) Descriptor deprecated

func (*InputTimeBreakdown) Descriptor() ([]byte, []int)

Deprecated: Use InputTimeBreakdown.ProtoReflect.Descriptor instead.

func (*InputTimeBreakdown) GetAdvancedFileReadUs

func (x *InputTimeBreakdown) GetAdvancedFileReadUs() float64

func (*InputTimeBreakdown) GetDemandedFileReadUs

func (x *InputTimeBreakdown) GetDemandedFileReadUs() float64

func (*InputTimeBreakdown) GetEnqueueUs

func (x *InputTimeBreakdown) GetEnqueueUs() float64

func (*InputTimeBreakdown) GetPreprocessingUs

func (x *InputTimeBreakdown) GetPreprocessingUs() float64

func (*InputTimeBreakdown) GetUnclassifiedNonEnqueueUs

func (x *InputTimeBreakdown) GetUnclassifiedNonEnqueueUs() float64

func (*InputTimeBreakdown) ProtoMessage

func (*InputTimeBreakdown) ProtoMessage()

func (*InputTimeBreakdown) ProtoReflect

func (x *InputTimeBreakdown) ProtoReflect() protoreflect.Message

func (*InputTimeBreakdown) Reset

func (x *InputTimeBreakdown) Reset()

func (*InputTimeBreakdown) String

func (x *InputTimeBreakdown) String() string

type IteratorMetadata

type IteratorMetadata struct {

	// Id of the iterator.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Id of the parent iterator.
	ParentId int64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	// Name of the iterator.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Long name of the iterator.
	LongName string `protobuf:"bytes,6,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
	// Whether it is an async iterator.
	IsAsync bool `protobuf:"varint,4,opt,name=is_async,json=isAsync,proto3" json:"is_async,omitempty"`
	// Parameters of the iterator (e.g., num_parallel_calls).
	Params map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata for iterator.

func (*IteratorMetadata) Descriptor deprecated

func (*IteratorMetadata) Descriptor() ([]byte, []int)

Deprecated: Use IteratorMetadata.ProtoReflect.Descriptor instead.

func (*IteratorMetadata) GetId

func (x *IteratorMetadata) GetId() int64

func (*IteratorMetadata) GetIsAsync

func (x *IteratorMetadata) GetIsAsync() bool

func (*IteratorMetadata) GetLongName

func (x *IteratorMetadata) GetLongName() string

func (*IteratorMetadata) GetName

func (x *IteratorMetadata) GetName() string

func (*IteratorMetadata) GetParams

func (x *IteratorMetadata) GetParams() map[string]string

func (*IteratorMetadata) GetParentId

func (x *IteratorMetadata) GetParentId() int64

func (*IteratorMetadata) ProtoMessage

func (*IteratorMetadata) ProtoMessage()

func (*IteratorMetadata) ProtoReflect

func (x *IteratorMetadata) ProtoReflect() protoreflect.Message

func (*IteratorMetadata) Reset

func (x *IteratorMetadata) Reset()

func (*IteratorMetadata) String

func (x *IteratorMetadata) String() string

type IteratorStat

type IteratorStat struct {

	// Id of the iterator.
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Start time of the iterator's GetNext in ps.
	StartTimePs int64 `protobuf:"varint,2,opt,name=start_time_ps,json=startTimePs,proto3" json:"start_time_ps,omitempty"`
	// Duration of the iterator's GetNext in ps.
	DurationPs int64 `protobuf:"varint,3,opt,name=duration_ps,json=durationPs,proto3" json:"duration_ps,omitempty"`
	// Self time of the iterator's GetNext in ps. It takes account into async
	// iterators. It is calculated by subtracting the time overlapped with its
	// child iterator's duration from the iterator's duration.
	SelfTimePs int64 `protobuf:"varint,4,opt,name=self_time_ps,json=selfTimePs,proto3" json:"self_time_ps,omitempty"`
	// Whether it is blocking the root iterator. An async iterator's child
	// iterator may not block its parent iterator if it is executed in advance and
	// does not overlap with the parent iterator.
	IsBlocking bool `protobuf:"varint,5,opt,name=is_blocking,json=isBlocking,proto3" json:"is_blocking,omitempty"`
	// The number of times this iterator is called. For example, a batch
	// iterator's child iterator may be called multiple times.
	NumCalls int64 `protobuf:"varint,6,opt,name=num_calls,json=numCalls,proto3" json:"num_calls,omitempty"`
	// contains filtered or unexported fields
}

Stat for iterator.

func (*IteratorStat) Descriptor deprecated

func (*IteratorStat) Descriptor() ([]byte, []int)

Deprecated: Use IteratorStat.ProtoReflect.Descriptor instead.

func (*IteratorStat) GetDurationPs

func (x *IteratorStat) GetDurationPs() int64

func (*IteratorStat) GetId

func (x *IteratorStat) GetId() int64

func (*IteratorStat) GetIsBlocking

func (x *IteratorStat) GetIsBlocking() bool

func (*IteratorStat) GetNumCalls

func (x *IteratorStat) GetNumCalls() int64

func (*IteratorStat) GetSelfTimePs

func (x *IteratorStat) GetSelfTimePs() int64

func (*IteratorStat) GetStartTimePs

func (x *IteratorStat) GetStartTimePs() int64

func (*IteratorStat) ProtoMessage

func (*IteratorStat) ProtoMessage()

func (*IteratorStat) ProtoReflect

func (x *IteratorStat) ProtoReflect() protoreflect.Message

func (*IteratorStat) Reset

func (x *IteratorStat) Reset()

func (*IteratorStat) String

func (x *IteratorStat) String() string

type KernelReport

type KernelReport struct {

	// Name of the kernel.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Registers per thread.
	RegistersPerThread uint32 `protobuf:"varint,2,opt,name=registers_per_thread,json=registersPerThread,proto3" json:"registers_per_thread,omitempty"`
	// Static shared memory in bytes.
	StaticShmemBytes uint32 `protobuf:"varint,3,opt,name=static_shmem_bytes,json=staticShmemBytes,proto3" json:"static_shmem_bytes,omitempty"`
	// Dynamic shared memory in bytes.
	DynamicShmemBytes uint32 `protobuf:"varint,4,opt,name=dynamic_shmem_bytes,json=dynamicShmemBytes,proto3" json:"dynamic_shmem_bytes,omitempty"`
	// Block dimensions.
	BlockDim []uint32 `protobuf:"varint,5,rep,packed,name=block_dim,json=blockDim,proto3" json:"block_dim,omitempty"`
	// Grid dimensions.
	GridDim []uint32 `protobuf:"varint,6,rep,packed,name=grid_dim,json=gridDim,proto3" json:"grid_dim,omitempty"`
	// Total duration of this kernel.
	TotalDurationNs uint64 `protobuf:"varint,7,opt,name=total_duration_ns,json=totalDurationNs,proto3" json:"total_duration_ns,omitempty"`
	// Min duration of kernel in nanoseconds.
	MinDurationNs uint64 `protobuf:"varint,8,opt,name=min_duration_ns,json=minDurationNs,proto3" json:"min_duration_ns,omitempty"`
	// Max duration of kernel in nanoseconds.
	MaxDurationNs uint64 `protobuf:"varint,9,opt,name=max_duration_ns,json=maxDurationNs,proto3" json:"max_duration_ns,omitempty"`
	// Kernel utilizes TensorCore instructions.
	IsKernelUsingTensorCore bool `` /* 138-byte string literal not displayed */
	// Operation is eligible to use TensorCores.
	IsOpTensorCoreEligible bool `` /* 135-byte string literal not displayed */
	// TF operation name.
	OpName string `protobuf:"bytes,12,opt,name=op_name,json=opName,proto3" json:"op_name,omitempty"`
	// Number of occurrences.
	Occurrences uint32 `protobuf:"varint,13,opt,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Occupancy percentage.
	OccupancyPct float32 `protobuf:"fixed32,14,opt,name=occupancy_pct,json=occupancyPct,proto3" json:"occupancy_pct,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 15

func (*KernelReport) Descriptor deprecated

func (*KernelReport) Descriptor() ([]byte, []int)

Deprecated: Use KernelReport.ProtoReflect.Descriptor instead.

func (*KernelReport) GetBlockDim

func (x *KernelReport) GetBlockDim() []uint32

func (*KernelReport) GetDynamicShmemBytes

func (x *KernelReport) GetDynamicShmemBytes() uint32

func (*KernelReport) GetGridDim

func (x *KernelReport) GetGridDim() []uint32

func (*KernelReport) GetIsKernelUsingTensorCore

func (x *KernelReport) GetIsKernelUsingTensorCore() bool

func (*KernelReport) GetIsOpTensorCoreEligible

func (x *KernelReport) GetIsOpTensorCoreEligible() bool

func (*KernelReport) GetMaxDurationNs

func (x *KernelReport) GetMaxDurationNs() uint64

func (*KernelReport) GetMinDurationNs

func (x *KernelReport) GetMinDurationNs() uint64

func (*KernelReport) GetName

func (x *KernelReport) GetName() string

func (*KernelReport) GetOccupancyPct

func (x *KernelReport) GetOccupancyPct() float32

func (*KernelReport) GetOccurrences

func (x *KernelReport) GetOccurrences() uint32

func (*KernelReport) GetOpName

func (x *KernelReport) GetOpName() string

func (*KernelReport) GetRegistersPerThread

func (x *KernelReport) GetRegistersPerThread() uint32

func (*KernelReport) GetStaticShmemBytes

func (x *KernelReport) GetStaticShmemBytes() uint32

func (*KernelReport) GetTotalDurationNs

func (x *KernelReport) GetTotalDurationNs() uint64

func (*KernelReport) ProtoMessage

func (*KernelReport) ProtoMessage()

func (*KernelReport) ProtoReflect

func (x *KernelReport) ProtoReflect() protoreflect.Message

func (*KernelReport) Reset

func (x *KernelReport) Reset()

func (*KernelReport) String

func (x *KernelReport) String() string

type KernelStatsDb

type KernelStatsDb struct {

	// A list of kernels aggregated by name.
	Reports []*KernelReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"`
	// contains filtered or unexported fields
}

func (*KernelStatsDb) Descriptor deprecated

func (*KernelStatsDb) Descriptor() ([]byte, []int)

Deprecated: Use KernelStatsDb.ProtoReflect.Descriptor instead.

func (*KernelStatsDb) GetReports

func (x *KernelStatsDb) GetReports() []*KernelReport

func (*KernelStatsDb) ProtoMessage

func (*KernelStatsDb) ProtoMessage()

func (*KernelStatsDb) ProtoReflect

func (x *KernelStatsDb) ProtoReflect() protoreflect.Message

func (*KernelStatsDb) Reset

func (x *KernelStatsDb) Reset()

func (*KernelStatsDb) String

func (x *KernelStatsDb) String() string

type LayoutAnalysis

type LayoutAnalysis struct {

	// The physical data layout, from most-minor to most-major dimensions.
	Dimensions []*LayoutAnalysis_Dimension `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// contains filtered or unexported fields
}

Data layout of an op.

func (*LayoutAnalysis) Descriptor deprecated

func (*LayoutAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use LayoutAnalysis.ProtoReflect.Descriptor instead.

func (*LayoutAnalysis) GetDimensions

func (x *LayoutAnalysis) GetDimensions() []*LayoutAnalysis_Dimension

func (*LayoutAnalysis) ProtoMessage

func (*LayoutAnalysis) ProtoMessage()

func (*LayoutAnalysis) ProtoReflect

func (x *LayoutAnalysis) ProtoReflect() protoreflect.Message

func (*LayoutAnalysis) Reset

func (x *LayoutAnalysis) Reset()

func (*LayoutAnalysis) String

func (x *LayoutAnalysis) String() string

type LayoutAnalysis_Dimension

type LayoutAnalysis_Dimension struct {

	// Size of the data in this dimension.
	Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// Data must be padded to a multiple of alignment.
	Alignment int32 `protobuf:"varint,2,opt,name=alignment,proto3" json:"alignment,omitempty"`
	// What the dimension represents.
	Semantics LayoutDimensionSemantics `protobuf:"varint,3,opt,name=semantics,proto3,enum=tensorflow.profiler.LayoutDimensionSemantics" json:"semantics,omitempty"`
	// contains filtered or unexported fields
}

Physical data layout in each tensor dimension.

func (*LayoutAnalysis_Dimension) Descriptor deprecated

func (*LayoutAnalysis_Dimension) Descriptor() ([]byte, []int)

Deprecated: Use LayoutAnalysis_Dimension.ProtoReflect.Descriptor instead.

func (*LayoutAnalysis_Dimension) GetAlignment

func (x *LayoutAnalysis_Dimension) GetAlignment() int32

func (*LayoutAnalysis_Dimension) GetSemantics

func (*LayoutAnalysis_Dimension) GetSize

func (x *LayoutAnalysis_Dimension) GetSize() int32

func (*LayoutAnalysis_Dimension) ProtoMessage

func (*LayoutAnalysis_Dimension) ProtoMessage()

func (*LayoutAnalysis_Dimension) ProtoReflect

func (x *LayoutAnalysis_Dimension) ProtoReflect() protoreflect.Message

func (*LayoutAnalysis_Dimension) Reset

func (x *LayoutAnalysis_Dimension) Reset()

func (*LayoutAnalysis_Dimension) String

func (x *LayoutAnalysis_Dimension) String() string

type LayoutDimensionSemantics

type LayoutDimensionSemantics int32

What the dimension represents, e.g. spatial, feature or batch.

const (
	LayoutDimensionSemantics_UNKNOWN_SEMANTICS LayoutDimensionSemantics = 0
	LayoutDimensionSemantics_FEATURE           LayoutDimensionSemantics = 1
	LayoutDimensionSemantics_BATCH             LayoutDimensionSemantics = 2
	LayoutDimensionSemantics_SPATIAL           LayoutDimensionSemantics = 3
)

func (LayoutDimensionSemantics) Descriptor

func (LayoutDimensionSemantics) Enum

func (LayoutDimensionSemantics) EnumDescriptor deprecated

func (LayoutDimensionSemantics) EnumDescriptor() ([]byte, []int)

Deprecated: Use LayoutDimensionSemantics.Descriptor instead.

func (LayoutDimensionSemantics) Number

func (LayoutDimensionSemantics) String

func (x LayoutDimensionSemantics) String() string

func (LayoutDimensionSemantics) Type

type LogicalBuffer

type LogicalBuffer struct {
	Id         int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Shape      string  `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	SizeMib    float64 `protobuf:"fixed64,3,opt,name=size_mib,json=sizeMib,proto3" json:"size_mib,omitempty"`
	HloName    string  `protobuf:"bytes,4,opt,name=hlo_name,json=hloName,proto3" json:"hlo_name,omitempty"`
	ShapeIndex []int64 `protobuf:"varint,5,rep,packed,name=shape_index,json=shapeIndex,proto3" json:"shape_index,omitempty"`
	// contains filtered or unexported fields
}

func (*LogicalBuffer) Descriptor deprecated

func (*LogicalBuffer) Descriptor() ([]byte, []int)

Deprecated: Use LogicalBuffer.ProtoReflect.Descriptor instead.

func (*LogicalBuffer) GetHloName

func (x *LogicalBuffer) GetHloName() string

func (*LogicalBuffer) GetId

func (x *LogicalBuffer) GetId() int64

func (*LogicalBuffer) GetShape

func (x *LogicalBuffer) GetShape() string

func (*LogicalBuffer) GetShapeIndex

func (x *LogicalBuffer) GetShapeIndex() []int64

func (*LogicalBuffer) GetSizeMib

func (x *LogicalBuffer) GetSizeMib() float64

func (*LogicalBuffer) ProtoMessage

func (*LogicalBuffer) ProtoMessage()

func (*LogicalBuffer) ProtoReflect

func (x *LogicalBuffer) ProtoReflect() protoreflect.Message

func (*LogicalBuffer) Reset

func (x *LogicalBuffer) Reset()

func (*LogicalBuffer) String

func (x *LogicalBuffer) String() string

type MemBwType added in v2.12.0

type MemBwType int32

Types of memory bandwidth we track in the system.

const (
	// We use FIRST and LAST enum values to be able to iterate over this enum
	// in TypeScript, since the _MIN and _MAX values are not automatically
	// available as in C++.
	MemBwType_MEM_BW_TYPE_FIRST MemBwType = 0
	// Aggregated BW across on-chip and off-chip memory.
	MemBwType_MEM_BW_TYPE_HBM_RW MemBwType = 0
	// On-chip memory read bw.
	MemBwType_MEM_BW_TYPE_SRAM_RD MemBwType = 1
	// On-chip memory write bw.
	MemBwType_MEM_BW_TYPE_SRAM_WR MemBwType = 2
	// Leave last.
	MemBwType_MEM_BW_TYPE_MAX MemBwType = 2
)

func (MemBwType) Descriptor added in v2.12.0

func (MemBwType) Descriptor() protoreflect.EnumDescriptor

func (MemBwType) Enum added in v2.12.0

func (x MemBwType) Enum() *MemBwType

func (MemBwType) EnumDescriptor deprecated added in v2.12.0

func (MemBwType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MemBwType.Descriptor instead.

func (MemBwType) Number added in v2.12.0

func (x MemBwType) Number() protoreflect.EnumNumber

func (MemBwType) String added in v2.12.0

func (x MemBwType) String() string

func (MemBwType) Type added in v2.12.0

type MemoryAccessBreakdown added in v2.14.0

type MemoryAccessBreakdown struct {
	MemoryAccessed []*OpMetrics_MemoryAccessed `protobuf:"bytes,1,rep,name=memory_accessed,json=memoryAccessed,proto3" json:"memory_accessed,omitempty"`
	// contains filtered or unexported fields
}

A container to serialize this repeated field in "symbolized xplane."

func (*MemoryAccessBreakdown) Descriptor deprecated added in v2.14.0

func (*MemoryAccessBreakdown) Descriptor() ([]byte, []int)

Deprecated: Use MemoryAccessBreakdown.ProtoReflect.Descriptor instead.

func (*MemoryAccessBreakdown) GetMemoryAccessed added in v2.14.0

func (x *MemoryAccessBreakdown) GetMemoryAccessed() []*OpMetrics_MemoryAccessed

func (*MemoryAccessBreakdown) ProtoMessage added in v2.14.0

func (*MemoryAccessBreakdown) ProtoMessage()

func (*MemoryAccessBreakdown) ProtoReflect added in v2.14.0

func (x *MemoryAccessBreakdown) ProtoReflect() protoreflect.Message

func (*MemoryAccessBreakdown) Reset added in v2.14.0

func (x *MemoryAccessBreakdown) Reset()

func (*MemoryAccessBreakdown) String added in v2.14.0

func (x *MemoryAccessBreakdown) String() string

type MemoryActivity

type MemoryActivity int32

The memory activity that causes change of memory state.

const (
	MemoryActivity_UNKNOWN_ACTIVITY MemoryActivity = 0
	// Memory allocation in heap.
	MemoryActivity_ALLOCATION MemoryActivity = 1
	// Memory deallocation in heap.
	MemoryActivity_DEALLOCATION MemoryActivity = 2
	// Memory reservation for stack.
	MemoryActivity_RESERVATION MemoryActivity = 3
	// Expansion of existing memory allocation.
	MemoryActivity_EXPANSION MemoryActivity = 4
)

func (MemoryActivity) Descriptor

func (MemoryActivity) Enum

func (x MemoryActivity) Enum() *MemoryActivity

func (MemoryActivity) EnumDescriptor deprecated

func (MemoryActivity) EnumDescriptor() ([]byte, []int)

Deprecated: Use MemoryActivity.Descriptor instead.

func (MemoryActivity) Number

func (MemoryActivity) String

func (x MemoryActivity) String() string

func (MemoryActivity) Type

type MemoryActivityMetadata

type MemoryActivityMetadata struct {

	// The activity associated with the MemoryProfileSnapshot.
	MemoryActivity MemoryActivity `` /* 144-byte string literal not displayed */
	// The requested memory size in bytes from the caller of memory allocation.
	// Should be a positive number.
	RequestedBytes int64 `protobuf:"varint,2,opt,name=requested_bytes,json=requestedBytes,proto3" json:"requested_bytes,omitempty"`
	// The allocated (block/chunk) size for the memory allocation.
	// Should be a positive number.
	AllocationBytes int64 `protobuf:"varint,3,opt,name=allocation_bytes,json=allocationBytes,proto3" json:"allocation_bytes,omitempty"`
	// Starting address of the allocated memory chunk/block.
	Address uint64 `protobuf:"varint,4,opt,name=address,proto3" json:"address,omitempty"`
	// TensorFlow Op name for the memory activity.
	TfOpName string `protobuf:"bytes,5,opt,name=tf_op_name,json=tfOpName,proto3" json:"tf_op_name,omitempty"`
	// Step Id at which the memory activity occurred.
	StepId int64 `protobuf:"varint,6,opt,name=step_id,json=stepId,proto3" json:"step_id,omitempty"`
	// Tensor memory region type including "output", "temp", "persist", and
	// "dynamic".
	RegionType string `protobuf:"bytes,7,opt,name=region_type,json=regionType,proto3" json:"region_type,omitempty"`
	// From enum DataType defined in tensorflow/core/framework/types.proto.
	DataType string `protobuf:"bytes,8,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	// Tensor shape printed in string, e.g. "[3, 3, 512, 512]".
	TensorShape string `protobuf:"bytes,9,opt,name=tensor_shape,json=tensorShape,proto3" json:"tensor_shape,omitempty"`
	// contains filtered or unexported fields
}

The metadata associated with each memory allocation/deallocation. It can also be interpreted as the metadata for the delta of memory state. Next ID: 10

func (*MemoryActivityMetadata) Descriptor deprecated

func (*MemoryActivityMetadata) Descriptor() ([]byte, []int)

Deprecated: Use MemoryActivityMetadata.ProtoReflect.Descriptor instead.

func (*MemoryActivityMetadata) GetAddress

func (x *MemoryActivityMetadata) GetAddress() uint64

func (*MemoryActivityMetadata) GetAllocationBytes

func (x *MemoryActivityMetadata) GetAllocationBytes() int64

func (*MemoryActivityMetadata) GetDataType

func (x *MemoryActivityMetadata) GetDataType() string

func (*MemoryActivityMetadata) GetMemoryActivity

func (x *MemoryActivityMetadata) GetMemoryActivity() MemoryActivity

func (*MemoryActivityMetadata) GetRegionType

func (x *MemoryActivityMetadata) GetRegionType() string

func (*MemoryActivityMetadata) GetRequestedBytes

func (x *MemoryActivityMetadata) GetRequestedBytes() int64

func (*MemoryActivityMetadata) GetStepId

func (x *MemoryActivityMetadata) GetStepId() int64

func (*MemoryActivityMetadata) GetTensorShape

func (x *MemoryActivityMetadata) GetTensorShape() string

func (*MemoryActivityMetadata) GetTfOpName

func (x *MemoryActivityMetadata) GetTfOpName() string

func (*MemoryActivityMetadata) ProtoMessage

func (*MemoryActivityMetadata) ProtoMessage()

func (*MemoryActivityMetadata) ProtoReflect

func (x *MemoryActivityMetadata) ProtoReflect() protoreflect.Message

func (*MemoryActivityMetadata) Reset

func (x *MemoryActivityMetadata) Reset()

func (*MemoryActivityMetadata) String

func (x *MemoryActivityMetadata) String() string

type MemoryAggregationStats

type MemoryAggregationStats struct {

	// Memory usage by stack reservation, in bytes.
	StackReservedBytes int64 `protobuf:"varint,1,opt,name=stack_reserved_bytes,json=stackReservedBytes,proto3" json:"stack_reserved_bytes,omitempty"`
	// Memory usage by heap allocation, in bytes.
	HeapAllocatedBytes int64 `protobuf:"varint,2,opt,name=heap_allocated_bytes,json=heapAllocatedBytes,proto3" json:"heap_allocated_bytes,omitempty"`
	// Free memory available for allocation or reservation, in bytes.
	FreeMemoryBytes int64 `protobuf:"varint,3,opt,name=free_memory_bytes,json=freeMemoryBytes,proto3" json:"free_memory_bytes,omitempty"`
	// Fragmentation value within [0, 1].
	Fragmentation float64 `protobuf:"fixed64,4,opt,name=fragmentation,proto3" json:"fragmentation,omitempty"`
	// The peak memory usage over the entire program (lifetime of memory
	// allocator). It monotonically increases with upper limit as memory capacity.
	PeakBytesInUse int64 `protobuf:"varint,5,opt,name=peak_bytes_in_use,json=peakBytesInUse,proto3" json:"peak_bytes_in_use,omitempty"`
	// contains filtered or unexported fields
}

The aggregated memory stats including heap, stack, free memory and fragmentation at a specific time.

func (*MemoryAggregationStats) Descriptor deprecated

func (*MemoryAggregationStats) Descriptor() ([]byte, []int)

Deprecated: Use MemoryAggregationStats.ProtoReflect.Descriptor instead.

func (*MemoryAggregationStats) GetFragmentation

func (x *MemoryAggregationStats) GetFragmentation() float64

func (*MemoryAggregationStats) GetFreeMemoryBytes

func (x *MemoryAggregationStats) GetFreeMemoryBytes() int64

func (*MemoryAggregationStats) GetHeapAllocatedBytes

func (x *MemoryAggregationStats) GetHeapAllocatedBytes() int64

func (*MemoryAggregationStats) GetPeakBytesInUse

func (x *MemoryAggregationStats) GetPeakBytesInUse() int64

func (*MemoryAggregationStats) GetStackReservedBytes

func (x *MemoryAggregationStats) GetStackReservedBytes() int64

func (*MemoryAggregationStats) ProtoMessage

func (*MemoryAggregationStats) ProtoMessage()

func (*MemoryAggregationStats) ProtoReflect

func (x *MemoryAggregationStats) ProtoReflect() protoreflect.Message

func (*MemoryAggregationStats) Reset

func (x *MemoryAggregationStats) Reset()

func (*MemoryAggregationStats) String

func (x *MemoryAggregationStats) String() string

type MemoryProfile

type MemoryProfile struct {

	// A map from memory allocator's id to PerAllocatorMemoryProfile for memory
	// usage analysis on this host.
	MemoryProfilePerAllocator map[string]*PerAllocatorMemoryProfile `` /* 228-byte string literal not displayed */
	// Number of hosts profiled, used to populate host selection list at front
	// end.
	NumHosts int32 `protobuf:"varint,2,opt,name=num_hosts,json=numHosts,proto3" json:"num_hosts,omitempty"`
	// Ids for profiled memory allocators, used to populate memory selection list
	// at front end.
	MemoryIds []string `protobuf:"bytes,3,rep,name=memory_ids,json=memoryIds,proto3" json:"memory_ids,omitempty"`
	// Version number of MemoryProfile proto.
	Version int32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

Data for memory usage analysis in one host.

func (*MemoryProfile) Descriptor deprecated

func (*MemoryProfile) Descriptor() ([]byte, []int)

Deprecated: Use MemoryProfile.ProtoReflect.Descriptor instead.

func (*MemoryProfile) GetMemoryIds

func (x *MemoryProfile) GetMemoryIds() []string

func (*MemoryProfile) GetMemoryProfilePerAllocator

func (x *MemoryProfile) GetMemoryProfilePerAllocator() map[string]*PerAllocatorMemoryProfile

func (*MemoryProfile) GetNumHosts

func (x *MemoryProfile) GetNumHosts() int32

func (*MemoryProfile) GetVersion

func (x *MemoryProfile) GetVersion() int32

func (*MemoryProfile) ProtoMessage

func (*MemoryProfile) ProtoMessage()

func (*MemoryProfile) ProtoReflect

func (x *MemoryProfile) ProtoReflect() protoreflect.Message

func (*MemoryProfile) Reset

func (x *MemoryProfile) Reset()

func (*MemoryProfile) String

func (x *MemoryProfile) String() string

type MemoryProfileSnapshot

type MemoryProfileSnapshot struct {

	// Memory activity timestamp.
	TimeOffsetPs int64 `protobuf:"varint,1,opt,name=time_offset_ps,json=timeOffsetPs,proto3" json:"time_offset_ps,omitempty"`
	// The memory aggregation stats at the snapshot time.
	AggregationStats *MemoryAggregationStats `protobuf:"bytes,2,opt,name=aggregation_stats,json=aggregationStats,proto3" json:"aggregation_stats,omitempty"`
	// The metadata for the memory activity at the snapshot time.
	ActivityMetadata *MemoryActivityMetadata `protobuf:"bytes,3,opt,name=activity_metadata,json=activityMetadata,proto3" json:"activity_metadata,omitempty"`
	// contains filtered or unexported fields
}

Profile snapshot of the TensorFlow memory at runtime, including MemoryAggregationStats (memory usage breakdown etc.), and MemoryActivityMetadata (allocation or deallocation, TF Op name etc.).

func (*MemoryProfileSnapshot) Descriptor deprecated

func (*MemoryProfileSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use MemoryProfileSnapshot.ProtoReflect.Descriptor instead.

func (*MemoryProfileSnapshot) GetActivityMetadata

func (x *MemoryProfileSnapshot) GetActivityMetadata() *MemoryActivityMetadata

func (*MemoryProfileSnapshot) GetAggregationStats

func (x *MemoryProfileSnapshot) GetAggregationStats() *MemoryAggregationStats

func (*MemoryProfileSnapshot) GetTimeOffsetPs

func (x *MemoryProfileSnapshot) GetTimeOffsetPs() int64

func (*MemoryProfileSnapshot) ProtoMessage

func (*MemoryProfileSnapshot) ProtoMessage()

func (*MemoryProfileSnapshot) ProtoReflect

func (x *MemoryProfileSnapshot) ProtoReflect() protoreflect.Message

func (*MemoryProfileSnapshot) Reset

func (x *MemoryProfileSnapshot) Reset()

func (*MemoryProfileSnapshot) String

func (x *MemoryProfileSnapshot) String() string

type MemoryProfileSummary

type MemoryProfileSummary struct {

	// The peak memory usage over the entire program (lifetime of memory
	// allocator).
	PeakBytesUsageLifetime int64 `` /* 132-byte string literal not displayed */
	// The peak memory usage stats within the profiling window.
	PeakStats *MemoryAggregationStats `protobuf:"bytes,2,opt,name=peak_stats,json=peakStats,proto3" json:"peak_stats,omitempty"`
	// The timestamp for peak memory usage within the profiling window.
	PeakStatsTimePs int64 `protobuf:"varint,3,opt,name=peak_stats_time_ps,json=peakStatsTimePs,proto3" json:"peak_stats_time_ps,omitempty"`
	// The memory capacity of the allocator.
	MemoryCapacity int64 `protobuf:"varint,4,opt,name=memory_capacity,json=memoryCapacity,proto3" json:"memory_capacity,omitempty"`
	// contains filtered or unexported fields
}

The summary of memory profile within the profiling window duration.

func (*MemoryProfileSummary) Descriptor deprecated

func (*MemoryProfileSummary) Descriptor() ([]byte, []int)

Deprecated: Use MemoryProfileSummary.ProtoReflect.Descriptor instead.

func (*MemoryProfileSummary) GetMemoryCapacity

func (x *MemoryProfileSummary) GetMemoryCapacity() int64

func (*MemoryProfileSummary) GetPeakBytesUsageLifetime

func (x *MemoryProfileSummary) GetPeakBytesUsageLifetime() int64

func (*MemoryProfileSummary) GetPeakStats

func (x *MemoryProfileSummary) GetPeakStats() *MemoryAggregationStats

func (*MemoryProfileSummary) GetPeakStatsTimePs

func (x *MemoryProfileSummary) GetPeakStatsTimePs() int64

func (*MemoryProfileSummary) ProtoMessage

func (*MemoryProfileSummary) ProtoMessage()

func (*MemoryProfileSummary) ProtoReflect

func (x *MemoryProfileSummary) ProtoReflect() protoreflect.Message

func (*MemoryProfileSummary) Reset

func (x *MemoryProfileSummary) Reset()

func (*MemoryProfileSummary) String

func (x *MemoryProfileSummary) String() string

type MemorySpace added in v2.12.0

type MemorySpace int32

Tensorflow generic memory space names.

const (
	MemorySpace_MEMORY_SPACE_UNDEFINED MemorySpace = 0
	// Off-chip memory.
	// Assume all backends use 1 for HBM/off-chip memory.
	MemorySpace_MEMORY_SPACE_HBM MemorySpace = 1
	// On-chip memory.
	MemorySpace_MEMORY_SPACE_ON_CHIP MemorySpace = 2147483646
	// Any memory.
	MemorySpace_MEMORY_SPACE_ALL MemorySpace = 2147483647
)

func (MemorySpace) Descriptor added in v2.12.0

func (MemorySpace) Enum added in v2.12.0

func (x MemorySpace) Enum() *MemorySpace

func (MemorySpace) EnumDescriptor deprecated added in v2.12.0

func (MemorySpace) EnumDescriptor() ([]byte, []int)

Deprecated: Use MemorySpace.Descriptor instead.

func (MemorySpace) Number added in v2.12.0

func (x MemorySpace) Number() protoreflect.EnumNumber

func (MemorySpace) String added in v2.12.0

func (x MemorySpace) String() string

func (MemorySpace) Type added in v2.12.0

type Metrics

type Metrics struct {

	// Floating point computations performed by this operation, as a fraction of
	// peak core FLOPS * program time. This representation has useful properties:
	//   - it is proportional to the number of floating point operations performed
	//   - utilization is flops/time
	//   - wasted potential flops is proportional to time - flops
	//   - it does not reveal the peak core FLOPS of the hardware
	Flops float64 `protobuf:"fixed64,2,opt,name=flops,proto3" json:"flops,omitempty"`
	// The memory bandwidth used to load operands, as a fraction of
	// thereotical memory bandwidth on the specific hardware.
	// Index into array using MemBwType enum.
	BandwidthUtils []float64 `protobuf:"fixed64,5,rep,packed,name=bandwidth_utils,json=bandwidthUtils,proto3" json:"bandwidth_utils,omitempty"`
	// The raw stats below are aggregated across all occurrences.
	RawTime  float64 `protobuf:"fixed64,11,opt,name=raw_time,json=rawTime,proto3" json:"raw_time,omitempty"`    // Elapsed core-time in picoseconds.
	RawFlops float64 `protobuf:"fixed64,12,opt,name=raw_flops,json=rawFlops,proto3" json:"raw_flops,omitempty"` // Total floating-point operations performed.
	// Total bytes accessed for each memory type.
	// Index into array using MemBwType enum.
	RawBytesAccessedArray []float64 `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Measurements of an operation (or aggregated set of operations). Metrics are always "total" rather than "self".

func (*Metrics) Descriptor deprecated

func (*Metrics) Descriptor() ([]byte, []int)

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) GetBandwidthUtils added in v2.12.0

func (x *Metrics) GetBandwidthUtils() []float64

func (*Metrics) GetFlops

func (x *Metrics) GetFlops() float64

func (*Metrics) GetRawBytesAccessedArray added in v2.12.0

func (x *Metrics) GetRawBytesAccessedArray() []float64

func (*Metrics) GetRawFlops

func (x *Metrics) GetRawFlops() float64

func (*Metrics) GetRawTime

func (x *Metrics) GetRawTime() float64

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) ProtoReflect

func (x *Metrics) ProtoReflect() protoreflect.Message

func (*Metrics) Reset

func (x *Metrics) Reset()

func (*Metrics) String

func (x *Metrics) String() string

type Node

type Node struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`         // Semantics depend on contents.
	Metrics  *Metrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`   // May be omitted e.g. for fused instructions.
	Children []*Node  `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"` // Subjected to pruning.
	// Details about what this node represents.
	//
	// Types that are assignable to Contents:
	//
	//	*Node_Category
	//	*Node_Xla
	Contents    isNode_Contents `protobuf_oneof:"contents"`
	NumChildren int32           `protobuf:"varint,6,opt,name=num_children,json=numChildren,proto3" json:"num_children,omitempty"` // Total number of children before pruning.
	// contains filtered or unexported fields
}

An entry in the profile tree. (An instruction, or set of instructions).

func (*Node) Descriptor deprecated

func (*Node) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetCategory

func (x *Node) GetCategory() *Node_InstructionCategory

func (*Node) GetChildren

func (x *Node) GetChildren() []*Node

func (*Node) GetContents

func (m *Node) GetContents() isNode_Contents

func (*Node) GetMetrics

func (x *Node) GetMetrics() *Metrics

func (*Node) GetName

func (x *Node) GetName() string

func (*Node) GetNumChildren

func (x *Node) GetNumChildren() int32

func (*Node) GetXla

func (x *Node) GetXla() *Node_XLAInstruction

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type Node_Category

type Node_Category struct {
	Category *Node_InstructionCategory `protobuf:"bytes,4,opt,name=category,proto3,oneof"`
}

type Node_InstructionCategory

type Node_InstructionCategory struct {
	// contains filtered or unexported fields
}

A category of XLA instructions. name is a descriptive string, like "data formatting".

func (*Node_InstructionCategory) Descriptor deprecated

func (*Node_InstructionCategory) Descriptor() ([]byte, []int)

Deprecated: Use Node_InstructionCategory.ProtoReflect.Descriptor instead.

func (*Node_InstructionCategory) ProtoMessage

func (*Node_InstructionCategory) ProtoMessage()

func (*Node_InstructionCategory) ProtoReflect

func (x *Node_InstructionCategory) ProtoReflect() protoreflect.Message

func (*Node_InstructionCategory) Reset

func (x *Node_InstructionCategory) Reset()

func (*Node_InstructionCategory) String

func (x *Node_InstructionCategory) String() string

type Node_XLAInstruction

type Node_XLAInstruction struct {
	Op         string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty"`                 // Opcode like %multiply
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // %multiply = [shape]multiply(operand1, operand2)
	Provenance string `protobuf:"bytes,3,opt,name=provenance,proto3" json:"provenance,omitempty"` // Typically the TensorFlow operation name.
	Category   string `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	// Describes the physical memory layout of the instruction's primary input.
	// e.g. for a convolution, this analyzes the image and ignores the kernel.
	Layout                   *Node_XLAInstruction_LayoutAnalysis `protobuf:"bytes,5,opt,name=layout,proto3" json:"layout,omitempty"`
	ComputationPrimitiveSize uint32                              `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

A single XLA instruction. name is the unique instruction id, like "%multiply.5".

func (*Node_XLAInstruction) Descriptor deprecated

func (*Node_XLAInstruction) Descriptor() ([]byte, []int)

Deprecated: Use Node_XLAInstruction.ProtoReflect.Descriptor instead.

func (*Node_XLAInstruction) GetCategory

func (x *Node_XLAInstruction) GetCategory() string

func (*Node_XLAInstruction) GetComputationPrimitiveSize

func (x *Node_XLAInstruction) GetComputationPrimitiveSize() uint32

func (*Node_XLAInstruction) GetExpression

func (x *Node_XLAInstruction) GetExpression() string

func (*Node_XLAInstruction) GetLayout

func (*Node_XLAInstruction) GetOp

func (x *Node_XLAInstruction) GetOp() string

func (*Node_XLAInstruction) GetProvenance

func (x *Node_XLAInstruction) GetProvenance() string

func (*Node_XLAInstruction) ProtoMessage

func (*Node_XLAInstruction) ProtoMessage()

func (*Node_XLAInstruction) ProtoReflect

func (x *Node_XLAInstruction) ProtoReflect() protoreflect.Message

func (*Node_XLAInstruction) Reset

func (x *Node_XLAInstruction) Reset()

func (*Node_XLAInstruction) String

func (x *Node_XLAInstruction) String() string

type Node_XLAInstruction_LayoutAnalysis

type Node_XLAInstruction_LayoutAnalysis struct {

	// The physical data layout, from most-minor to most-major dimensions.
	Dimensions []*Node_XLAInstruction_LayoutAnalysis_Dimension `protobuf:"bytes,1,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// contains filtered or unexported fields
}

func (*Node_XLAInstruction_LayoutAnalysis) Descriptor deprecated

func (*Node_XLAInstruction_LayoutAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use Node_XLAInstruction_LayoutAnalysis.ProtoReflect.Descriptor instead.

func (*Node_XLAInstruction_LayoutAnalysis) GetDimensions

func (*Node_XLAInstruction_LayoutAnalysis) ProtoMessage

func (*Node_XLAInstruction_LayoutAnalysis) ProtoMessage()

func (*Node_XLAInstruction_LayoutAnalysis) ProtoReflect

func (*Node_XLAInstruction_LayoutAnalysis) Reset

func (*Node_XLAInstruction_LayoutAnalysis) String

type Node_XLAInstruction_LayoutAnalysis_Dimension

type Node_XLAInstruction_LayoutAnalysis_Dimension struct {
	Size      int32  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`           // Size of the data in this dimension.
	Alignment int32  `protobuf:"varint,2,opt,name=alignment,proto3" json:"alignment,omitempty"` // Data must be padded to a multiple of alignment.
	Semantics string `protobuf:"bytes,3,opt,name=semantics,proto3" json:"semantics,omitempty"`  // What the dimension represents, e.g. "spatial".
	// contains filtered or unexported fields
}

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) Descriptor deprecated

Deprecated: Use Node_XLAInstruction_LayoutAnalysis_Dimension.ProtoReflect.Descriptor instead.

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) GetAlignment

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) GetSemantics

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) GetSize

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) ProtoMessage

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) ProtoReflect

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) Reset

func (*Node_XLAInstruction_LayoutAnalysis_Dimension) String

type Node_Xla

type Node_Xla struct {
	Xla *Node_XLAInstruction `protobuf:"bytes,5,opt,name=xla,proto3,oneof"`
}

type OpMetrics

type OpMetrics struct {

	// HLO module id. 0 for TF ops.
	HloModuleId uint64 `protobuf:"varint,13,opt,name=hlo_module_id,json=hloModuleId,proto3" json:"hlo_module_id,omitempty"`
	// Name of this op.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Long name of this op (e.g., HLO expression).
	LongName string `protobuf:"bytes,20,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
	// Category of this op.
	Category string `protobuf:"bytes,11,opt,name=category,proto3" json:"category,omitempty"`
	// Provenance of this op (e.g., if HLO op, original TF op).
	Provenance string `protobuf:"bytes,12,opt,name=provenance,proto3" json:"provenance,omitempty"`
	// Whether it is executed eagerly.
	IsEager bool `protobuf:"varint,18,opt,name=is_eager,json=isEager,proto3" json:"is_eager,omitempty"`
	// Number of executions.
	Occurrences uint32 `protobuf:"varint,3,opt,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Total time (self + children) in picoseconds.
	TimePs uint64 `protobuf:"varint,7,opt,name=time_ps,json=timePs,proto3" json:"time_ps,omitempty"`
	// Minimum time (self + children) among all occurrences.
	MinTimePs uint64 `protobuf:"varint,17,opt,name=min_time_ps,json=minTimePs,proto3" json:"min_time_ps,omitempty"`
	// Total self time in picoseconds.
	SelfTimePs uint64 `protobuf:"varint,1,opt,name=self_time_ps,json=selfTimePs,proto3" json:"self_time_ps,omitempty"`
	// Total FLOPs.
	Flops uint64 `protobuf:"varint,2,opt,name=flops,proto3" json:"flops,omitempty"`
	// Total bytes accessed.
	BytesAccessed           uint64                      `protobuf:"varint,5,opt,name=bytes_accessed,json=bytesAccessed,proto3" json:"bytes_accessed,omitempty"`
	MemoryAccessedBreakdown []*OpMetrics_MemoryAccessed `` /* 133-byte string literal not displayed */
	// Total dma stall time in picoseconds.
	DmaStallPs uint64 `protobuf:"varint,10,opt,name=dma_stall_ps,json=dmaStallPs,proto3" json:"dma_stall_ps,omitempty"`
	// The data layout for this op. Only set for convolution ops for now.
	Layout *LayoutAnalysis `protobuf:"bytes,14,opt,name=layout,proto3" json:"layout,omitempty"`
	// Deduplicated HLO name for this op. Not set for TF ops.
	DeduplicatedName string `protobuf:"bytes,15,opt,name=deduplicated_name,json=deduplicatedName,proto3" json:"deduplicated_name,omitempty"`
	// Children of the op. e.g. fused ops if this op is fusion.
	Children *OpMetricsDb `protobuf:"bytes,16,opt,name=children,proto3" json:"children,omitempty"`
	// Number of cores this op occurs.
	NumCores uint32 `protobuf:"varint,21,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"`
	// Computation primitive size in BITS. This is the size of the type of the
	// hardware computation. In the future this may be extended to include info
	// such as signed/unsigned, int/fp, etc. Currently only the size is needed.
	ComputationPrimitiveSize uint32 `` /* 137-byte string literal not displayed */
	// Whether the op is autotuned.
	Autotuned bool `protobuf:"varint,23,opt,name=autotuned,proto3" json:"autotuned,omitempty"`
	// contains filtered or unexported fields
}

Metrics for an operation (accumulated over all occurrences). Next ID: 24

func (*OpMetrics) Descriptor deprecated

func (*OpMetrics) Descriptor() ([]byte, []int)

Deprecated: Use OpMetrics.ProtoReflect.Descriptor instead.

func (*OpMetrics) GetAutotuned

func (x *OpMetrics) GetAutotuned() bool

func (*OpMetrics) GetBytesAccessed

func (x *OpMetrics) GetBytesAccessed() uint64

func (*OpMetrics) GetCategory

func (x *OpMetrics) GetCategory() string

func (*OpMetrics) GetChildren

func (x *OpMetrics) GetChildren() *OpMetricsDb

func (*OpMetrics) GetComputationPrimitiveSize

func (x *OpMetrics) GetComputationPrimitiveSize() uint32

func (*OpMetrics) GetDeduplicatedName

func (x *OpMetrics) GetDeduplicatedName() string

func (*OpMetrics) GetDmaStallPs

func (x *OpMetrics) GetDmaStallPs() uint64

func (*OpMetrics) GetFlops

func (x *OpMetrics) GetFlops() uint64

func (*OpMetrics) GetHloModuleId

func (x *OpMetrics) GetHloModuleId() uint64

func (*OpMetrics) GetIsEager

func (x *OpMetrics) GetIsEager() bool

func (*OpMetrics) GetLayout

func (x *OpMetrics) GetLayout() *LayoutAnalysis

func (*OpMetrics) GetLongName

func (x *OpMetrics) GetLongName() string

func (*OpMetrics) GetMemoryAccessedBreakdown

func (x *OpMetrics) GetMemoryAccessedBreakdown() []*OpMetrics_MemoryAccessed

func (*OpMetrics) GetMinTimePs

func (x *OpMetrics) GetMinTimePs() uint64

func (*OpMetrics) GetName

func (x *OpMetrics) GetName() string

func (*OpMetrics) GetNumCores

func (x *OpMetrics) GetNumCores() uint32

func (*OpMetrics) GetOccurrences

func (x *OpMetrics) GetOccurrences() uint32

func (*OpMetrics) GetProvenance

func (x *OpMetrics) GetProvenance() string

func (*OpMetrics) GetSelfTimePs

func (x *OpMetrics) GetSelfTimePs() uint64

func (*OpMetrics) GetTimePs

func (x *OpMetrics) GetTimePs() uint64

func (*OpMetrics) ProtoMessage

func (*OpMetrics) ProtoMessage()

func (*OpMetrics) ProtoReflect

func (x *OpMetrics) ProtoReflect() protoreflect.Message

func (*OpMetrics) Reset

func (x *OpMetrics) Reset()

func (*OpMetrics) String

func (x *OpMetrics) String() string

type OpMetricsDb

type OpMetricsDb struct {

	// A bunch of OpMetrics.
	MetricsDb []*OpMetrics `protobuf:"bytes,10,rep,name=metrics_db,json=metricsDb,proto3" json:"metrics_db,omitempty"`
	// The total host infeed-enqueue duration in picoseconds.
	TotalHostInfeedEnqDurationPs uint64 `` /* 154-byte string literal not displayed */
	// The total of the difference between the start times of two
	// consecutive infeed-enqueues (per host) in picoseconds.
	TotalHostInfeedEnqStartTimestampPsDiff uint64 `` /* 188-byte string literal not displayed */
	// The total time in picoseconds.
	TotalTimePs uint64 `protobuf:"varint,11,opt,name=total_time_ps,json=totalTimePs,proto3" json:"total_time_ps,omitempty"`
	// The total time incurred by OPs in picoseconds.
	TotalOpTimePs uint64 `protobuf:"varint,12,opt,name=total_op_time_ps,json=totalOpTimePs,proto3" json:"total_op_time_ps,omitempty"`
	// Precision-related stats.
	PrecisionStats *PrecisionStats `protobuf:"bytes,13,opt,name=precision_stats,json=precisionStats,proto3" json:"precision_stats,omitempty"`
	// contains filtered or unexported fields
}

A database for OpMetrics. Next ID: 14

func (*OpMetricsDb) Descriptor deprecated

func (*OpMetricsDb) Descriptor() ([]byte, []int)

Deprecated: Use OpMetricsDb.ProtoReflect.Descriptor instead.

func (*OpMetricsDb) GetMetricsDb

func (x *OpMetricsDb) GetMetricsDb() []*OpMetrics

func (*OpMetricsDb) GetPrecisionStats

func (x *OpMetricsDb) GetPrecisionStats() *PrecisionStats

func (*OpMetricsDb) GetTotalHostInfeedEnqDurationPs

func (x *OpMetricsDb) GetTotalHostInfeedEnqDurationPs() uint64

func (*OpMetricsDb) GetTotalHostInfeedEnqStartTimestampPsDiff

func (x *OpMetricsDb) GetTotalHostInfeedEnqStartTimestampPsDiff() uint64

func (*OpMetricsDb) GetTotalOpTimePs

func (x *OpMetricsDb) GetTotalOpTimePs() uint64

func (*OpMetricsDb) GetTotalTimePs

func (x *OpMetricsDb) GetTotalTimePs() uint64

func (*OpMetricsDb) ProtoMessage

func (*OpMetricsDb) ProtoMessage()

func (*OpMetricsDb) ProtoReflect

func (x *OpMetricsDb) ProtoReflect() protoreflect.Message

func (*OpMetricsDb) Reset

func (x *OpMetricsDb) Reset()

func (*OpMetricsDb) String

func (x *OpMetricsDb) String() string

type OpMetrics_MemoryAccessed

type OpMetrics_MemoryAccessed struct {
	OperationType OpMetrics_MemoryAccessed_OperationType `` /* 165-byte string literal not displayed */
	// Device-specific id of memory space.
	MemorySpace   uint64 `protobuf:"varint,2,opt,name=memory_space,json=memorySpace,proto3" json:"memory_space,omitempty"`
	BytesAccessed uint64 `protobuf:"varint,3,opt,name=bytes_accessed,json=bytesAccessed,proto3" json:"bytes_accessed,omitempty"`
	// contains filtered or unexported fields
}

Breakdown of memory accessed by operation type and memory space.

func (*OpMetrics_MemoryAccessed) Descriptor deprecated

func (*OpMetrics_MemoryAccessed) Descriptor() ([]byte, []int)

Deprecated: Use OpMetrics_MemoryAccessed.ProtoReflect.Descriptor instead.

func (*OpMetrics_MemoryAccessed) GetBytesAccessed

func (x *OpMetrics_MemoryAccessed) GetBytesAccessed() uint64

func (*OpMetrics_MemoryAccessed) GetMemorySpace

func (x *OpMetrics_MemoryAccessed) GetMemorySpace() uint64

func (*OpMetrics_MemoryAccessed) GetOperationType

func (*OpMetrics_MemoryAccessed) ProtoMessage

func (*OpMetrics_MemoryAccessed) ProtoMessage()

func (*OpMetrics_MemoryAccessed) ProtoReflect

func (x *OpMetrics_MemoryAccessed) ProtoReflect() protoreflect.Message

func (*OpMetrics_MemoryAccessed) Reset

func (x *OpMetrics_MemoryAccessed) Reset()

func (*OpMetrics_MemoryAccessed) String

func (x *OpMetrics_MemoryAccessed) String() string

type OpMetrics_MemoryAccessed_OperationType

type OpMetrics_MemoryAccessed_OperationType int32
const (
	OpMetrics_MemoryAccessed_UNKNOWN OpMetrics_MemoryAccessed_OperationType = 0
	OpMetrics_MemoryAccessed_READ    OpMetrics_MemoryAccessed_OperationType = 1
	OpMetrics_MemoryAccessed_WRITE   OpMetrics_MemoryAccessed_OperationType = 2
)

func (OpMetrics_MemoryAccessed_OperationType) Descriptor

func (OpMetrics_MemoryAccessed_OperationType) Enum

func (OpMetrics_MemoryAccessed_OperationType) EnumDescriptor deprecated

func (OpMetrics_MemoryAccessed_OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OpMetrics_MemoryAccessed_OperationType.Descriptor instead.

func (OpMetrics_MemoryAccessed_OperationType) Number

func (OpMetrics_MemoryAccessed_OperationType) String

func (OpMetrics_MemoryAccessed_OperationType) Type

type OpStats

type OpStats struct {

	// The database for the op metrics collected from the host over the entire
	// profiling session including incomplete steps.
	HostOpMetricsDb *OpMetricsDb `protobuf:"bytes,1,opt,name=host_op_metrics_db,json=hostOpMetricsDb,proto3" json:"host_op_metrics_db,omitempty"`
	// The database for the op metrics collected from the device over the entire
	// profiling session including incomplete steps.
	DeviceOpMetricsDb *OpMetricsDb `protobuf:"bytes,2,opt,name=device_op_metrics_db,json=deviceOpMetricsDb,proto3" json:"device_op_metrics_db,omitempty"`
	// The result for the HLO-metric database over the complete steps only.
	HloMetricsDbCompleteStepsOnly *OpMetricsDb `` /* 157-byte string literal not displayed */
	// Performance environment of the op metrics collected.
	PerfEnv *PerfEnv `protobuf:"bytes,3,opt,name=perf_env,json=perfEnv,proto3" json:"perf_env,omitempty"`
	// The database of step sequences.
	StepDb *StepDatabaseResult `protobuf:"bytes,4,opt,name=step_db,json=stepDb,proto3" json:"step_db,omitempty"`
	// The run environment of this profiling session.
	RunEnvironment *RunEnvironment `protobuf:"bytes,5,opt,name=run_environment,json=runEnvironment,proto3" json:"run_environment,omitempty"`
	// Kernel stats results from all GPUs.
	KernelStatsDb *KernelStatsDb `protobuf:"bytes,6,opt,name=kernel_stats_db,json=kernelStatsDb,proto3" json:"kernel_stats_db,omitempty"`
	// Statistics for all tf-functions.
	TfFunctionDb *TfFunctionDb `protobuf:"bytes,8,opt,name=tf_function_db,json=tfFunctionDb,proto3" json:"tf_function_db,omitempty"`
	// A map from core ID to details.
	CoreIdToDetails map[uint32]*CoreDetails `` /* 200-byte string literal not displayed */
	// Error and warning messages for diagnosing profiling issues.
	Diagnostics *Diagnostics `protobuf:"bytes,9,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// A map from program ID to program name.
	ProgramIdToNameMap map[uint64]string `` /* 211-byte string literal not displayed */
	// Performance counters.
	PerformanceCounterResult *PerformanceCounterResult `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Next ID: 14 Operator Statistics.

func (*OpStats) Descriptor deprecated

func (*OpStats) Descriptor() ([]byte, []int)

Deprecated: Use OpStats.ProtoReflect.Descriptor instead.

func (*OpStats) GetCoreIdToDetails

func (x *OpStats) GetCoreIdToDetails() map[uint32]*CoreDetails

func (*OpStats) GetDeviceOpMetricsDb

func (x *OpStats) GetDeviceOpMetricsDb() *OpMetricsDb

func (*OpStats) GetDiagnostics

func (x *OpStats) GetDiagnostics() *Diagnostics

func (*OpStats) GetHloMetricsDbCompleteStepsOnly

func (x *OpStats) GetHloMetricsDbCompleteStepsOnly() *OpMetricsDb

func (*OpStats) GetHostOpMetricsDb

func (x *OpStats) GetHostOpMetricsDb() *OpMetricsDb

func (*OpStats) GetKernelStatsDb

func (x *OpStats) GetKernelStatsDb() *KernelStatsDb

func (*OpStats) GetPerfEnv

func (x *OpStats) GetPerfEnv() *PerfEnv

func (*OpStats) GetPerformanceCounterResult added in v2.11.0

func (x *OpStats) GetPerformanceCounterResult() *PerformanceCounterResult

func (*OpStats) GetProgramIdToNameMap

func (x *OpStats) GetProgramIdToNameMap() map[uint64]string

func (*OpStats) GetRunEnvironment

func (x *OpStats) GetRunEnvironment() *RunEnvironment

func (*OpStats) GetStepDb

func (x *OpStats) GetStepDb() *StepDatabaseResult

func (*OpStats) GetTfFunctionDb

func (x *OpStats) GetTfFunctionDb() *TfFunctionDb

func (*OpStats) ProtoMessage

func (*OpStats) ProtoMessage()

func (*OpStats) ProtoReflect

func (x *OpStats) ProtoReflect() protoreflect.Message

func (*OpStats) Reset

func (x *OpStats) Reset()

func (*OpStats) String

func (x *OpStats) String() string

type OverviewPage

type OverviewPage struct {

	// The run environment of the profiled session.
	RunEnvironment *OverviewPageRunEnvironment `protobuf:"bytes,6,opt,name=run_environment,json=runEnvironment,proto3" json:"run_environment,omitempty"`
	// The step-time result.
	InputAnalysis *InputPipelineAnalysisResult `protobuf:"bytes,2,opt,name=input_analysis,json=inputAnalysis,proto3" json:"input_analysis,omitempty"`
	// The other analysis result.
	Analysis *OverviewPageAnalysis `protobuf:"bytes,3,opt,name=analysis,proto3" json:"analysis,omitempty"`
	// The recommendation made to the user.
	Recommendation *OverviewPageRecommendation `protobuf:"bytes,4,opt,name=recommendation,proto3" json:"recommendation,omitempty"`
	// Error and warning messages for diagnosing profiling issues.
	Diagnostics *Diagnostics `protobuf:"bytes,8,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*OverviewPage) Descriptor deprecated

func (*OverviewPage) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPage.ProtoReflect.Descriptor instead.

func (*OverviewPage) GetAnalysis

func (x *OverviewPage) GetAnalysis() *OverviewPageAnalysis

func (*OverviewPage) GetDiagnostics

func (x *OverviewPage) GetDiagnostics() *Diagnostics

func (*OverviewPage) GetInputAnalysis

func (x *OverviewPage) GetInputAnalysis() *InputPipelineAnalysisResult

func (*OverviewPage) GetRecommendation

func (x *OverviewPage) GetRecommendation() *OverviewPageRecommendation

func (*OverviewPage) GetRunEnvironment

func (x *OverviewPage) GetRunEnvironment() *OverviewPageRunEnvironment

func (*OverviewPage) ProtoMessage

func (*OverviewPage) ProtoMessage()

func (*OverviewPage) ProtoReflect

func (x *OverviewPage) ProtoReflect() protoreflect.Message

func (*OverviewPage) Reset

func (x *OverviewPage) Reset()

func (*OverviewPage) String

func (x *OverviewPage) String() string

type OverviewPageAnalysis

type OverviewPageAnalysis struct {

	// MXU utilization in percentage.
	MxuUtilizationPercent float64 `` /* 128-byte string literal not displayed */
	// Percentage of the device time that is idle.
	DeviceIdleTimePercent float64 `` /* 130-byte string literal not displayed */
	// Percentage of the host time that is idle.
	HostIdleTimePercent float64 `protobuf:"fixed64,3,opt,name=host_idle_time_percent,json=hostIdleTimePercent,proto3" json:"host_idle_time_percent,omitempty"`
	// Top TF Ops executed on the device.
	TopDeviceOps []*OverviewTfOp `protobuf:"bytes,4,rep,name=top_device_ops,json=topDeviceOps,proto3" json:"top_device_ops,omitempty"`
	// Remark text in the performance summary section.
	RemarkText string `protobuf:"bytes,5,opt,name=remark_text,json=remarkText,proto3" json:"remark_text,omitempty"`
	// Color of the remark text.
	RemarkColor string `protobuf:"bytes,6,opt,name=remark_color,json=remarkColor,proto3" json:"remark_color,omitempty"`
	// FLOP rate utilization relative to the roofline in percentage.
	FlopRateUtilizationRelativeToRooflinePercent float64 `` /* 205-byte string literal not displayed */
	// Memory bandwidth utilization relative to the hw limit in percentage.
	MemoryBwUtilizationRelativeToHwLimitPercent float64 `` /* 204-byte string literal not displayed */
	// Percentage of device computation that is 16-bit.
	DeviceCompute_16BitPercent float64 `` /* 142-byte string literal not displayed */
	// Percentage of device computation that is 32-bit.
	DeviceCompute_32BitPercent float64 `` /* 143-byte string literal not displayed */
	// Percentage of TF ops executed on the host.
	HostTfOpPercent float64 `protobuf:"fixed64,11,opt,name=host_tf_op_percent,json=hostTfOpPercent,proto3" json:"host_tf_op_percent,omitempty"`
	// Percentage of TF ops executed on the device.
	DeviceTfOpPercent float64 `protobuf:"fixed64,12,opt,name=device_tf_op_percent,json=deviceTfOpPercent,proto3" json:"device_tf_op_percent,omitempty"`
	// Host trace level.
	HostTraceLevel uint32 `protobuf:"varint,13,opt,name=host_trace_level,json=hostTraceLevel,proto3" json:"host_trace_level,omitempty"`
	// Percentage of TF-op execution time on the host (excluding the idle time)
	// that are in eager mode.
	HostOpTimeEagerPercent float64 `` /* 136-byte string literal not displayed */
	// Percentage of TF-op execution time on the device (excluding the idle time)
	// that are in eager mode.
	DeviceOpTimeEagerPercent float64 `` /* 142-byte string literal not displayed */
	// Percentage of TF-op execution time on the device (excluding the idle time)
	// that are for outside compilation.
	DeviceOpTimeOutsideCompilationPercent float64 `` /* 183-byte string literal not displayed */
	// Percentage of the device time that is in use.
	DeviceDutyCyclePercent float64 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Overview result for general analysis.

func (*OverviewPageAnalysis) Descriptor deprecated

func (*OverviewPageAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageAnalysis.ProtoReflect.Descriptor instead.

func (*OverviewPageAnalysis) GetDeviceCompute_16BitPercent

func (x *OverviewPageAnalysis) GetDeviceCompute_16BitPercent() float64

func (*OverviewPageAnalysis) GetDeviceCompute_32BitPercent

func (x *OverviewPageAnalysis) GetDeviceCompute_32BitPercent() float64

func (*OverviewPageAnalysis) GetDeviceDutyCyclePercent

func (x *OverviewPageAnalysis) GetDeviceDutyCyclePercent() float64

func (*OverviewPageAnalysis) GetDeviceIdleTimePercent

func (x *OverviewPageAnalysis) GetDeviceIdleTimePercent() float64

func (*OverviewPageAnalysis) GetDeviceOpTimeEagerPercent

func (x *OverviewPageAnalysis) GetDeviceOpTimeEagerPercent() float64

func (*OverviewPageAnalysis) GetDeviceOpTimeOutsideCompilationPercent

func (x *OverviewPageAnalysis) GetDeviceOpTimeOutsideCompilationPercent() float64

func (*OverviewPageAnalysis) GetDeviceTfOpPercent

func (x *OverviewPageAnalysis) GetDeviceTfOpPercent() float64

func (*OverviewPageAnalysis) GetFlopRateUtilizationRelativeToRooflinePercent

func (x *OverviewPageAnalysis) GetFlopRateUtilizationRelativeToRooflinePercent() float64

func (*OverviewPageAnalysis) GetHostIdleTimePercent

func (x *OverviewPageAnalysis) GetHostIdleTimePercent() float64

func (*OverviewPageAnalysis) GetHostOpTimeEagerPercent

func (x *OverviewPageAnalysis) GetHostOpTimeEagerPercent() float64

func (*OverviewPageAnalysis) GetHostTfOpPercent

func (x *OverviewPageAnalysis) GetHostTfOpPercent() float64

func (*OverviewPageAnalysis) GetHostTraceLevel

func (x *OverviewPageAnalysis) GetHostTraceLevel() uint32

func (*OverviewPageAnalysis) GetMemoryBwUtilizationRelativeToHwLimitPercent

func (x *OverviewPageAnalysis) GetMemoryBwUtilizationRelativeToHwLimitPercent() float64

func (*OverviewPageAnalysis) GetMxuUtilizationPercent

func (x *OverviewPageAnalysis) GetMxuUtilizationPercent() float64

func (*OverviewPageAnalysis) GetRemarkColor

func (x *OverviewPageAnalysis) GetRemarkColor() string

func (*OverviewPageAnalysis) GetRemarkText

func (x *OverviewPageAnalysis) GetRemarkText() string

func (*OverviewPageAnalysis) GetTopDeviceOps

func (x *OverviewPageAnalysis) GetTopDeviceOps() []*OverviewTfOp

func (*OverviewPageAnalysis) ProtoMessage

func (*OverviewPageAnalysis) ProtoMessage()

func (*OverviewPageAnalysis) ProtoReflect

func (x *OverviewPageAnalysis) ProtoReflect() protoreflect.Message

func (*OverviewPageAnalysis) Reset

func (x *OverviewPageAnalysis) Reset()

func (*OverviewPageAnalysis) String

func (x *OverviewPageAnalysis) String() string

type OverviewPageHostDependentJobInfo

type OverviewPageHostDependentJobInfo struct {

	// This ID of the host where the job was run on.
	HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"`
	// The command line used to run the job.
	CommandLine string `protobuf:"bytes,2,opt,name=command_line,json=commandLine,proto3" json:"command_line,omitempty"`
	// The start time of this run (nanoseconds since the Unix epoch).
	StartTime int64 `protobuf:"varint,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// BNS address specified by client at time of profiling request.
	BnsAddress string `protobuf:"bytes,4,opt,name=bns_address,json=bnsAddress,proto3" json:"bns_address,omitempty"`
	// Profiling start walltime (in ns).
	ProfileTimeNs uint64 `protobuf:"varint,5,opt,name=profile_time_ns,json=profileTimeNs,proto3" json:"profile_time_ns,omitempty"`
	// contains filtered or unexported fields
}

Result proto for host-dependent job information.

func (*OverviewPageHostDependentJobInfo) Descriptor deprecated

func (*OverviewPageHostDependentJobInfo) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageHostDependentJobInfo.ProtoReflect.Descriptor instead.

func (*OverviewPageHostDependentJobInfo) GetBnsAddress

func (x *OverviewPageHostDependentJobInfo) GetBnsAddress() string

func (*OverviewPageHostDependentJobInfo) GetCommandLine

func (x *OverviewPageHostDependentJobInfo) GetCommandLine() string

func (*OverviewPageHostDependentJobInfo) GetHostId

func (*OverviewPageHostDependentJobInfo) GetProfileTimeNs

func (x *OverviewPageHostDependentJobInfo) GetProfileTimeNs() uint64

func (*OverviewPageHostDependentJobInfo) GetStartTime

func (x *OverviewPageHostDependentJobInfo) GetStartTime() int64

func (*OverviewPageHostDependentJobInfo) ProtoMessage

func (*OverviewPageHostDependentJobInfo) ProtoMessage()

func (*OverviewPageHostDependentJobInfo) ProtoReflect

func (*OverviewPageHostDependentJobInfo) Reset

func (*OverviewPageHostDependentJobInfo) String

type OverviewPageHostIndependentJobInfo

type OverviewPageHostIndependentJobInfo struct {

	// The change-list number of this build.
	ChangeList int64 `protobuf:"varint,1,opt,name=change_list,json=changeList,proto3" json:"change_list,omitempty"`
	// The time of this build (nanoseconds since the Unix epoch).
	BuildTime int64 `protobuf:"varint,2,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	// The target of this build.
	BuildTarget string `protobuf:"bytes,3,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// Profiling duration (in ms).
	ProfileDurationMs uint32 `protobuf:"varint,4,opt,name=profile_duration_ms,json=profileDurationMs,proto3" json:"profile_duration_ms,omitempty"`
	// contains filtered or unexported fields
}

Result proto for host-independent job information.

func (*OverviewPageHostIndependentJobInfo) Descriptor deprecated

func (*OverviewPageHostIndependentJobInfo) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageHostIndependentJobInfo.ProtoReflect.Descriptor instead.

func (*OverviewPageHostIndependentJobInfo) GetBuildTarget

func (x *OverviewPageHostIndependentJobInfo) GetBuildTarget() string

func (*OverviewPageHostIndependentJobInfo) GetBuildTime

func (x *OverviewPageHostIndependentJobInfo) GetBuildTime() int64

func (*OverviewPageHostIndependentJobInfo) GetChangeList

func (x *OverviewPageHostIndependentJobInfo) GetChangeList() int64

func (*OverviewPageHostIndependentJobInfo) GetProfileDurationMs

func (x *OverviewPageHostIndependentJobInfo) GetProfileDurationMs() uint32

func (*OverviewPageHostIndependentJobInfo) ProtoMessage

func (*OverviewPageHostIndependentJobInfo) ProtoMessage()

func (*OverviewPageHostIndependentJobInfo) ProtoReflect

func (*OverviewPageHostIndependentJobInfo) Reset

func (*OverviewPageHostIndependentJobInfo) String

type OverviewPageRecommendation

type OverviewPageRecommendation struct {

	// Possible performance bottleneck: "host", "device", "both".
	Bottleneck string `protobuf:"bytes,1,opt,name=bottleneck,proto3" json:"bottleneck,omitempty"`
	// A statement for input that recommends the next steps for investigating the
	// bottleneck.
	Statement string `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"`
	// A list of tips for tackling input bottleneck.
	InputTips []*OverviewPageTip `protobuf:"bytes,11,rep,name=input_tips,json=inputTips,proto3" json:"input_tips,omitempty"`
	// A statement for output that recommends the next steps for investigating the
	// bottleneck.
	OutputStatement string `protobuf:"bytes,9,opt,name=output_statement,json=outputStatement,proto3" json:"output_statement,omitempty"`
	// A statement that recommends the next steps for investigating eager-mode
	// related bottleneck (it is an html so that it can link to other tools/docs.)
	EagerStatementHtml string `protobuf:"bytes,12,opt,name=eager_statement_html,json=eagerStatementHtml,proto3" json:"eager_statement_html,omitempty"`
	// A statement that recommends the next steps for investigating
	// outside-compilation related bottleneck (it is an html so that it can link
	// to other tools/docs.)
	OutsideCompilationStatementHtml string `` /* 159-byte string literal not displayed */
	// A statement that recommends the next steps for investigating tf-function
	// related bottleneck (it is an html so that it can link to other tools/docs.)
	TfFunctionStatementHtml string `` /* 135-byte string literal not displayed */
	// A list of tips for improving host performance.
	HostTips []*OverviewPageTip `protobuf:"bytes,3,rep,name=host_tips,json=hostTips,proto3" json:"host_tips,omitempty"`
	// A list of tips for improving device performance.
	DeviceTips []*OverviewPageTip `protobuf:"bytes,4,rep,name=device_tips,json=deviceTips,proto3" json:"device_tips,omitempty"`
	// A list of links to related useful documents.
	DocumentationTips []*OverviewPageTip `protobuf:"bytes,5,rep,name=documentation_tips,json=documentationTips,proto3" json:"documentation_tips,omitempty"`
	// // The recommendation made to the user. Can be unpacked into a
	// GenericRecommendation.
	Recommendation *anypb.Any `protobuf:"bytes,6,opt,name=recommendation,proto3" json:"recommendation,omitempty"`
	// A list of tips for FAQ.
	FaqTips []*OverviewPageTip `protobuf:"bytes,7,rep,name=faq_tips,json=faqTips,proto3" json:"faq_tips,omitempty"`
	// A list of tips for inference run.
	InferenceTips []*OverviewPageTip `protobuf:"bytes,8,rep,name=inference_tips,json=inferenceTips,proto3" json:"inference_tips,omitempty"`
	// contains filtered or unexported fields
}

Overview result for the recommendation section.

func (*OverviewPageRecommendation) Descriptor deprecated

func (*OverviewPageRecommendation) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageRecommendation.ProtoReflect.Descriptor instead.

func (*OverviewPageRecommendation) GetBottleneck

func (x *OverviewPageRecommendation) GetBottleneck() string

func (*OverviewPageRecommendation) GetDeviceTips

func (x *OverviewPageRecommendation) GetDeviceTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetDocumentationTips

func (x *OverviewPageRecommendation) GetDocumentationTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetEagerStatementHtml

func (x *OverviewPageRecommendation) GetEagerStatementHtml() string

func (*OverviewPageRecommendation) GetFaqTips

func (x *OverviewPageRecommendation) GetFaqTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetHostTips

func (x *OverviewPageRecommendation) GetHostTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetInferenceTips

func (x *OverviewPageRecommendation) GetInferenceTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetInputTips

func (x *OverviewPageRecommendation) GetInputTips() []*OverviewPageTip

func (*OverviewPageRecommendation) GetOutputStatement

func (x *OverviewPageRecommendation) GetOutputStatement() string

func (*OverviewPageRecommendation) GetOutsideCompilationStatementHtml

func (x *OverviewPageRecommendation) GetOutsideCompilationStatementHtml() string

func (*OverviewPageRecommendation) GetRecommendation

func (x *OverviewPageRecommendation) GetRecommendation() *anypb.Any

func (*OverviewPageRecommendation) GetStatement

func (x *OverviewPageRecommendation) GetStatement() string

func (*OverviewPageRecommendation) GetTfFunctionStatementHtml

func (x *OverviewPageRecommendation) GetTfFunctionStatementHtml() string

func (*OverviewPageRecommendation) ProtoMessage

func (*OverviewPageRecommendation) ProtoMessage()

func (*OverviewPageRecommendation) ProtoReflect

func (*OverviewPageRecommendation) Reset

func (x *OverviewPageRecommendation) Reset()

func (*OverviewPageRecommendation) String

func (x *OverviewPageRecommendation) String() string

type OverviewPageRunEnvironment

type OverviewPageRunEnvironment struct {

	// Number of hosts used.
	HostCount int32 `protobuf:"varint,1,opt,name=host_count,json=hostCount,proto3" json:"host_count,omitempty"`
	// Number of tasks used.
	TaskCount int32 `protobuf:"varint,2,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`
	// Distinct hostnames seen.
	Hostnames map[string]bool `` /* 160-byte string literal not displayed */
	// The type of device used.
	DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// The number of device cores used.
	//
	//	In TPU case, this corresponds to the number of TPU cores
	//	In GPU case, this corresponds to the number of GPUs (not the number of
	//	SMs).
	DeviceCoreCount int32 `protobuf:"varint,5,opt,name=device_core_count,json=deviceCoreCount,proto3" json:"device_core_count,omitempty"`
	// Host-independent information about this job.
	HostIndependentJobInfo *OverviewPageHostIndependentJobInfo `` /* 131-byte string literal not displayed */
	// Host-dependent information about this job.
	HostDependentJobInfo []*OverviewPageHostDependentJobInfo `protobuf:"bytes,8,rep,name=host_dependent_job_info,json=hostDependentJobInfo,proto3" json:"host_dependent_job_info,omitempty"`
	// The number of replicas, corresponds to input parallelism.
	// If there is no model parallelism, replica_count = device_core_count
	ReplicaCount int32 `protobuf:"varint,9,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"`
	// The number of cores used for a single replica, e.g. model parallelism.
	// If there is no model parallelism, then num_cores_per_replica = 1
	NumCoresPerReplica int32 `protobuf:"varint,10,opt,name=num_cores_per_replica,json=numCoresPerReplica,proto3" json:"num_cores_per_replica,omitempty"`
	// Whether it is a training analysis or inference analysis.
	IsTraining bool `protobuf:"varint,11,opt,name=is_training,json=isTraining,proto3" json:"is_training,omitempty"`
	// contains filtered or unexported fields
}

The run environment of a profiling session.

func (*OverviewPageRunEnvironment) Descriptor deprecated

func (*OverviewPageRunEnvironment) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageRunEnvironment.ProtoReflect.Descriptor instead.

func (*OverviewPageRunEnvironment) GetDeviceCoreCount

func (x *OverviewPageRunEnvironment) GetDeviceCoreCount() int32

func (*OverviewPageRunEnvironment) GetDeviceType

func (x *OverviewPageRunEnvironment) GetDeviceType() string

func (*OverviewPageRunEnvironment) GetHostCount

func (x *OverviewPageRunEnvironment) GetHostCount() int32

func (*OverviewPageRunEnvironment) GetHostDependentJobInfo

func (x *OverviewPageRunEnvironment) GetHostDependentJobInfo() []*OverviewPageHostDependentJobInfo

func (*OverviewPageRunEnvironment) GetHostIndependentJobInfo

func (x *OverviewPageRunEnvironment) GetHostIndependentJobInfo() *OverviewPageHostIndependentJobInfo

func (*OverviewPageRunEnvironment) GetHostnames

func (x *OverviewPageRunEnvironment) GetHostnames() map[string]bool

func (*OverviewPageRunEnvironment) GetIsTraining added in v2.14.0

func (x *OverviewPageRunEnvironment) GetIsTraining() bool

func (*OverviewPageRunEnvironment) GetNumCoresPerReplica

func (x *OverviewPageRunEnvironment) GetNumCoresPerReplica() int32

func (*OverviewPageRunEnvironment) GetReplicaCount

func (x *OverviewPageRunEnvironment) GetReplicaCount() int32

func (*OverviewPageRunEnvironment) GetTaskCount

func (x *OverviewPageRunEnvironment) GetTaskCount() int32

func (*OverviewPageRunEnvironment) ProtoMessage

func (*OverviewPageRunEnvironment) ProtoMessage()

func (*OverviewPageRunEnvironment) ProtoReflect

func (*OverviewPageRunEnvironment) Reset

func (x *OverviewPageRunEnvironment) Reset()

func (*OverviewPageRunEnvironment) String

func (x *OverviewPageRunEnvironment) String() string

type OverviewPageTip

type OverviewPageTip struct {

	// Link to the tip.
	Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

Overview result for a performance tip to users.

func (*OverviewPageTip) Descriptor deprecated

func (*OverviewPageTip) Descriptor() ([]byte, []int)

Deprecated: Use OverviewPageTip.ProtoReflect.Descriptor instead.

func (x *OverviewPageTip) GetLink() string

func (*OverviewPageTip) ProtoMessage

func (*OverviewPageTip) ProtoMessage()

func (*OverviewPageTip) ProtoReflect

func (x *OverviewPageTip) ProtoReflect() protoreflect.Message

func (*OverviewPageTip) Reset

func (x *OverviewPageTip) Reset()

func (*OverviewPageTip) String

func (x *OverviewPageTip) String() string

type OverviewTfOp

type OverviewTfOp struct {

	// Name of the Op.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Category of the Op.
	Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	// The amount of time that this Op takes by itself
	// as fraction of the total execution time on the device or host.
	SelfTimeFraction float64 `protobuf:"fixed64,3,opt,name=self_time_fraction,json=selfTimeFraction,proto3" json:"self_time_fraction,omitempty"`
	// The cumulative time upto this Op as fraction of the total execution time.
	CumulativeTimeFraction float64 `` /* 131-byte string literal not displayed */
	// How many GFlops/sec that this Op achieves.
	FlopRate float64 `protobuf:"fixed64,5,opt,name=flop_rate,json=flopRate,proto3" json:"flop_rate,omitempty"`
	// Whether the Op is eligible to use TensorCores.
	IsOpTensorcoreEligible bool `` /* 132-byte string literal not displayed */
	// Whether at least one of the kernels launched in this op is using
	// TensorCore.
	IsOpUsingTensorcore bool `protobuf:"varint,7,opt,name=is_op_using_tensorcore,json=isOpUsingTensorcore,proto3" json:"is_op_using_tensorcore,omitempty"`
	// contains filtered or unexported fields
}

Overview result for a TensorFlow Op.

func (*OverviewTfOp) Descriptor deprecated

func (*OverviewTfOp) Descriptor() ([]byte, []int)

Deprecated: Use OverviewTfOp.ProtoReflect.Descriptor instead.

func (*OverviewTfOp) GetCategory

func (x *OverviewTfOp) GetCategory() string

func (*OverviewTfOp) GetCumulativeTimeFraction

func (x *OverviewTfOp) GetCumulativeTimeFraction() float64

func (*OverviewTfOp) GetFlopRate

func (x *OverviewTfOp) GetFlopRate() float64

func (*OverviewTfOp) GetIsOpTensorcoreEligible

func (x *OverviewTfOp) GetIsOpTensorcoreEligible() bool

func (*OverviewTfOp) GetIsOpUsingTensorcore

func (x *OverviewTfOp) GetIsOpUsingTensorcore() bool

func (*OverviewTfOp) GetName

func (x *OverviewTfOp) GetName() string

func (*OverviewTfOp) GetSelfTimeFraction

func (x *OverviewTfOp) GetSelfTimeFraction() float64

func (*OverviewTfOp) ProtoMessage

func (*OverviewTfOp) ProtoMessage()

func (*OverviewTfOp) ProtoReflect

func (x *OverviewTfOp) ProtoReflect() protoreflect.Message

func (*OverviewTfOp) Reset

func (x *OverviewTfOp) Reset()

func (*OverviewTfOp) String

func (x *OverviewTfOp) String() string

type PerAllocatorMemoryProfile

type PerAllocatorMemoryProfile struct {

	// A list of MemoryProfileSnapshots referenced by <active_allocations>.
	MemoryProfileSnapshots []*MemoryProfileSnapshot `` /* 129-byte string literal not displayed */
	// The summary of memory profile (e.g. the peak memory usage).
	ProfileSummary *MemoryProfileSummary `protobuf:"bytes,2,opt,name=profile_summary,json=profileSummary,proto3" json:"profile_summary,omitempty"`
	// The rows in the table of active allocations at peak memory usage within
	// profiling window.
	ActiveAllocations []*ActiveAllocation `protobuf:"bytes,3,rep,name=active_allocations,json=activeAllocations,proto3" json:"active_allocations,omitempty"`
	// The special allocations (e.g. pre-allocated heap memory, stack reservation)
	// that are not captured in the MemoryActivityMetadata of
	// memory_profile_snapshots. Need to handle separately.
	SpecialAllocations []*MemoryActivityMetadata `protobuf:"bytes,4,rep,name=special_allocations,json=specialAllocations,proto3" json:"special_allocations,omitempty"`
	// A list of MemoryProfileSnapshots sampled from all the snapshots during the
	// profiling window. It is used to display the memory timeline graph in the
	// frontend. The snapshots are sorted by timestamp.
	SampledTimelineSnapshots []*MemoryProfileSnapshot `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Memory profile snapshots per memory allocator.

func (*PerAllocatorMemoryProfile) Descriptor deprecated

func (*PerAllocatorMemoryProfile) Descriptor() ([]byte, []int)

Deprecated: Use PerAllocatorMemoryProfile.ProtoReflect.Descriptor instead.

func (*PerAllocatorMemoryProfile) GetActiveAllocations

func (x *PerAllocatorMemoryProfile) GetActiveAllocations() []*ActiveAllocation

func (*PerAllocatorMemoryProfile) GetMemoryProfileSnapshots

func (x *PerAllocatorMemoryProfile) GetMemoryProfileSnapshots() []*MemoryProfileSnapshot

func (*PerAllocatorMemoryProfile) GetProfileSummary

func (x *PerAllocatorMemoryProfile) GetProfileSummary() *MemoryProfileSummary

func (*PerAllocatorMemoryProfile) GetSampledTimelineSnapshots

func (x *PerAllocatorMemoryProfile) GetSampledTimelineSnapshots() []*MemoryProfileSnapshot

func (*PerAllocatorMemoryProfile) GetSpecialAllocations

func (x *PerAllocatorMemoryProfile) GetSpecialAllocations() []*MemoryActivityMetadata

func (*PerAllocatorMemoryProfile) ProtoMessage

func (*PerAllocatorMemoryProfile) ProtoMessage()

func (*PerAllocatorMemoryProfile) ProtoReflect

func (*PerAllocatorMemoryProfile) Reset

func (x *PerAllocatorMemoryProfile) Reset()

func (*PerAllocatorMemoryProfile) String

func (x *PerAllocatorMemoryProfile) String() string

type PerCoreStepInfo

type PerCoreStepInfo struct {

	// The step number.
	StepNum uint32 `protobuf:"varint,1,opt,name=step_num,json=stepNum,proto3" json:"step_num,omitempty"`
	// A map from core_id to StepInfo.
	StepInfoPerCore map[uint32]*StepInfoResult `` /* 199-byte string literal not displayed */
	// The result for the per-step HLO-metric database.
	HloMetricsDb *OpMetricsDb `protobuf:"bytes,3,opt,name=hlo_metrics_db,json=hloMetricsDb,proto3" json:"hlo_metrics_db,omitempty"`
	// A map from core ID to program replica id. Replica id map could change
	// during a profile session, but should stay stable within a step.
	CoreIdToReplicaIdMap map[uint32]uint32 `` /* 219-byte string literal not displayed */
	// A map from core_id to all-reduce ops.
	AllReduceDbPerCore map[uint32]*AllReduceDbResult `` /* 210-byte string literal not displayed */
	// Information about deivce memory transfers, categoried by source and
	// destination. Ordered by following categories:
	// 1. HostToDevice
	// 2. DeviceToHost
	// 3. DeviceToDevice
	// Cores are normally sharing host interfaces (i.e. PCIe).
	DeviceMemoryTransfers []*DeviceMemoryTransfer `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Result proto for information in a step across all cores.

func (*PerCoreStepInfo) Descriptor deprecated

func (*PerCoreStepInfo) Descriptor() ([]byte, []int)

Deprecated: Use PerCoreStepInfo.ProtoReflect.Descriptor instead.

func (*PerCoreStepInfo) GetAllReduceDbPerCore

func (x *PerCoreStepInfo) GetAllReduceDbPerCore() map[uint32]*AllReduceDbResult

func (*PerCoreStepInfo) GetCoreIdToReplicaIdMap

func (x *PerCoreStepInfo) GetCoreIdToReplicaIdMap() map[uint32]uint32

func (*PerCoreStepInfo) GetDeviceMemoryTransfers

func (x *PerCoreStepInfo) GetDeviceMemoryTransfers() []*DeviceMemoryTransfer

func (*PerCoreStepInfo) GetHloMetricsDb

func (x *PerCoreStepInfo) GetHloMetricsDb() *OpMetricsDb

func (*PerCoreStepInfo) GetStepInfoPerCore

func (x *PerCoreStepInfo) GetStepInfoPerCore() map[uint32]*StepInfoResult

func (*PerCoreStepInfo) GetStepNum

func (x *PerCoreStepInfo) GetStepNum() uint32

func (*PerCoreStepInfo) ProtoMessage

func (*PerCoreStepInfo) ProtoMessage()

func (*PerCoreStepInfo) ProtoReflect

func (x *PerCoreStepInfo) ProtoReflect() protoreflect.Message

func (*PerCoreStepInfo) Reset

func (x *PerCoreStepInfo) Reset()

func (*PerCoreStepInfo) String

func (x *PerCoreStepInfo) String() string

type PerGenericStepDetails

type PerGenericStepDetails struct {

	// The step number of a step.
	StepNumber int32 `protobuf:"varint,1,opt,name=step_number,json=stepNumber,proto3" json:"step_number,omitempty"`
	// The step name.
	StepName string `protobuf:"bytes,14,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty"`
	// The step time (in ms).
	StepTimeMs float64 `protobuf:"fixed64,2,opt,name=step_time_ms,json=stepTimeMs,proto3" json:"step_time_ms,omitempty"`
	// Breakdown of the step time in different event categories.
	// The unknown time (in ms).
	UnknownTimeMs float64 `protobuf:"fixed64,3,opt,name=unknown_time_ms,json=unknownTimeMs,proto3" json:"unknown_time_ms,omitempty"`
	// The time (in ms) in which the host is waiting for input data to be ready.
	HostWaitInputMs float64 `protobuf:"fixed64,11,opt,name=host_wait_input_ms,json=hostWaitInputMs,proto3" json:"host_wait_input_ms,omitempty"`
	// The time (in ms) in which the host is sending input data to the device.
	// Total input time = host_wait_input_ms + host_to_device_ms.
	HostToDeviceMs float64 `protobuf:"fixed64,12,opt,name=host_to_device_ms,json=hostToDeviceMs,proto3" json:"host_to_device_ms,omitempty"`
	// The output time (in ms).
	OutputMs float64 `protobuf:"fixed64,5,opt,name=output_ms,json=outputMs,proto3" json:"output_ms,omitempty"`
	// The device-compute time (in ms).
	DeviceComputeMs float64 `protobuf:"fixed64,6,opt,name=device_compute_ms,json=deviceComputeMs,proto3" json:"device_compute_ms,omitempty"`
	// The device-to-device communication time (in ms).
	DeviceToDeviceMs float64 `protobuf:"fixed64,7,opt,name=device_to_device_ms,json=deviceToDeviceMs,proto3" json:"device_to_device_ms,omitempty"`
	// The device time spent on collective communications (in ms).
	DeviceCollectivesMs float64 `protobuf:"fixed64,13,opt,name=device_collectives_ms,json=deviceCollectivesMs,proto3" json:"device_collectives_ms,omitempty"`
	// The host-compute time (in ms).
	HostComputeMs float64 `protobuf:"fixed64,8,opt,name=host_compute_ms,json=hostComputeMs,proto3" json:"host_compute_ms,omitempty"`
	// The host-prepare time (in ms).
	HostPrepareMs float64 `protobuf:"fixed64,9,opt,name=host_prepare_ms,json=hostPrepareMs,proto3" json:"host_prepare_ms,omitempty"`
	// The time spent on compiling (in ms).
	HostCompileMs float64 `protobuf:"fixed64,10,opt,name=host_compile_ms,json=hostCompileMs,proto3" json:"host_compile_ms,omitempty"`
	// contains filtered or unexported fields
}

Per-step details on generic hardware.

func (*PerGenericStepDetails) Descriptor deprecated

func (*PerGenericStepDetails) Descriptor() ([]byte, []int)

Deprecated: Use PerGenericStepDetails.ProtoReflect.Descriptor instead.

func (*PerGenericStepDetails) GetDeviceCollectivesMs

func (x *PerGenericStepDetails) GetDeviceCollectivesMs() float64

func (*PerGenericStepDetails) GetDeviceComputeMs

func (x *PerGenericStepDetails) GetDeviceComputeMs() float64

func (*PerGenericStepDetails) GetDeviceToDeviceMs

func (x *PerGenericStepDetails) GetDeviceToDeviceMs() float64

func (*PerGenericStepDetails) GetHostCompileMs

func (x *PerGenericStepDetails) GetHostCompileMs() float64

func (*PerGenericStepDetails) GetHostComputeMs

func (x *PerGenericStepDetails) GetHostComputeMs() float64

func (*PerGenericStepDetails) GetHostPrepareMs

func (x *PerGenericStepDetails) GetHostPrepareMs() float64

func (*PerGenericStepDetails) GetHostToDeviceMs

func (x *PerGenericStepDetails) GetHostToDeviceMs() float64

func (*PerGenericStepDetails) GetHostWaitInputMs

func (x *PerGenericStepDetails) GetHostWaitInputMs() float64

func (*PerGenericStepDetails) GetOutputMs

func (x *PerGenericStepDetails) GetOutputMs() float64

func (*PerGenericStepDetails) GetStepName

func (x *PerGenericStepDetails) GetStepName() string

func (*PerGenericStepDetails) GetStepNumber

func (x *PerGenericStepDetails) GetStepNumber() int32

func (*PerGenericStepDetails) GetStepTimeMs

func (x *PerGenericStepDetails) GetStepTimeMs() float64

func (*PerGenericStepDetails) GetUnknownTimeMs

func (x *PerGenericStepDetails) GetUnknownTimeMs() float64

func (*PerGenericStepDetails) ProtoMessage

func (*PerGenericStepDetails) ProtoMessage()

func (*PerGenericStepDetails) ProtoReflect

func (x *PerGenericStepDetails) ProtoReflect() protoreflect.Message

func (*PerGenericStepDetails) Reset

func (x *PerGenericStepDetails) Reset()

func (*PerGenericStepDetails) String

func (x *PerGenericStepDetails) String() string

type PercentilePoint

type PercentilePoint struct {

	// In the [0, 100] range.
	Percentile float64 `protobuf:"fixed64,1,opt,name=percentile,proto3" json:"percentile,omitempty"`
	Value      float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*PercentilePoint) Descriptor deprecated

func (*PercentilePoint) Descriptor() ([]byte, []int)

Deprecated: Use PercentilePoint.ProtoReflect.Descriptor instead.

func (*PercentilePoint) GetPercentile

func (x *PercentilePoint) GetPercentile() float64

func (*PercentilePoint) GetValue

func (x *PercentilePoint) GetValue() float64

func (*PercentilePoint) ProtoMessage

func (*PercentilePoint) ProtoMessage()

func (*PercentilePoint) ProtoReflect

func (x *PercentilePoint) ProtoReflect() protoreflect.Message

func (*PercentilePoint) Reset

func (x *PercentilePoint) Reset()

func (*PercentilePoint) String

func (x *PercentilePoint) String() string

type Percentiles

type Percentiles struct {
	UnitOfMeasure UnitOfMeasure      `` /* 152-byte string literal not displayed */
	StartNstime   uint64             `protobuf:"varint,2,opt,name=start_nstime,json=startNstime,proto3" json:"start_nstime,omitempty"`
	EndNstime     uint64             `protobuf:"varint,3,opt,name=end_nstime,json=endNstime,proto3" json:"end_nstime,omitempty"`
	MinValue      float64            `protobuf:"fixed64,4,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	MaxValue      float64            `protobuf:"fixed64,5,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	Mean          float64            `protobuf:"fixed64,6,opt,name=mean,proto3" json:"mean,omitempty"`
	Stddev        float64            `protobuf:"fixed64,7,opt,name=stddev,proto3" json:"stddev,omitempty"`
	NumSamples    uint64             `protobuf:"varint,8,opt,name=num_samples,json=numSamples,proto3" json:"num_samples,omitempty"`
	TotalSamples  uint64             `protobuf:"varint,9,opt,name=total_samples,json=totalSamples,proto3" json:"total_samples,omitempty"`
	Accumulator   float64            `protobuf:"fixed64,10,opt,name=accumulator,proto3" json:"accumulator,omitempty"`
	Points        []*PercentilePoint `protobuf:"bytes,11,rep,name=points,proto3" json:"points,omitempty"`
	// contains filtered or unexported fields
}

func (*Percentiles) Descriptor deprecated

func (*Percentiles) Descriptor() ([]byte, []int)

Deprecated: Use Percentiles.ProtoReflect.Descriptor instead.

func (*Percentiles) GetAccumulator

func (x *Percentiles) GetAccumulator() float64

func (*Percentiles) GetEndNstime

func (x *Percentiles) GetEndNstime() uint64

func (*Percentiles) GetMaxValue

func (x *Percentiles) GetMaxValue() float64

func (*Percentiles) GetMean

func (x *Percentiles) GetMean() float64

func (*Percentiles) GetMinValue

func (x *Percentiles) GetMinValue() float64

func (*Percentiles) GetNumSamples

func (x *Percentiles) GetNumSamples() uint64

func (*Percentiles) GetPoints

func (x *Percentiles) GetPoints() []*PercentilePoint

func (*Percentiles) GetStartNstime

func (x *Percentiles) GetStartNstime() uint64

func (*Percentiles) GetStddev

func (x *Percentiles) GetStddev() float64

func (*Percentiles) GetTotalSamples

func (x *Percentiles) GetTotalSamples() uint64

func (*Percentiles) GetUnitOfMeasure

func (x *Percentiles) GetUnitOfMeasure() UnitOfMeasure

func (*Percentiles) ProtoMessage

func (*Percentiles) ProtoMessage()

func (*Percentiles) ProtoReflect

func (x *Percentiles) ProtoReflect() protoreflect.Message

func (*Percentiles) Reset

func (x *Percentiles) Reset()

func (*Percentiles) String

func (x *Percentiles) String() string

type PerfEnv

type PerfEnv struct {

	// Peak performance of a TPU core or a GPU in TFLOP/s.
	PeakTeraFlopsPerSecond float64 `` /* 135-byte string literal not displayed */
	// Peak memory bandwidth of a TPU core or a GPU in GiBs/s.
	PeakBwGigaBytesPerSecond float64 `` /* 143-byte string literal not displayed */
	// Peak off-chip memory bandwidth of a TPU core or a GPU in GiBs/s.
	PeakHbmBwGigaBytesPerSecond float64 `` /* 154-byte string literal not displayed */
	// Peak memory bandwidths of a TPU core or a GPU in GiBs/s.
	// Index into array using MemBwType enum.
	// TODO: remove the 2 above fields and bump up the proto version to maintain
	// backwards compatibility.
	PeakBwsGigaBytesPerSecond []float64 `` /* 153-byte string literal not displayed */
	// The ridge point of roofline model in FLOP/Byte. (i.e., minimum operational
	// intensity required to achieve maximum performance).
	RidgePoint float64 `protobuf:"fixed64,3,opt,name=ridge_point,json=ridgePoint,proto3" json:"ridge_point,omitempty"`
	// contains filtered or unexported fields
}

Performance environment, e.g the peak performance capabilities of the device.

func (*PerfEnv) Descriptor deprecated

func (*PerfEnv) Descriptor() ([]byte, []int)

Deprecated: Use PerfEnv.ProtoReflect.Descriptor instead.

func (*PerfEnv) GetPeakBwGigaBytesPerSecond added in v2.12.0

func (x *PerfEnv) GetPeakBwGigaBytesPerSecond() float64

func (*PerfEnv) GetPeakBwsGigaBytesPerSecond added in v2.12.0

func (x *PerfEnv) GetPeakBwsGigaBytesPerSecond() []float64

func (*PerfEnv) GetPeakHbmBwGigaBytesPerSecond

func (x *PerfEnv) GetPeakHbmBwGigaBytesPerSecond() float64

func (*PerfEnv) GetPeakTeraFlopsPerSecond

func (x *PerfEnv) GetPeakTeraFlopsPerSecond() float64

func (*PerfEnv) GetRidgePoint

func (x *PerfEnv) GetRidgePoint() float64

func (*PerfEnv) ProtoMessage

func (*PerfEnv) ProtoMessage()

func (*PerfEnv) ProtoReflect

func (x *PerfEnv) ProtoReflect() protoreflect.Message

func (*PerfEnv) Reset

func (x *PerfEnv) Reset()

func (*PerfEnv) String

func (x *PerfEnv) String() string

type PerformanceCounterResult added in v2.11.0

type PerformanceCounterResult struct {

	// Overall matrix unit utilization in percentage.
	MatrixUnitUtilizationPercent float64 `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metrics based on hardware performance counters.

func (*PerformanceCounterResult) Descriptor deprecated added in v2.11.0

func (*PerformanceCounterResult) Descriptor() ([]byte, []int)

Deprecated: Use PerformanceCounterResult.ProtoReflect.Descriptor instead.

func (*PerformanceCounterResult) GetMatrixUnitUtilizationPercent added in v2.11.0

func (x *PerformanceCounterResult) GetMatrixUnitUtilizationPercent() float64

func (*PerformanceCounterResult) ProtoMessage added in v2.11.0

func (*PerformanceCounterResult) ProtoMessage()

func (*PerformanceCounterResult) ProtoReflect added in v2.11.0

func (x *PerformanceCounterResult) ProtoReflect() protoreflect.Message

func (*PerformanceCounterResult) Reset added in v2.11.0

func (x *PerformanceCounterResult) Reset()

func (*PerformanceCounterResult) String added in v2.11.0

func (x *PerformanceCounterResult) String() string

type PodStatsDatabase

type PodStatsDatabase struct {

	// All PodStats records, one for each row in the PodStats tool.
	PodStatsRecord []*PodStatsRecord `protobuf:"bytes,1,rep,name=pod_stats_record,json=podStatsRecord,proto3" json:"pod_stats_record,omitempty"`
	// Error and warning messages for diagnosing profiling issues.
	Diagnostics *Diagnostics `protobuf:"bytes,3,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// A map from event type number to event name string for step breakdown.
	StepBreakdownEvents []*StepBreakdownEvents `protobuf:"bytes,4,rep,name=step_breakdown_events,json=stepBreakdownEvents,proto3" json:"step_breakdown_events,omitempty"`
	// contains filtered or unexported fields
}

A database of PodStats records.

func (*PodStatsDatabase) Descriptor deprecated

func (*PodStatsDatabase) Descriptor() ([]byte, []int)

Deprecated: Use PodStatsDatabase.ProtoReflect.Descriptor instead.

func (*PodStatsDatabase) GetDiagnostics

func (x *PodStatsDatabase) GetDiagnostics() *Diagnostics

func (*PodStatsDatabase) GetPodStatsRecord

func (x *PodStatsDatabase) GetPodStatsRecord() []*PodStatsRecord

func (*PodStatsDatabase) GetStepBreakdownEvents

func (x *PodStatsDatabase) GetStepBreakdownEvents() []*StepBreakdownEvents

func (*PodStatsDatabase) ProtoMessage

func (*PodStatsDatabase) ProtoMessage()

func (*PodStatsDatabase) ProtoReflect

func (x *PodStatsDatabase) ProtoReflect() protoreflect.Message

func (*PodStatsDatabase) Reset

func (x *PodStatsDatabase) Reset()

func (*PodStatsDatabase) String

func (x *PodStatsDatabase) String() string

type PodStatsMap

type PodStatsMap struct {

	// The (micro) step number.
	StepNum uint32 `protobuf:"varint,1,opt,name=step_num,json=stepNum,proto3" json:"step_num,omitempty"`
	// A map from core_id to PodStatsRecord.
	PodStatsPerCore map[uint32]*PodStatsRecord `` /* 199-byte string literal not displayed */
	// A database of channel info.
	ChannelDb []*ChannelInfo `protobuf:"bytes,3,rep,name=channel_db,json=channelDb,proto3" json:"channel_db,omitempty"`
	// A map from core ID to program replica id. Replica id map could change
	// during a profile session, but should stay stable within a step.
	CoreIdToReplicaIdMap map[uint32]uint32 `` /* 219-byte string literal not displayed */
	// A database of all reduce ops.
	AllReduceOpDb []*AllReduceOpInfo `protobuf:"bytes,5,rep,name=all_reduce_op_db,json=allReduceOpDb,proto3" json:"all_reduce_op_db,omitempty"`
	// contains filtered or unexported fields
}

Result proto for information in a step across all cores.

func (*PodStatsMap) Descriptor deprecated

func (*PodStatsMap) Descriptor() ([]byte, []int)

Deprecated: Use PodStatsMap.ProtoReflect.Descriptor instead.

func (*PodStatsMap) GetAllReduceOpDb

func (x *PodStatsMap) GetAllReduceOpDb() []*AllReduceOpInfo

func (*PodStatsMap) GetChannelDb

func (x *PodStatsMap) GetChannelDb() []*ChannelInfo

func (*PodStatsMap) GetCoreIdToReplicaIdMap

func (x *PodStatsMap) GetCoreIdToReplicaIdMap() map[uint32]uint32

func (*PodStatsMap) GetPodStatsPerCore

func (x *PodStatsMap) GetPodStatsPerCore() map[uint32]*PodStatsRecord

func (*PodStatsMap) GetStepNum

func (x *PodStatsMap) GetStepNum() uint32

func (*PodStatsMap) ProtoMessage

func (*PodStatsMap) ProtoMessage()

func (*PodStatsMap) ProtoReflect

func (x *PodStatsMap) ProtoReflect() protoreflect.Message

func (*PodStatsMap) Reset

func (x *PodStatsMap) Reset()

func (*PodStatsMap) String

func (x *PodStatsMap) String() string

type PodStatsRecord

type PodStatsRecord struct {

	// The host name where the trace was collected.
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// The TPU global chip id where the trace was collected.
	ChipId int32 `protobuf:"varint,2,opt,name=chip_id,json=chipId,proto3" json:"chip_id,omitempty"`
	// The TPU node id where the trace was collected.
	NodeId int32 `protobuf:"varint,3,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	// The step number.
	StepNum uint32 `protobuf:"varint,4,opt,name=step_num,json=stepNum,proto3" json:"step_num,omitempty"`
	// The step duration in micro-seconds.
	TotalDurationUs float64 `protobuf:"fixed64,5,opt,name=total_duration_us,json=totalDurationUs,proto3" json:"total_duration_us,omitempty"`
	// Breakdown the durations for each event type in micro-seconds.
	StepBreakdownUs map[int32]float64 `` /* 200-byte string literal not displayed */
	// Indicates the bottleneck out of the above mentioned metrics.
	Bottleneck string `protobuf:"bytes,14,opt,name=bottleneck,proto3" json:"bottleneck,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 20 There is one PodStatsRecord for each step traced on each compute node.

func (*PodStatsRecord) Descriptor deprecated

func (*PodStatsRecord) Descriptor() ([]byte, []int)

Deprecated: Use PodStatsRecord.ProtoReflect.Descriptor instead.

func (*PodStatsRecord) GetBottleneck

func (x *PodStatsRecord) GetBottleneck() string

func (*PodStatsRecord) GetChipId

func (x *PodStatsRecord) GetChipId() int32

func (*PodStatsRecord) GetHostName

func (x *PodStatsRecord) GetHostName() string

func (*PodStatsRecord) GetNodeId

func (x *PodStatsRecord) GetNodeId() int32

func (*PodStatsRecord) GetStepBreakdownUs

func (x *PodStatsRecord) GetStepBreakdownUs() map[int32]float64

func (*PodStatsRecord) GetStepNum

func (x *PodStatsRecord) GetStepNum() uint32

func (*PodStatsRecord) GetTotalDurationUs

func (x *PodStatsRecord) GetTotalDurationUs() float64

func (*PodStatsRecord) ProtoMessage

func (*PodStatsRecord) ProtoMessage()

func (*PodStatsRecord) ProtoReflect

func (x *PodStatsRecord) ProtoReflect() protoreflect.Message

func (*PodStatsRecord) Reset

func (x *PodStatsRecord) Reset()

func (*PodStatsRecord) String

func (x *PodStatsRecord) String() string

type PodStatsSequence

type PodStatsSequence struct {
	PodStatsMap []*PodStatsMap `protobuf:"bytes,1,rep,name=pod_stats_map,json=podStatsMap,proto3" json:"pod_stats_map,omitempty"`
	// contains filtered or unexported fields
}

A sequence of PodStatsMap for each step.

func (*PodStatsSequence) Descriptor deprecated

func (*PodStatsSequence) Descriptor() ([]byte, []int)

Deprecated: Use PodStatsSequence.ProtoReflect.Descriptor instead.

func (*PodStatsSequence) GetPodStatsMap

func (x *PodStatsSequence) GetPodStatsMap() []*PodStatsMap

func (*PodStatsSequence) ProtoMessage

func (*PodStatsSequence) ProtoMessage()

func (*PodStatsSequence) ProtoReflect

func (x *PodStatsSequence) ProtoReflect() protoreflect.Message

func (*PodStatsSequence) Reset

func (x *PodStatsSequence) Reset()

func (*PodStatsSequence) String

func (x *PodStatsSequence) String() string

type PodViewerDatabase

type PodViewerDatabase struct {

	// The type of device used.
	DeviceType string `protobuf:"bytes,10,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Pod level stats for each step.
	PodStatsSequence *PodStatsSequence `protobuf:"bytes,3,opt,name=pod_stats_sequence,json=podStatsSequence,proto3" json:"pod_stats_sequence,omitempty"`
	// Top level summary of pod viewer.
	Summary *PodViewerSummary `protobuf:"bytes,7,opt,name=summary,proto3" json:"summary,omitempty"`
	// Error and warning messages for diagnosing profiling issues.
	Diagnostics *Diagnostics `protobuf:"bytes,8,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// A map from event type number to event name string for step breakdown.
	StepBreakdownEvents []*StepBreakdownEvents `protobuf:"bytes,9,rep,name=step_breakdown_events,json=stepBreakdownEvents,proto3" json:"step_breakdown_events,omitempty"`
	// Info to draw the topology graph.
	Topology *PodViewerTopology `protobuf:"bytes,11,opt,name=topology,proto3" json:"topology,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 12 A database of pod viewer records.

func (*PodViewerDatabase) Descriptor deprecated

func (*PodViewerDatabase) Descriptor() ([]byte, []int)

Deprecated: Use PodViewerDatabase.ProtoReflect.Descriptor instead.

func (*PodViewerDatabase) GetDeviceType

func (x *PodViewerDatabase) GetDeviceType() string

func (*PodViewerDatabase) GetDiagnostics

func (x *PodViewerDatabase) GetDiagnostics() *Diagnostics

func (*PodViewerDatabase) GetPodStatsSequence

func (x *PodViewerDatabase) GetPodStatsSequence() *PodStatsSequence

func (*PodViewerDatabase) GetStepBreakdownEvents

func (x *PodViewerDatabase) GetStepBreakdownEvents() []*StepBreakdownEvents

func (*PodViewerDatabase) GetSummary

func (x *PodViewerDatabase) GetSummary() *PodViewerSummary

func (*PodViewerDatabase) GetTopology

func (x *PodViewerDatabase) GetTopology() *PodViewerTopology

func (*PodViewerDatabase) ProtoMessage

func (*PodViewerDatabase) ProtoMessage()

func (*PodViewerDatabase) ProtoReflect

func (x *PodViewerDatabase) ProtoReflect() protoreflect.Message

func (*PodViewerDatabase) Reset

func (x *PodViewerDatabase) Reset()

func (*PodViewerDatabase) String

func (x *PodViewerDatabase) String() string

type PodViewerSummary

type PodViewerSummary struct {
	Warnings []string `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

func (*PodViewerSummary) Descriptor deprecated

func (*PodViewerSummary) Descriptor() ([]byte, []int)

Deprecated: Use PodViewerSummary.ProtoReflect.Descriptor instead.

func (*PodViewerSummary) GetWarnings

func (x *PodViewerSummary) GetWarnings() []string

func (*PodViewerSummary) ProtoMessage

func (*PodViewerSummary) ProtoMessage()

func (*PodViewerSummary) ProtoReflect

func (x *PodViewerSummary) ProtoReflect() protoreflect.Message

func (*PodViewerSummary) Reset

func (x *PodViewerSummary) Reset()

func (*PodViewerSummary) String

func (x *PodViewerSummary) String() string

type PodViewerTopology

type PodViewerTopology struct {

	// Number of chips in the x dimension of the rectangle/cube.
	XDimension int32 `protobuf:"varint,1,opt,name=x_dimension,json=xDimension,proto3" json:"x_dimension,omitempty"`
	// Number of chips in the y dimension of the rectangle/cube.
	YDimension int32 `protobuf:"varint,2,opt,name=y_dimension,json=yDimension,proto3" json:"y_dimension,omitempty"`
	// Number of chips in the z dimension of the cube.
	ZDimension int32 `protobuf:"varint,3,opt,name=z_dimension,json=zDimension,proto3" json:"z_dimension,omitempty"`
	// Number of chips in the x dimension of each host.
	HostXStride int32 `protobuf:"varint,4,opt,name=host_x_stride,json=hostXStride,proto3" json:"host_x_stride,omitempty"`
	// Number of chips in the y dimension of each host.
	HostYStride int32 `protobuf:"varint,5,opt,name=host_y_stride,json=hostYStride,proto3" json:"host_y_stride,omitempty"`
	// Number of chips in the z dimension of each host.
	HostZStride int32 `protobuf:"varint,6,opt,name=host_z_stride,json=hostZStride,proto3" json:"host_z_stride,omitempty"`
	// Number of cores per chip.
	NumCoresPerChip int32 `protobuf:"varint,7,opt,name=num_cores_per_chip,json=numCoresPerChip,proto3" json:"num_cores_per_chip,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 8 Topology graph draws all the cores in the system in a 2-D rectangle or 3-D cube. It is hierarchically grouped by host, chip and core.

func (*PodViewerTopology) Descriptor deprecated

func (*PodViewerTopology) Descriptor() ([]byte, []int)

Deprecated: Use PodViewerTopology.ProtoReflect.Descriptor instead.

func (*PodViewerTopology) GetHostXStride

func (x *PodViewerTopology) GetHostXStride() int32

func (*PodViewerTopology) GetHostYStride

func (x *PodViewerTopology) GetHostYStride() int32

func (*PodViewerTopology) GetHostZStride

func (x *PodViewerTopology) GetHostZStride() int32

func (*PodViewerTopology) GetNumCoresPerChip

func (x *PodViewerTopology) GetNumCoresPerChip() int32

func (*PodViewerTopology) GetXDimension

func (x *PodViewerTopology) GetXDimension() int32

func (*PodViewerTopology) GetYDimension

func (x *PodViewerTopology) GetYDimension() int32

func (*PodViewerTopology) GetZDimension

func (x *PodViewerTopology) GetZDimension() int32

func (*PodViewerTopology) ProtoMessage

func (*PodViewerTopology) ProtoMessage()

func (*PodViewerTopology) ProtoReflect

func (x *PodViewerTopology) ProtoReflect() protoreflect.Message

func (*PodViewerTopology) Reset

func (x *PodViewerTopology) Reset()

func (*PodViewerTopology) String

func (x *PodViewerTopology) String() string

type PrecisionStats

type PrecisionStats struct {

	// Amount of time spent on 16-bit computation (in ps).
	Compute_16BitPs uint64 `protobuf:"varint,1,opt,name=compute_16bit_ps,json=compute16bitPs,proto3" json:"compute_16bit_ps,omitempty"`
	// Amount of time spent on 32-bit computation (in ps).
	Compute_32BitPs uint64 `protobuf:"varint,2,opt,name=compute_32bit_ps,json=compute32bitPs,proto3" json:"compute_32bit_ps,omitempty"`
	// contains filtered or unexported fields
}

Statistics about the various precision used in computation.

func (*PrecisionStats) Descriptor deprecated

func (*PrecisionStats) Descriptor() ([]byte, []int)

Deprecated: Use PrecisionStats.ProtoReflect.Descriptor instead.

func (*PrecisionStats) GetCompute_16BitPs

func (x *PrecisionStats) GetCompute_16BitPs() uint64

func (*PrecisionStats) GetCompute_32BitPs

func (x *PrecisionStats) GetCompute_32BitPs() uint64

func (*PrecisionStats) ProtoMessage

func (*PrecisionStats) ProtoMessage()

func (*PrecisionStats) ProtoReflect

func (x *PrecisionStats) ProtoReflect() protoreflect.Message

func (*PrecisionStats) Reset

func (x *PrecisionStats) Reset()

func (*PrecisionStats) String

func (x *PrecisionStats) String() string

type PreprocessResult

type PreprocessResult struct {

	// Heap sizes at each HLO program point (the HLO sequential order).
	HeapSizes []float64 `protobuf:"fixed64,1,rep,packed,name=heap_sizes,json=heapSizes,proto3" json:"heap_sizes,omitempty"`
	// Unpadded heap sizes (calculated as the minimal sizes based on the data type
	// and dimensionality) at each HLO program point (the HLO sequential order).
	UnpaddedHeapSizes []float64 `protobuf:"fixed64,2,rep,packed,name=unpadded_heap_sizes,json=unpaddedHeapSizes,proto3" json:"unpadded_heap_sizes,omitempty"`
	// Heap objects at the peak memory usage point ordered by HLO program "birth"
	// time.
	MaxHeap []*HeapObject `protobuf:"bytes,3,rep,name=max_heap,json=maxHeap,proto3" json:"max_heap,omitempty"`
	// Heap objects at the peak memory usage point ordered by size, descending.
	MaxHeapBySize []*HeapObject `protobuf:"bytes,4,rep,name=max_heap_by_size,json=maxHeapBySize,proto3" json:"max_heap_by_size,omitempty"`
	// Mapping from logical buffer ID to the HLO sequential order span in which it
	// is alive.
	LogicalBufferSpans map[int32]*BufferSpan `` /* 206-byte string literal not displayed */
	// Indexes to get back and forth from the by-size and by-program-order
	// sequences.
	MaxHeapToBySize      []int32 `protobuf:"varint,6,rep,packed,name=max_heap_to_by_size,json=maxHeapToBySize,proto3" json:"max_heap_to_by_size,omitempty"`
	BySizeToMaxHeap      []int32 `protobuf:"varint,7,rep,packed,name=by_size_to_max_heap,json=bySizeToMaxHeap,proto3" json:"by_size_to_max_heap,omitempty"`
	ModuleName           string  `protobuf:"bytes,8,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
	EntryComputationName string  `protobuf:"bytes,9,opt,name=entry_computation_name,json=entryComputationName,proto3" json:"entry_computation_name,omitempty"`
	// Peak heap size for the HLO program.
	PeakHeapMib float64 `protobuf:"fixed64,10,opt,name=peak_heap_mib,json=peakHeapMib,proto3" json:"peak_heap_mib,omitempty"`
	// Peak unpadded heap size for the HLO program.
	PeakUnpaddedHeapMib float64 `protobuf:"fixed64,11,opt,name=peak_unpadded_heap_mib,json=peakUnpaddedHeapMib,proto3" json:"peak_unpadded_heap_mib,omitempty"`
	// HLO program point number at which the peak heap size occurs.
	PeakHeapSizePosition int32 `` /* 127-byte string literal not displayed */
	// Size of the entry computation parameters in MiB.
	//
	// This does not reflect whether those MiB are reusable during the computation
	// or not, it is simply a size value.
	EntryComputationParametersMib float64 `` /* 155-byte string literal not displayed */
	NonReusableMib                float64 `protobuf:"fixed64,14,opt,name=non_reusable_mib,json=nonReusableMib,proto3" json:"non_reusable_mib,omitempty"`
	MaybeLiveOutMib               float64 `protobuf:"fixed64,15,opt,name=maybe_live_out_mib,json=maybeLiveOutMib,proto3" json:"maybe_live_out_mib,omitempty"`
	// total size of indefinite/global and temporary buffer allocations.
	TotalBufferAllocationMib float64 `` /* 140-byte string literal not displayed */
	// total size of indefinite/global buffer allocations.
	IndefiniteBufferAllocationMib float64             `` /* 155-byte string literal not displayed */
	IndefiniteLifetimes           []*BufferAllocation `protobuf:"bytes,16,rep,name=indefinite_lifetimes,json=indefiniteLifetimes,proto3" json:"indefinite_lifetimes,omitempty"`
	AllocationTimeline            string              `protobuf:"bytes,17,opt,name=allocation_timeline,json=allocationTimeline,proto3" json:"allocation_timeline,omitempty"`
	// contains filtered or unexported fields
}

Groups together all results from the preprocessing C++ step.

func (*PreprocessResult) Descriptor deprecated

func (*PreprocessResult) Descriptor() ([]byte, []int)

Deprecated: Use PreprocessResult.ProtoReflect.Descriptor instead.

func (*PreprocessResult) GetAllocationTimeline added in v2.12.0

func (x *PreprocessResult) GetAllocationTimeline() string

func (*PreprocessResult) GetBySizeToMaxHeap

func (x *PreprocessResult) GetBySizeToMaxHeap() []int32

func (*PreprocessResult) GetEntryComputationName

func (x *PreprocessResult) GetEntryComputationName() string

func (*PreprocessResult) GetEntryComputationParametersMib

func (x *PreprocessResult) GetEntryComputationParametersMib() float64

func (*PreprocessResult) GetHeapSizes

func (x *PreprocessResult) GetHeapSizes() []float64

func (*PreprocessResult) GetIndefiniteBufferAllocationMib added in v2.14.0

func (x *PreprocessResult) GetIndefiniteBufferAllocationMib() float64

func (*PreprocessResult) GetIndefiniteLifetimes

func (x *PreprocessResult) GetIndefiniteLifetimes() []*BufferAllocation

func (*PreprocessResult) GetLogicalBufferSpans

func (x *PreprocessResult) GetLogicalBufferSpans() map[int32]*BufferSpan

func (*PreprocessResult) GetMaxHeap

func (x *PreprocessResult) GetMaxHeap() []*HeapObject

func (*PreprocessResult) GetMaxHeapBySize

func (x *PreprocessResult) GetMaxHeapBySize() []*HeapObject

func (*PreprocessResult) GetMaxHeapToBySize

func (x *PreprocessResult) GetMaxHeapToBySize() []int32

func (*PreprocessResult) GetMaybeLiveOutMib

func (x *PreprocessResult) GetMaybeLiveOutMib() float64

func (*PreprocessResult) GetModuleName

func (x *PreprocessResult) GetModuleName() string

func (*PreprocessResult) GetNonReusableMib

func (x *PreprocessResult) GetNonReusableMib() float64

func (*PreprocessResult) GetPeakHeapMib

func (x *PreprocessResult) GetPeakHeapMib() float64

func (*PreprocessResult) GetPeakHeapSizePosition

func (x *PreprocessResult) GetPeakHeapSizePosition() int32

func (*PreprocessResult) GetPeakUnpaddedHeapMib

func (x *PreprocessResult) GetPeakUnpaddedHeapMib() float64

func (*PreprocessResult) GetTotalBufferAllocationMib added in v2.14.0

func (x *PreprocessResult) GetTotalBufferAllocationMib() float64

func (*PreprocessResult) GetUnpaddedHeapSizes

func (x *PreprocessResult) GetUnpaddedHeapSizes() []float64

func (*PreprocessResult) ProtoMessage

func (*PreprocessResult) ProtoMessage()

func (*PreprocessResult) ProtoReflect

func (x *PreprocessResult) ProtoReflect() protoreflect.Message

func (*PreprocessResult) Reset

func (x *PreprocessResult) Reset()

func (*PreprocessResult) String

func (x *PreprocessResult) String() string

type Profile

type Profile struct {

	// Root of a profile broken down by instruction category.
	ByCategory *Node `protobuf:"bytes,1,opt,name=by_category,json=byCategory,proto3" json:"by_category,omitempty"`
	// Root of a profile broken down by program.
	ByProgram *Node `protobuf:"bytes,4,opt,name=by_program,json=byProgram,proto3" json:"by_program,omitempty"`
	// Device type.
	DeviceType string `protobuf:"bytes,5,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Exclude idle ops.
	ByCategoryExcludeIdle *Node `` /* 128-byte string literal not displayed */
	ByProgramExcludeIdle  *Node `protobuf:"bytes,7,opt,name=by_program_exclude_idle,json=byProgramExcludeIdle,proto3" json:"by_program_exclude_idle,omitempty"`
	// contains filtered or unexported fields
}

Profile is the top-level data that summarizes a program.

func (*Profile) Descriptor deprecated

func (*Profile) Descriptor() ([]byte, []int)

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetByCategory

func (x *Profile) GetByCategory() *Node

func (*Profile) GetByCategoryExcludeIdle

func (x *Profile) GetByCategoryExcludeIdle() *Node

func (*Profile) GetByProgram

func (x *Profile) GetByProgram() *Node

func (*Profile) GetByProgramExcludeIdle

func (x *Profile) GetByProgramExcludeIdle() *Node

func (*Profile) GetDeviceType

func (x *Profile) GetDeviceType() string

func (*Profile) ProtoMessage

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect

func (x *Profile) ProtoReflect() protoreflect.Message

func (*Profile) Reset

func (x *Profile) Reset()

func (*Profile) String

func (x *Profile) String() string

type RawData added in v2.13.0

type RawData struct {

	// Types that are assignable to RawData:
	//
	//	*RawData_DmaActivity
	//	*RawData_Args
	//	*RawData_TpuData
	RawData isRawData_RawData `protobuf_oneof:"raw_data"`
	// contains filtered or unexported fields
}

RawData contains raw data that can be used to attach further details to a TraceEvent. TraceEvents store this raw data in serialized form so it can be decoded on demand. This can improve performance as TraceEvents are often subject to filtering and only a small subset actually needs to be decoded. NEXT ID: 4

func (*RawData) Descriptor deprecated added in v2.13.0

func (*RawData) Descriptor() ([]byte, []int)

Deprecated: Use RawData.ProtoReflect.Descriptor instead.

func (*RawData) GetArgs added in v2.13.0

func (x *RawData) GetArgs() *TraceEventArguments

func (*RawData) GetDmaActivity added in v2.13.0

func (x *RawData) GetDmaActivity() *DmaActivity

func (*RawData) GetRawData added in v2.13.0

func (m *RawData) GetRawData() isRawData_RawData

func (*RawData) GetTpuData added in v2.13.0

func (x *RawData) GetTpuData() *TpuTraceData

func (*RawData) ProtoMessage added in v2.13.0

func (*RawData) ProtoMessage()

func (*RawData) ProtoReflect added in v2.13.0

func (x *RawData) ProtoReflect() protoreflect.Message

func (*RawData) Reset added in v2.13.0

func (x *RawData) Reset()

func (*RawData) String added in v2.13.0

func (x *RawData) String() string

type RawData_Args added in v2.13.0

type RawData_Args struct {
	Args *TraceEventArguments `protobuf:"bytes,2,opt,name=args,oneof"`
}

type RawData_DmaActivity added in v2.13.0

type RawData_DmaActivity struct {
	DmaActivity *DmaActivity `protobuf:"bytes,1,opt,name=dma_activity,json=dmaActivity,oneof"`
}

type RawData_TpuData added in v2.13.0

type RawData_TpuData struct {
	TpuData *TpuTraceData `protobuf:"bytes,3,opt,name=tpu_data,json=tpuData,oneof"` // Never used. For the ease of template code.
}

type ReplicaGroup

type ReplicaGroup struct {

	// The ids of the replicas that belongs to the same group. The ordering of the
	// ids matters in some ops (e.g., all-to-all).
	ReplicaIds []int64 `protobuf:"varint,1,rep,packed,name=replica_ids,json=replicaIds,proto3" json:"replica_ids,omitempty"`
	// contains filtered or unexported fields
}

Describes the replica groups in a cross replica op (e.g., all-reduce and all-to-all).

func (*ReplicaGroup) Descriptor deprecated

func (*ReplicaGroup) Descriptor() ([]byte, []int)

Deprecated: Use ReplicaGroup.ProtoReflect.Descriptor instead.

func (*ReplicaGroup) GetReplicaIds

func (x *ReplicaGroup) GetReplicaIds() []int64

func (*ReplicaGroup) ProtoMessage

func (*ReplicaGroup) ProtoMessage()

func (*ReplicaGroup) ProtoReflect

func (x *ReplicaGroup) ProtoReflect() protoreflect.Message

func (*ReplicaGroup) Reset

func (x *ReplicaGroup) Reset()

func (*ReplicaGroup) String

func (x *ReplicaGroup) String() string

type Resource

type Resource struct {

	// The name of the resource.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The id of the resource. Unique within a device.
	ResourceId *uint32 `protobuf:"varint,2,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
	// Number of events added to this resource.
	NumEvents *uint32 `protobuf:"varint,3,opt,name=num_events,json=numEvents" json:"num_events,omitempty"`
	// contains filtered or unexported fields
}

A 'resource' generally is a specific computation component on a device. These can range from threads on CPUs to specific arithmetic units on hardware devices.

func (*Resource) Descriptor deprecated

func (*Resource) Descriptor() ([]byte, []int)

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetNumEvents added in v2.13.0

func (x *Resource) GetNumEvents() uint32

func (*Resource) GetResourceId

func (x *Resource) GetResourceId() uint32

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect

func (x *Resource) ProtoReflect() protoreflect.Message

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

type RunEnvironment

type RunEnvironment struct {

	// Number of hosts used.
	HostCount int32 `protobuf:"varint,1,opt,name=host_count,json=hostCount,proto3" json:"host_count,omitempty"`
	// Number of tasks used.
	TaskCount int32 `protobuf:"varint,2,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`
	// Distinct hostnames seen.
	Hostnames map[string]bool `` /* 160-byte string literal not displayed */
	// The type of device used.
	DeviceType string `protobuf:"bytes,4,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// The number of device cores used.
	//
	//	In TPU case, this corresponds to the number of TPU cores
	//	In GPU case, this corresponds to the number of GPUs (not the number of
	//	SMs).
	DeviceCoreCount int32 `protobuf:"varint,5,opt,name=device_core_count,json=deviceCoreCount,proto3" json:"device_core_count,omitempty"`
	// Host-independent information about this job.
	HostIndependentJobInfo *HostIndependentJobInfoResult `` /* 131-byte string literal not displayed */
	// Host-dependent information about this job.
	HostDependentJobInfo []*HostDependentJobInfoResult `protobuf:"bytes,8,rep,name=host_dependent_job_info,json=hostDependentJobInfo,proto3" json:"host_dependent_job_info,omitempty"`
	// The number of replicas, corresponds to input parallelism.
	// If there is no model parallelism, replica_count = device_core_count
	ReplicaCount int32 `protobuf:"varint,9,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"`
	// The number of cores used for a single replica, e.g. model parallelism.
	// If there is no model parallelism, then num_cores_per_replica = 1
	NumCoresPerReplica int32 `protobuf:"varint,10,opt,name=num_cores_per_replica,json=numCoresPerReplica,proto3" json:"num_cores_per_replica,omitempty"`
	// The chip interconnection topology.
	//
	// Deprecated: Marked as deprecated in tensorflow/core/profiler/protobuf/op_stats.proto.
	Topology *SystemTopology `protobuf:"bytes,11,opt,name=topology,proto3" json:"topology,omitempty"`
	// Host trace level.
	HostTraceLevel uint32 `protobuf:"varint,12,opt,name=host_trace_level,json=hostTraceLevel,proto3" json:"host_trace_level,omitempty"`
	// The chip and host interconnection topology.
	SystemTopology *Topology `protobuf:"bytes,13,opt,name=system_topology,json=systemTopology,proto3" json:"system_topology,omitempty"`
	// Whether it is a training analysis or inference analysis.
	IsTraining bool `protobuf:"varint,14,opt,name=is_training,json=isTraining,proto3" json:"is_training,omitempty"`
	// contains filtered or unexported fields
}

The run environment of a profiling session.

func (*RunEnvironment) Descriptor deprecated

func (*RunEnvironment) Descriptor() ([]byte, []int)

Deprecated: Use RunEnvironment.ProtoReflect.Descriptor instead.

func (*RunEnvironment) GetDeviceCoreCount

func (x *RunEnvironment) GetDeviceCoreCount() int32

func (*RunEnvironment) GetDeviceType

func (x *RunEnvironment) GetDeviceType() string

func (*RunEnvironment) GetHostCount

func (x *RunEnvironment) GetHostCount() int32

func (*RunEnvironment) GetHostDependentJobInfo

func (x *RunEnvironment) GetHostDependentJobInfo() []*HostDependentJobInfoResult

func (*RunEnvironment) GetHostIndependentJobInfo

func (x *RunEnvironment) GetHostIndependentJobInfo() *HostIndependentJobInfoResult

func (*RunEnvironment) GetHostTraceLevel

func (x *RunEnvironment) GetHostTraceLevel() uint32

func (*RunEnvironment) GetHostnames

func (x *RunEnvironment) GetHostnames() map[string]bool

func (*RunEnvironment) GetIsTraining added in v2.14.0

func (x *RunEnvironment) GetIsTraining() bool

func (*RunEnvironment) GetNumCoresPerReplica

func (x *RunEnvironment) GetNumCoresPerReplica() int32

func (*RunEnvironment) GetReplicaCount

func (x *RunEnvironment) GetReplicaCount() int32

func (*RunEnvironment) GetSystemTopology added in v2.12.0

func (x *RunEnvironment) GetSystemTopology() *Topology

func (*RunEnvironment) GetTaskCount

func (x *RunEnvironment) GetTaskCount() int32

func (*RunEnvironment) GetTopology deprecated

func (x *RunEnvironment) GetTopology() *SystemTopology

Deprecated: Marked as deprecated in tensorflow/core/profiler/protobuf/op_stats.proto.

func (*RunEnvironment) ProtoMessage

func (*RunEnvironment) ProtoMessage()

func (*RunEnvironment) ProtoReflect

func (x *RunEnvironment) ProtoReflect() protoreflect.Message

func (*RunEnvironment) Reset

func (x *RunEnvironment) Reset()

func (*RunEnvironment) String

func (x *RunEnvironment) String() string

type StepBreakdownEvents

type StepBreakdownEvents struct {
	Id   int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*StepBreakdownEvents) Descriptor deprecated

func (*StepBreakdownEvents) Descriptor() ([]byte, []int)

Deprecated: Use StepBreakdownEvents.ProtoReflect.Descriptor instead.

func (*StepBreakdownEvents) GetId

func (x *StepBreakdownEvents) GetId() int32

func (*StepBreakdownEvents) GetName

func (x *StepBreakdownEvents) GetName() string

func (*StepBreakdownEvents) ProtoMessage

func (*StepBreakdownEvents) ProtoMessage()

func (*StepBreakdownEvents) ProtoReflect

func (x *StepBreakdownEvents) ProtoReflect() protoreflect.Message

func (*StepBreakdownEvents) Reset

func (x *StepBreakdownEvents) Reset()

func (*StepBreakdownEvents) String

func (x *StepBreakdownEvents) String() string

type StepDatabaseResult

type StepDatabaseResult struct {

	// A sequence of PerCoreStepInfo.
	StepSequence []*PerCoreStepInfo `protobuf:"bytes,1,rep,name=step_sequence,json=stepSequence,proto3" json:"step_sequence,omitempty"`
	// Whether the step db uses incomplete step information.
	// This flag is set to true when:
	// 1) no step marker or annotation present.
	// 2) profiling duration is too short to cover a full step.
	// If this flag is false, we will group and breakdown the
	// profile by complete steps only and ignore incomplete steps.
	// If this flag is true, we will simply aggregate and breakdown over the total
	// profile as a single step.
	UseIncompleteStep bool `protobuf:"varint,2,opt,name=use_incomplete_step,json=useIncompleteStep,proto3" json:"use_incomplete_step,omitempty"`
	// Number of steps dropped during post processing.
	NumStepsDropped uint32 `protobuf:"varint,3,opt,name=num_steps_dropped,json=numStepsDropped,proto3" json:"num_steps_dropped,omitempty"`
	// If the step_sequence is empty because:
	//   - there is no step profiled on any host, then empty_intersect is false.
	//   - there are steps profiled on some host, but the intersection of steps
	//     over all hosts is empty, then empty_intersect is true.
	EmptyIntersect bool `protobuf:"varint,4,opt,name=empty_intersect,json=emptyIntersect,proto3" json:"empty_intersect,omitempty"`
	// contains filtered or unexported fields
}

Result proto for a StepDatabase.

func (*StepDatabaseResult) Descriptor deprecated

func (*StepDatabaseResult) Descriptor() ([]byte, []int)

Deprecated: Use StepDatabaseResult.ProtoReflect.Descriptor instead.

func (*StepDatabaseResult) GetEmptyIntersect

func (x *StepDatabaseResult) GetEmptyIntersect() bool

func (*StepDatabaseResult) GetNumStepsDropped

func (x *StepDatabaseResult) GetNumStepsDropped() uint32

func (*StepDatabaseResult) GetStepSequence

func (x *StepDatabaseResult) GetStepSequence() []*PerCoreStepInfo

func (*StepDatabaseResult) GetUseIncompleteStep

func (x *StepDatabaseResult) GetUseIncompleteStep() bool

func (*StepDatabaseResult) ProtoMessage

func (*StepDatabaseResult) ProtoMessage()

func (*StepDatabaseResult) ProtoReflect

func (x *StepDatabaseResult) ProtoReflect() protoreflect.Message

func (*StepDatabaseResult) Reset

func (x *StepDatabaseResult) Reset()

func (*StepDatabaseResult) String

func (x *StepDatabaseResult) String() string

type StepInfoResult

type StepInfoResult struct {

	// The step number.
	StepNum uint32 `protobuf:"varint,1,opt,name=step_num,json=stepNum,proto3" json:"step_num,omitempty"`
	// The step name.
	StepName string `protobuf:"bytes,5,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty"`
	// The step duration in picoseconds.
	DurationPs uint64 `protobuf:"varint,2,opt,name=duration_ps,json=durationPs,proto3" json:"duration_ps,omitempty"`
	// The start time of this step in picoseconds.
	BeginPs uint64 `protobuf:"varint,3,opt,name=begin_ps,json=beginPs,proto3" json:"begin_ps,omitempty"`
	// Breakdown of the step-time. Can be unpacked into a GenericStepBreakdown.
	StepBreakdown *anypb.Any `protobuf:"bytes,4,opt,name=step_breakdown,json=stepBreakdown,proto3" json:"step_breakdown,omitempty"`
	// Total time/bytes/occurences for collectives. (All-Reduce, All-to-All etc)
	Collectives *DeviceMemoryTransfer `protobuf:"bytes,6,opt,name=collectives,proto3" json:"collectives,omitempty"`
	// contains filtered or unexported fields
}

Next ID: 7 Result proto for StepInfo.

func (*StepInfoResult) Descriptor deprecated

func (*StepInfoResult) Descriptor() ([]byte, []int)

Deprecated: Use StepInfoResult.ProtoReflect.Descriptor instead.

func (*StepInfoResult) GetBeginPs

func (x *StepInfoResult) GetBeginPs() uint64

func (*StepInfoResult) GetCollectives added in v2.13.0

func (x *StepInfoResult) GetCollectives() *DeviceMemoryTransfer

func (*StepInfoResult) GetDurationPs

func (x *StepInfoResult) GetDurationPs() uint64

func (*StepInfoResult) GetStepBreakdown

func (x *StepInfoResult) GetStepBreakdown() *anypb.Any

func (*StepInfoResult) GetStepName

func (x *StepInfoResult) GetStepName() string

func (*StepInfoResult) GetStepNum

func (x *StepInfoResult) GetStepNum() uint32

func (*StepInfoResult) ProtoMessage

func (*StepInfoResult) ProtoMessage()

func (*StepInfoResult) ProtoReflect

func (x *StepInfoResult) ProtoReflect() protoreflect.Message

func (*StepInfoResult) Reset

func (x *StepInfoResult) Reset()

func (*StepInfoResult) String

func (x *StepInfoResult) String() string

type StepSummary

type StepSummary struct {
	Average           float64 `protobuf:"fixed64,1,opt,name=average,proto3" json:"average,omitempty"`
	StandardDeviation float64 `protobuf:"fixed64,2,opt,name=standard_deviation,json=standardDeviation,proto3" json:"standard_deviation,omitempty"`
	Minimum           float64 `protobuf:"fixed64,3,opt,name=minimum,proto3" json:"minimum,omitempty"`
	Maximum           float64 `protobuf:"fixed64,4,opt,name=maximum,proto3" json:"maximum,omitempty"`
	// contains filtered or unexported fields
}

Used for both step duration and Op duration.

func (*StepSummary) Descriptor deprecated

func (*StepSummary) Descriptor() ([]byte, []int)

Deprecated: Use StepSummary.ProtoReflect.Descriptor instead.

func (*StepSummary) GetAverage

func (x *StepSummary) GetAverage() float64

func (*StepSummary) GetMaximum

func (x *StepSummary) GetMaximum() float64

func (*StepSummary) GetMinimum

func (x *StepSummary) GetMinimum() float64

func (*StepSummary) GetStandardDeviation

func (x *StepSummary) GetStandardDeviation() float64

func (*StepSummary) ProtoMessage

func (*StepSummary) ProtoMessage()

func (*StepSummary) ProtoReflect

func (x *StepSummary) ProtoReflect() protoreflect.Message

func (*StepSummary) Reset

func (x *StepSummary) Reset()

func (*StepSummary) String

func (x *StepSummary) String() string

type SystemTopology

type SystemTopology struct {

	// The X, Y, and Z dimensions of this topology. 0 means that dimension does
	// not exist.
	XDimension int64 `protobuf:"varint,1,opt,name=x_dimension,json=xDimension,proto3" json:"x_dimension,omitempty"`
	YDimension int64 `protobuf:"varint,2,opt,name=y_dimension,json=yDimension,proto3" json:"y_dimension,omitempty"`
	ZDimension int64 `protobuf:"varint,3,opt,name=z_dimension,json=zDimension,proto3" json:"z_dimension,omitempty"`
	// The number of expected bad chips in this system.
	NumExpectedReducedChips int64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

System topology, which describes the number of chips in a pod and the connectivity style.

func (*SystemTopology) Descriptor deprecated

func (*SystemTopology) Descriptor() ([]byte, []int)

Deprecated: Use SystemTopology.ProtoReflect.Descriptor instead.

func (*SystemTopology) GetNumExpectedReducedChips

func (x *SystemTopology) GetNumExpectedReducedChips() int64

func (*SystemTopology) GetXDimension

func (x *SystemTopology) GetXDimension() int64

func (*SystemTopology) GetYDimension

func (x *SystemTopology) GetYDimension() int64

func (*SystemTopology) GetZDimension

func (x *SystemTopology) GetZDimension() int64

func (*SystemTopology) ProtoMessage

func (*SystemTopology) ProtoMessage()

func (*SystemTopology) ProtoReflect

func (x *SystemTopology) ProtoReflect() protoreflect.Message

func (*SystemTopology) Reset

func (x *SystemTopology) Reset()

func (*SystemTopology) String

func (x *SystemTopology) String() string

type Task added in v2.13.0

type Task struct {

	// The most recent changelist number from the client that built the binary.
	Changelist *int32 `protobuf:"varint,1,opt,name=changelist" json:"changelist,omitempty"`
	// True if the client that built the binary was mint (no local changes).
	CleanBuild *bool `protobuf:"varint,2,opt,name=clean_build,json=cleanBuild" json:"clean_build,omitempty"`
	// Build time (in ns relative to the Unix epoch).
	BuildTime *int64 `protobuf:"varint,3,opt,name=build_time,json=buildTime" json:"build_time,omitempty"`
	// Build target for the binary.
	BuildTarget *string `protobuf:"bytes,4,opt,name=build_target,json=buildTarget" json:"build_target,omitempty"`
	// The full command line used to invoke the task.
	CommandLine *string `protobuf:"bytes,5,opt,name=command_line,json=commandLine" json:"command_line,omitempty"`
	// Start time of the task (in ns relative to the Unix epoch).
	StartTime *int64 `protobuf:"varint,6,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
	// Task address specified by client at time of profiling request.
	TaskAddress *string `protobuf:"bytes,7,opt,name=task_address,json=taskAddress" json:"task_address,omitempty"`
	// Profiling start walltime (in ns).
	ProfileTimeNs *uint64 `protobuf:"varint,8,opt,name=profile_time_ns,json=profileTimeNs" json:"profile_time_ns,omitempty"`
	// Profiling duration (in ms).
	ProfileDurationMs *uint32 `protobuf:"varint,9,opt,name=profile_duration_ms,json=profileDurationMs" json:"profile_duration_ms,omitempty"`
	// Host trace level.
	HostTraceLevel *uint32 `protobuf:"varint,10,opt,name=host_trace_level,json=hostTraceLevel" json:"host_trace_level,omitempty"`
	// Hardware core frequency.
	TensorCoreFreqHz *uint64  `protobuf:"varint,11,opt,name=tensor_core_freq_hz,json=tensorCoreFreqHz" json:"tensor_core_freq_hz,omitempty"`
	SparseCoreFreqHz *uint64  `protobuf:"varint,12,opt,name=sparse_core_freq_hz,json=sparseCoreFreqHz" json:"sparse_core_freq_hz,omitempty"`
	GtcFreqHz        *uint64  `protobuf:"varint,13,opt,name=gtc_freq_hz,json=gtcFreqHz" json:"gtc_freq_hz,omitempty"`
	PeakMemoryUsage  *uint64  `protobuf:"varint,14,opt,name=peak_memory_usage,json=peakMemoryUsage" json:"peak_memory_usage,omitempty"`
	CpuLimit         *float64 `protobuf:"fixed64,15,opt,name=cpu_limit,json=cpuLimit" json:"cpu_limit,omitempty"`
	CpuUsage         *float64 `protobuf:"fixed64,16,opt,name=cpu_usage,json=cpuUsage" json:"cpu_usage,omitempty"`
	// contains filtered or unexported fields
}

'Task' contains information about a task that profiler traced.

func (*Task) Descriptor deprecated added in v2.13.0

func (*Task) Descriptor() ([]byte, []int)

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetBuildTarget added in v2.13.0

func (x *Task) GetBuildTarget() string

func (*Task) GetBuildTime added in v2.13.0

func (x *Task) GetBuildTime() int64

func (*Task) GetChangelist added in v2.13.0

func (x *Task) GetChangelist() int32

func (*Task) GetCleanBuild added in v2.13.0

func (x *Task) GetCleanBuild() bool

func (*Task) GetCommandLine added in v2.13.0

func (x *Task) GetCommandLine() string

func (*Task) GetCpuLimit added in v2.13.0

func (x *Task) GetCpuLimit() float64

func (*Task) GetCpuUsage added in v2.13.0

func (x *Task) GetCpuUsage() float64

func (*Task) GetGtcFreqHz added in v2.13.0

func (x *Task) GetGtcFreqHz() uint64

func (*Task) GetHostTraceLevel added in v2.13.0

func (x *Task) GetHostTraceLevel() uint32

func (*Task) GetPeakMemoryUsage added in v2.13.0

func (x *Task) GetPeakMemoryUsage() uint64

func (*Task) GetProfileDurationMs added in v2.13.0

func (x *Task) GetProfileDurationMs() uint32

func (*Task) GetProfileTimeNs added in v2.13.0

func (x *Task) GetProfileTimeNs() uint64

func (*Task) GetSparseCoreFreqHz added in v2.13.0

func (x *Task) GetSparseCoreFreqHz() uint64

func (*Task) GetStartTime added in v2.13.0

func (x *Task) GetStartTime() int64

func (*Task) GetTaskAddress added in v2.13.0

func (x *Task) GetTaskAddress() string

func (*Task) GetTensorCoreFreqHz added in v2.13.0

func (x *Task) GetTensorCoreFreqHz() uint64

func (*Task) ProtoMessage added in v2.13.0

func (*Task) ProtoMessage()

func (*Task) ProtoReflect added in v2.13.0

func (x *Task) ProtoReflect() protoreflect.Message

func (*Task) Reset added in v2.13.0

func (x *Task) Reset()

func (*Task) String added in v2.13.0

func (x *Task) String() string

type TfDataBottleneckAnalysis

type TfDataBottleneckAnalysis struct {

	// Host name.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// Input pipeline name.
	InputPipeline string `protobuf:"bytes,2,opt,name=input_pipeline,json=inputPipeline,proto3" json:"input_pipeline,omitempty"`
	// Maximum latency of the input pipeline.
	MaxLatencyPs int64 `protobuf:"varint,3,opt,name=max_latency_ps,json=maxLatencyPs,proto3" json:"max_latency_ps,omitempty"`
	// Name of the bottleneck iterator.
	IteratorName string `protobuf:"bytes,4,opt,name=iterator_name,json=iteratorName,proto3" json:"iterator_name,omitempty"`
	// Long name of the bottleneck iterator.
	IteratorLongName string `protobuf:"bytes,5,opt,name=iterator_long_name,json=iteratorLongName,proto3" json:"iterator_long_name,omitempty"`
	// Latency of the bottleneck iterator.
	IteratorLatencyPs int64 `protobuf:"varint,7,opt,name=iterator_latency_ps,json=iteratorLatencyPs,proto3" json:"iterator_latency_ps,omitempty"`
	// Suggestion to resolve the bottleneck.
	Suggestion string `protobuf:"bytes,6,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
	// contains filtered or unexported fields
}

func (*TfDataBottleneckAnalysis) Descriptor deprecated

func (*TfDataBottleneckAnalysis) Descriptor() ([]byte, []int)

Deprecated: Use TfDataBottleneckAnalysis.ProtoReflect.Descriptor instead.

func (*TfDataBottleneckAnalysis) GetHost

func (x *TfDataBottleneckAnalysis) GetHost() string

func (*TfDataBottleneckAnalysis) GetInputPipeline

func (x *TfDataBottleneckAnalysis) GetInputPipeline() string

func (*TfDataBottleneckAnalysis) GetIteratorLatencyPs

func (x *TfDataBottleneckAnalysis) GetIteratorLatencyPs() int64

func (*TfDataBottleneckAnalysis) GetIteratorLongName

func (x *TfDataBottleneckAnalysis) GetIteratorLongName() string

func (*TfDataBottleneckAnalysis) GetIteratorName

func (x *TfDataBottleneckAnalysis) GetIteratorName() string

func (*TfDataBottleneckAnalysis) GetMaxLatencyPs

func (x *TfDataBottleneckAnalysis) GetMaxLatencyPs() int64

func (*TfDataBottleneckAnalysis) GetSuggestion

func (x *TfDataBottleneckAnalysis) GetSuggestion() string

func (*TfDataBottleneckAnalysis) ProtoMessage

func (*TfDataBottleneckAnalysis) ProtoMessage()

func (*TfDataBottleneckAnalysis) ProtoReflect

func (x *TfDataBottleneckAnalysis) ProtoReflect() protoreflect.Message

func (*TfDataBottleneckAnalysis) Reset

func (x *TfDataBottleneckAnalysis) Reset()

func (*TfDataBottleneckAnalysis) String

func (x *TfDataBottleneckAnalysis) String() string

type TfDataStats

type TfDataStats struct {

	// Metadata per iterator.
	IteratorMetadata map[int64]*IteratorMetadata `` /* 198-byte string literal not displayed */
	// Stats per input pipeline.
	InputPipelines map[int64]*InputPipelineStats `` /* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

Collection of stats of tf.data input pipelines within a host.

func (*TfDataStats) Descriptor deprecated

func (*TfDataStats) Descriptor() ([]byte, []int)

Deprecated: Use TfDataStats.ProtoReflect.Descriptor instead.

func (*TfDataStats) GetInputPipelines

func (x *TfDataStats) GetInputPipelines() map[int64]*InputPipelineStats

func (*TfDataStats) GetIteratorMetadata

func (x *TfDataStats) GetIteratorMetadata() map[int64]*IteratorMetadata

func (*TfDataStats) ProtoMessage

func (*TfDataStats) ProtoMessage()

func (*TfDataStats) ProtoReflect

func (x *TfDataStats) ProtoReflect() protoreflect.Message

func (*TfDataStats) Reset

func (x *TfDataStats) Reset()

func (*TfDataStats) String

func (x *TfDataStats) String() string

type TfFunction

type TfFunction struct {

	// A map from each execution mode to its corresponding metrics.
	Metrics map[int32]*TfFunctionMetrics `` /* 156-byte string literal not displayed */
	// Total tracing count from the program's beginning (i.e. beyond the profiling
	// period) of this tf-function.
	TotalTracingCount int64 `protobuf:"varint,2,opt,name=total_tracing_count,json=totalTracingCount,proto3" json:"total_tracing_count,omitempty"`
	// Compiler used to compile this function.
	Compiler TfFunctionCompiler `protobuf:"varint,3,opt,name=compiler,proto3,enum=tensorflow.profiler.TfFunctionCompiler" json:"compiler,omitempty"`
	// Percentage of time spent in the expensive calls to this function in the
	// profiled period.
	ExpensiveCallPercent float64 `protobuf:"fixed64,4,opt,name=expensive_call_percent,json=expensiveCallPercent,proto3" json:"expensive_call_percent,omitempty"`
	// contains filtered or unexported fields
}

Statistics for a tf-function.

func (*TfFunction) Descriptor deprecated

func (*TfFunction) Descriptor() ([]byte, []int)

Deprecated: Use TfFunction.ProtoReflect.Descriptor instead.

func (*TfFunction) GetCompiler

func (x *TfFunction) GetCompiler() TfFunctionCompiler

func (*TfFunction) GetExpensiveCallPercent

func (x *TfFunction) GetExpensiveCallPercent() float64

func (*TfFunction) GetMetrics

func (x *TfFunction) GetMetrics() map[int32]*TfFunctionMetrics

func (*TfFunction) GetTotalTracingCount

func (x *TfFunction) GetTotalTracingCount() int64

func (*TfFunction) ProtoMessage

func (*TfFunction) ProtoMessage()

func (*TfFunction) ProtoReflect

func (x *TfFunction) ProtoReflect() protoreflect.Message

func (*TfFunction) Reset

func (x *TfFunction) Reset()

func (*TfFunction) String

func (x *TfFunction) String() string

type TfFunctionCompiler

type TfFunctionCompiler int32

All possible compilers that can be used to compile a tf-function in the graph mode.

const (
	// Yet to be set.
	TfFunctionCompiler_INVALID_COMPILER TfFunctionCompiler = 0
	// Any other compiler.
	TfFunctionCompiler_OTHER_COMPILER TfFunctionCompiler = 1
	// If some instance of the function is compiled with XLA and some is compiled
	// with Non-XLA, use "MIXED_COMPILER".
	TfFunctionCompiler_MIXED_COMPILER TfFunctionCompiler = 2
	// XLA compiler.
	TfFunctionCompiler_XLA_COMPILER TfFunctionCompiler = 3
	// MLIR compiler.
	TfFunctionCompiler_MLIR_COMPILER TfFunctionCompiler = 4
)

func (TfFunctionCompiler) Descriptor

func (TfFunctionCompiler) Enum

func (TfFunctionCompiler) EnumDescriptor deprecated

func (TfFunctionCompiler) EnumDescriptor() ([]byte, []int)

Deprecated: Use TfFunctionCompiler.Descriptor instead.

func (TfFunctionCompiler) Number

func (TfFunctionCompiler) String

func (x TfFunctionCompiler) String() string

func (TfFunctionCompiler) Type

type TfFunctionDb

type TfFunctionDb struct {

	// A map from function name to the statistics of that function.
	TfFunctions map[string]*TfFunction `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

Statistics for all tf-functions.

func (*TfFunctionDb) Descriptor deprecated

func (*TfFunctionDb) Descriptor() ([]byte, []int)

Deprecated: Use TfFunctionDb.ProtoReflect.Descriptor instead.

func (*TfFunctionDb) GetTfFunctions

func (x *TfFunctionDb) GetTfFunctions() map[string]*TfFunction

func (*TfFunctionDb) ProtoMessage

func (*TfFunctionDb) ProtoMessage()

func (*TfFunctionDb) ProtoReflect

func (x *TfFunctionDb) ProtoReflect() protoreflect.Message

func (*TfFunctionDb) Reset

func (x *TfFunctionDb) Reset()

func (*TfFunctionDb) String

func (x *TfFunctionDb) String() string

type TfFunctionExecutionMode

type TfFunctionExecutionMode int32

All possible execution modes of a tf-function.

const (
	// Yet to be set.
	TfFunctionExecutionMode_INVALID_MODE TfFunctionExecutionMode = 0
	// Eager execution.
	TfFunctionExecutionMode_EAGER_MODE TfFunctionExecutionMode = 1
	// Graph execution with tracing.
	TfFunctionExecutionMode_TRACED_MODE TfFunctionExecutionMode = 2
	// Graph execution without tracing.
	TfFunctionExecutionMode_NOT_TRACED_MODE TfFunctionExecutionMode = 3
	// Concrete function.
	TfFunctionExecutionMode_CONCRETE_MODE TfFunctionExecutionMode = 4
)

func (TfFunctionExecutionMode) Descriptor

func (TfFunctionExecutionMode) Enum

func (TfFunctionExecutionMode) EnumDescriptor deprecated

func (TfFunctionExecutionMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use TfFunctionExecutionMode.Descriptor instead.

func (TfFunctionExecutionMode) Number

func (TfFunctionExecutionMode) String

func (x TfFunctionExecutionMode) String() string

func (TfFunctionExecutionMode) Type

type TfFunctionMetrics

type TfFunctionMetrics struct {

	// Number of invocations to the function in that execution mode.
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// The sum of "self-execution" time of this function over those invocations.
	SelfTimePs uint64 `protobuf:"varint,2,opt,name=self_time_ps,json=selfTimePs,proto3" json:"self_time_ps,omitempty"`
	// contains filtered or unexported fields
}

Metrics associated with a particular execution mode of a tf-function.

func (*TfFunctionMetrics) Descriptor deprecated

func (*TfFunctionMetrics) Descriptor() ([]byte, []int)

Deprecated: Use TfFunctionMetrics.ProtoReflect.Descriptor instead.

func (*TfFunctionMetrics) GetCount

func (x *TfFunctionMetrics) GetCount() uint64

func (*TfFunctionMetrics) GetSelfTimePs

func (x *TfFunctionMetrics) GetSelfTimePs() uint64

func (*TfFunctionMetrics) ProtoMessage

func (*TfFunctionMetrics) ProtoMessage()

func (*TfFunctionMetrics) ProtoReflect

func (x *TfFunctionMetrics) ProtoReflect() protoreflect.Message

func (*TfFunctionMetrics) Reset

func (x *TfFunctionMetrics) Reset()

func (*TfFunctionMetrics) String

func (x *TfFunctionMetrics) String() string

type TfStatsDatabase

type TfStatsDatabase struct {

	// The table that includes IDLE time.
	WithIdle *TfStatsTable `protobuf:"bytes,4,opt,name=with_idle,json=withIdle,proto3" json:"with_idle,omitempty"`
	// The table that excludes IDLE time.
	WithoutIdle *TfStatsTable `protobuf:"bytes,5,opt,name=without_idle,json=withoutIdle,proto3" json:"without_idle,omitempty"`
	// The type of device used.
	DeviceType string `protobuf:"bytes,6,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// contains filtered or unexported fields
}

A database of TfStatsTables.

func (*TfStatsDatabase) Descriptor deprecated

func (*TfStatsDatabase) Descriptor() ([]byte, []int)

Deprecated: Use TfStatsDatabase.ProtoReflect.Descriptor instead.

func (*TfStatsDatabase) GetDeviceType

func (x *TfStatsDatabase) GetDeviceType() string

func (*TfStatsDatabase) GetWithIdle

func (x *TfStatsDatabase) GetWithIdle() *TfStatsTable

func (*TfStatsDatabase) GetWithoutIdle

func (x *TfStatsDatabase) GetWithoutIdle() *TfStatsTable

func (*TfStatsDatabase) ProtoMessage

func (*TfStatsDatabase) ProtoMessage()

func (*TfStatsDatabase) ProtoReflect

func (x *TfStatsDatabase) ProtoReflect() protoreflect.Message

func (*TfStatsDatabase) Reset

func (x *TfStatsDatabase) Reset()

func (*TfStatsDatabase) String

func (x *TfStatsDatabase) String() string

type TfStatsRecord

type TfStatsRecord struct {

	// Rank of this TF-op among all TF-ops.
	Rank uint64 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"`
	// Whether this TF-op is on "Host" or "Device".
	HostOrDevice string `protobuf:"bytes,2,opt,name=host_or_device,json=hostOrDevice,proto3" json:"host_or_device,omitempty"`
	// TF-op type.
	OpType string `protobuf:"bytes,3,opt,name=op_type,json=opType,proto3" json:"op_type,omitempty"`
	// TF-op name.
	OpName string `protobuf:"bytes,4,opt,name=op_name,json=opName,proto3" json:"op_name,omitempty"`
	// Number of occurrences of the operation.
	Occurrences int64 `protobuf:"varint,5,opt,name=occurrences,proto3" json:"occurrences,omitempty"`
	// Total "accumulated" time in micro-seconds that the operation
	// took. If this operation has any children operations,
	// the "accumulated" time includes the time spent inside children.
	TotalTimeInUs float64 `protobuf:"fixed64,6,opt,name=total_time_in_us,json=totalTimeInUs,proto3" json:"total_time_in_us,omitempty"`
	// Average "accumulated" time in micro-seconds that each
	// occurrence of the operation took.
	AvgTimeInUs float64 `protobuf:"fixed64,7,opt,name=avg_time_in_us,json=avgTimeInUs,proto3" json:"avg_time_in_us,omitempty"`
	// Total "self" time in micro-seconds that the operation took.
	// If this operation has any children operations, the "self" time
	// doesn't include the time spent inside children.
	TotalSelfTimeInUs float64 `protobuf:"fixed64,8,opt,name=total_self_time_in_us,json=totalSelfTimeInUs,proto3" json:"total_self_time_in_us,omitempty"`
	// Average "self" time in micro-seconds that the operation took.
	AvgSelfTimeInUs float64 `protobuf:"fixed64,9,opt,name=avg_self_time_in_us,json=avgSelfTimeInUs,proto3" json:"avg_self_time_in_us,omitempty"`
	// Total "self" time as fraction of the sum of the total self-time
	// of operations run on the device. It is 0 if this op runs on the host.
	DeviceTotalSelfTimeAsFraction float64 `` /* 159-byte string literal not displayed */
	// Cumulative value of device_total_self_time_as_fraction.
	DeviceCumulativeTotalSelfTimeAsFraction float64 `` /* 191-byte string literal not displayed */
	// Total "self" time as fraction of the sum of the total self-time
	// of operations run on the host. It is 0 if this op runs on the device.
	HostTotalSelfTimeAsFraction float64 `` /* 153-byte string literal not displayed */
	// Cumulative value of host_total_self_time_as_fraction.
	HostCumulativeTotalSelfTimeAsFraction float64 `` /* 185-byte string literal not displayed */
	// Number of floating-point operations (FLOPs) performed per
	// second.
	MeasuredFlopRate float64 `protobuf:"fixed64,14,opt,name=measured_flop_rate,json=measuredFlopRate,proto3" json:"measured_flop_rate,omitempty"`
	// Number of bytes (including both read and write) accessed per
	// second.
	MeasuredMemoryBw float64 `protobuf:"fixed64,15,opt,name=measured_memory_bw,json=measuredMemoryBw,proto3" json:"measured_memory_bw,omitempty"`
	// Operational intensity, which is defined as FLOPs/bytes-accessed.
	OperationalIntensity float64 `protobuf:"fixed64,16,opt,name=operational_intensity,json=operationalIntensity,proto3" json:"operational_intensity,omitempty"`
	// Whether this operation is "Compute" or "Memory" bound,
	// according to the Roofline Model.
	BoundBy string `protobuf:"bytes,17,opt,name=bound_by,json=boundBy,proto3" json:"bound_by,omitempty"`
	// Whether this TF-op is eagerly executed.
	IsEager bool `protobuf:"varint,18,opt,name=is_eager,json=isEager,proto3" json:"is_eager,omitempty"`
	// Fraction of kernel time that utilizes GPU TensorCore.
	// It is 0.0 if this op does not run on a GPU device.
	GpuTensorcoreUtilization float64 `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

There is one TfStatsRecord for each TF operation profiled.

func (*TfStatsRecord) Descriptor deprecated

func (*TfStatsRecord) Descriptor() ([]byte, []int)

Deprecated: Use TfStatsRecord.ProtoReflect.Descriptor instead.

func (*TfStatsRecord) GetAvgSelfTimeInUs

func (x *TfStatsRecord) GetAvgSelfTimeInUs() float64

func (*TfStatsRecord) GetAvgTimeInUs

func (x *TfStatsRecord) GetAvgTimeInUs() float64

func (*TfStatsRecord) GetBoundBy

func (x *TfStatsRecord) GetBoundBy() string

func (*TfStatsRecord) GetDeviceCumulativeTotalSelfTimeAsFraction

func (x *TfStatsRecord) GetDeviceCumulativeTotalSelfTimeAsFraction() float64

func (*TfStatsRecord) GetDeviceTotalSelfTimeAsFraction

func (x *TfStatsRecord) GetDeviceTotalSelfTimeAsFraction() float64

func (*TfStatsRecord) GetGpuTensorcoreUtilization

func (x *TfStatsRecord) GetGpuTensorcoreUtilization() float64

func (*TfStatsRecord) GetHostCumulativeTotalSelfTimeAsFraction

func (x *TfStatsRecord) GetHostCumulativeTotalSelfTimeAsFraction() float64

func (*TfStatsRecord) GetHostOrDevice

func (x *TfStatsRecord) GetHostOrDevice() string

func (*TfStatsRecord) GetHostTotalSelfTimeAsFraction

func (x *TfStatsRecord) GetHostTotalSelfTimeAsFraction() float64

func (*TfStatsRecord) GetIsEager

func (x *TfStatsRecord) GetIsEager() bool

func (*TfStatsRecord) GetMeasuredFlopRate

func (x *TfStatsRecord) GetMeasuredFlopRate() float64

func (*TfStatsRecord) GetMeasuredMemoryBw

func (x *TfStatsRecord) GetMeasuredMemoryBw() float64

func (*TfStatsRecord) GetOccurrences

func (x *TfStatsRecord) GetOccurrences() int64

func (*TfStatsRecord) GetOpName

func (x *TfStatsRecord) GetOpName() string

func (*TfStatsRecord) GetOpType

func (x *TfStatsRecord) GetOpType() string

func (*TfStatsRecord) GetOperationalIntensity

func (x *TfStatsRecord) GetOperationalIntensity() float64

func (*TfStatsRecord) GetRank

func (x *TfStatsRecord) GetRank() uint64

func (*TfStatsRecord) GetTotalSelfTimeInUs

func (x *TfStatsRecord) GetTotalSelfTimeInUs() float64

func (*TfStatsRecord) GetTotalTimeInUs

func (x *TfStatsRecord) GetTotalTimeInUs() float64

func (*TfStatsRecord) ProtoMessage

func (*TfStatsRecord) ProtoMessage()

func (*TfStatsRecord) ProtoReflect

func (x *TfStatsRecord) ProtoReflect() protoreflect.Message

func (*TfStatsRecord) Reset

func (x *TfStatsRecord) Reset()

func (*TfStatsRecord) String

func (x *TfStatsRecord) String() string

type TfStatsTable

type TfStatsTable struct {

	// All TfStats records, one for each TF operation.
	TfStatsRecord []*TfStatsRecord `protobuf:"bytes,1,rep,name=tf_stats_record,json=tfStatsRecord,proto3" json:"tf_stats_record,omitempty"`
	// key to the pprof profile for host TF operations.
	HostTfPprofKey string `protobuf:"bytes,2,opt,name=host_tf_pprof_key,json=hostTfPprofKey,proto3" json:"host_tf_pprof_key,omitempty"`
	// key to the pprof profile for device TF operations.
	DeviceTfPprofKey string `protobuf:"bytes,3,opt,name=device_tf_pprof_key,json=deviceTfPprofKey,proto3" json:"device_tf_pprof_key,omitempty"`
	// contains filtered or unexported fields
}

A table of TFStatsRecords plus the corresponding pprof keys.

func (*TfStatsTable) Descriptor deprecated

func (*TfStatsTable) Descriptor() ([]byte, []int)

Deprecated: Use TfStatsTable.ProtoReflect.Descriptor instead.

func (*TfStatsTable) GetDeviceTfPprofKey

func (x *TfStatsTable) GetDeviceTfPprofKey() string

func (*TfStatsTable) GetHostTfPprofKey

func (x *TfStatsTable) GetHostTfPprofKey() string

func (*TfStatsTable) GetTfStatsRecord

func (x *TfStatsTable) GetTfStatsRecord() []*TfStatsRecord

func (*TfStatsTable) ProtoMessage

func (*TfStatsTable) ProtoMessage()

func (*TfStatsTable) ProtoReflect

func (x *TfStatsTable) ProtoReflect() protoreflect.Message

func (*TfStatsTable) Reset

func (x *TfStatsTable) Reset()

func (*TfStatsTable) String

func (x *TfStatsTable) String() string

type Topology added in v2.12.0

type Topology struct {

	// Topology of chips per host.
	ChipsPerHostBounds *TopologyDimension `protobuf:"bytes,1,opt,name=chips_per_host_bounds,json=chipsPerHostBounds,proto3" json:"chips_per_host_bounds,omitempty"`
	// Topology of hosts.
	HostBounds *TopologyDimension `protobuf:"bytes,2,opt,name=host_bounds,json=hostBounds,proto3" json:"host_bounds,omitempty"`
	// contains filtered or unexported fields
}

Topology of the system. Describes the number of chips and hosts and their connectivity.

func (*Topology) Descriptor deprecated added in v2.12.0

func (*Topology) Descriptor() ([]byte, []int)

Deprecated: Use Topology.ProtoReflect.Descriptor instead.

func (*Topology) GetChipsPerHostBounds added in v2.12.0

func (x *Topology) GetChipsPerHostBounds() *TopologyDimension

func (*Topology) GetHostBounds added in v2.12.0

func (x *Topology) GetHostBounds() *TopologyDimension

func (*Topology) ProtoMessage added in v2.12.0

func (*Topology) ProtoMessage()

func (*Topology) ProtoReflect added in v2.12.0

func (x *Topology) ProtoReflect() protoreflect.Message

func (*Topology) Reset added in v2.12.0

func (x *Topology) Reset()

func (*Topology) String added in v2.12.0

func (x *Topology) String() string

type TopologyDimension added in v2.12.0

type TopologyDimension struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
	Z int32 `protobuf:"varint,3,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

func (*TopologyDimension) Descriptor deprecated added in v2.12.0

func (*TopologyDimension) Descriptor() ([]byte, []int)

Deprecated: Use TopologyDimension.ProtoReflect.Descriptor instead.

func (*TopologyDimension) GetX added in v2.12.0

func (x *TopologyDimension) GetX() int32

func (*TopologyDimension) GetY added in v2.12.0

func (x *TopologyDimension) GetY() int32

func (*TopologyDimension) GetZ added in v2.12.0

func (x *TopologyDimension) GetZ() int32

func (*TopologyDimension) ProtoMessage added in v2.12.0

func (*TopologyDimension) ProtoMessage()

func (*TopologyDimension) ProtoReflect added in v2.12.0

func (x *TopologyDimension) ProtoReflect() protoreflect.Message

func (*TopologyDimension) Reset added in v2.12.0

func (x *TopologyDimension) Reset()

func (*TopologyDimension) String added in v2.12.0

func (x *TopologyDimension) String() string

type TpuTraceData added in v2.13.0

type TpuTraceData struct {
	Dummy *uint32 `protobuf:"varint,1,opt,name=dummy" json:"dummy,omitempty"`
	// contains filtered or unexported fields
}

func (*TpuTraceData) Descriptor deprecated added in v2.13.0

func (*TpuTraceData) Descriptor() ([]byte, []int)

Deprecated: Use TpuTraceData.ProtoReflect.Descriptor instead.

func (*TpuTraceData) GetDummy added in v2.13.0

func (x *TpuTraceData) GetDummy() uint32

func (*TpuTraceData) ProtoMessage added in v2.13.0

func (*TpuTraceData) ProtoMessage()

func (*TpuTraceData) ProtoReflect added in v2.13.0

func (x *TpuTraceData) ProtoReflect() protoreflect.Message

func (*TpuTraceData) Reset added in v2.13.0

func (x *TpuTraceData) Reset()

func (*TpuTraceData) String added in v2.13.0

func (x *TpuTraceData) String() string

type Trace

type Trace struct {

	// The devices that this trace has information about. Maps from device_id to
	// more data about the specific device.
	Devices map[uint32]*Device `` /* 135-byte string literal not displayed */
	// The tasks that were traced, keyed by a unique ID for the server on
	// which the task ran.
	Tasks map[uint32]*Task `` /* 131-byte string literal not displayed */
	// The time range that this trace covers.
	// Timestamps are picoseconds since tracing started.
	MinTimestampPs *uint64 `protobuf:"varint,4,opt,name=min_timestamp_ps,json=minTimestampPs" json:"min_timestamp_ps,omitempty"` // Start of first event.
	MaxTimestampPs *uint64 `protobuf:"varint,5,opt,name=max_timestamp_ps,json=maxTimestampPs" json:"max_timestamp_ps,omitempty"` // End of last event.
	NumEvents      *uint64 `protobuf:"varint,7,opt,name=num_events,json=numEvents" json:"num_events,omitempty"`
	// String intern table for event's name or TraceMe argument.
	NameTable map[uint64]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

A 'Trace' contains metadata for the individual traces of a system.

func (*Trace) Descriptor deprecated

func (*Trace) Descriptor() ([]byte, []int)

Deprecated: Use Trace.ProtoReflect.Descriptor instead.

func (*Trace) GetDevices

func (x *Trace) GetDevices() map[uint32]*Device

func (*Trace) GetMaxTimestampPs added in v2.13.0

func (x *Trace) GetMaxTimestampPs() uint64

func (*Trace) GetMinTimestampPs added in v2.13.0

func (x *Trace) GetMinTimestampPs() uint64

func (*Trace) GetNameTable added in v2.13.0

func (x *Trace) GetNameTable() map[uint64]string

func (*Trace) GetNumEvents added in v2.13.0

func (x *Trace) GetNumEvents() uint64

func (*Trace) GetTasks added in v2.13.0

func (x *Trace) GetTasks() map[uint32]*Task

func (*Trace) ProtoMessage

func (*Trace) ProtoMessage()

func (*Trace) ProtoReflect

func (x *Trace) ProtoReflect() protoreflect.Message

func (*Trace) Reset

func (x *Trace) Reset()

func (*Trace) String

func (x *Trace) String() string

type TraceEvent

type TraceEvent struct {

	// The id of the device that this event occurred on. The full dataset should
	// have this device present in the Trace object.
	DeviceId *uint32 `protobuf:"varint,1,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
	// 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.
	// NOTE: counter events do not have this field set as they are per device.
	ResourceId *uint32 `protobuf:"varint,2,opt,name=resource_id,json=resourceId" json:"resource_id,omitempty"`
	// Types that are assignable to NameOneof:
	//
	//	*TraceEvent_Name
	//	*TraceEvent_NameRef
	NameOneof isTraceEvent_NameOneof `protobuf_oneof:"name_oneof"`
	// The group id which this event belongs to. This allows the trace viewer to
	// show only a particular group of trace events.
	GroupId *int64 `protobuf:"varint,5,opt,name=group_id,json=groupId,def=-1" json:"group_id,omitempty"`
	// The timestamp when this event occurred (picos since tracing started).
	// This timestamp is in the range [min_timestamp, max_timestamp].
	TimestampPs *uint64 `protobuf:"varint,6,opt,name=timestamp_ps,json=timestampPs" json:"timestamp_ps,omitempty"`
	// The duration of the event in picoseconds, if applicable.
	// Events without duration are called instant events.
	DurationPs *uint64 `protobuf:"varint,7,opt,name=duration_ps,json=durationPs" json:"duration_ps,omitempty"`
	// Storage for additional details, e.g. the raw data that led to this
	// TraceEvent. These are stored as raw data so that we don't pay the
	// deserialization cost (memory and runtime) if the data isn't used.
	// See RawData in trace_events_raw.proto.
	RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData" json:"raw_data,omitempty"`
	// Used to correlate the multiple events of a flow.
	FlowId        *uint64                   `protobuf:"varint,9,opt,name=flow_id,json=flowId" json:"flow_id,omitempty"`
	FlowEntryType *TraceEvent_FlowEntryType `` /* 147-byte string literal not displayed */
	FlowCategory  *uint32                   `protobuf:"varint,11,opt,name=flow_category,json=flowCategory" json:"flow_category,omitempty"`
	// For streaming trace viewer frontend deduplication, we need an unique id
	// for each events, in the same time, we want to reduce the entropy overhead
	// introduced by this. therefore we will use tuple<device_id, timestamp_ps,
	// serial> as unique ids, serial is optional and only required when timestamp
	// is not unique.
	Serial *uint32 `protobuf:"varint,13,opt,name=serial" json:"serial,omitempty"`
	// contains filtered or unexported fields
}

func (*TraceEvent) Descriptor deprecated

func (*TraceEvent) Descriptor() ([]byte, []int)

Deprecated: Use TraceEvent.ProtoReflect.Descriptor instead.

func (*TraceEvent) GetDeviceId

func (x *TraceEvent) GetDeviceId() uint32

func (*TraceEvent) GetDurationPs

func (x *TraceEvent) GetDurationPs() uint64

func (*TraceEvent) GetFlowCategory added in v2.13.0

func (x *TraceEvent) GetFlowCategory() uint32

func (*TraceEvent) GetFlowEntryType added in v2.13.0

func (x *TraceEvent) GetFlowEntryType() TraceEvent_FlowEntryType

func (*TraceEvent) GetFlowId added in v2.13.0

func (x *TraceEvent) GetFlowId() uint64

func (*TraceEvent) GetGroupId added in v2.13.0

func (x *TraceEvent) GetGroupId() int64

func (*TraceEvent) GetName

func (x *TraceEvent) GetName() string

func (*TraceEvent) GetNameOneof added in v2.13.0

func (m *TraceEvent) GetNameOneof() isTraceEvent_NameOneof

func (*TraceEvent) GetNameRef added in v2.13.0

func (x *TraceEvent) GetNameRef() uint64

func (*TraceEvent) GetRawData added in v2.13.0

func (x *TraceEvent) GetRawData() []byte

func (*TraceEvent) GetResourceId

func (x *TraceEvent) GetResourceId() uint32

func (*TraceEvent) GetSerial added in v2.13.0

func (x *TraceEvent) GetSerial() uint32

func (*TraceEvent) GetTimestampPs

func (x *TraceEvent) GetTimestampPs() uint64

func (*TraceEvent) ProtoMessage

func (*TraceEvent) ProtoMessage()

func (*TraceEvent) ProtoReflect

func (x *TraceEvent) ProtoReflect() protoreflect.Message

func (*TraceEvent) Reset

func (x *TraceEvent) Reset()

func (*TraceEvent) String

func (x *TraceEvent) String() string

type TraceEventArguments added in v2.13.0

type TraceEventArguments struct {
	Arg []*TraceEventArguments_Argument `protobuf:"bytes,1,rep,name=arg" json:"arg,omitempty"`
	// contains filtered or unexported fields
}

Generic trace event arguments.

func (*TraceEventArguments) Descriptor deprecated added in v2.13.0

func (*TraceEventArguments) Descriptor() ([]byte, []int)

Deprecated: Use TraceEventArguments.ProtoReflect.Descriptor instead.

func (*TraceEventArguments) GetArg added in v2.13.0

func (*TraceEventArguments) ProtoMessage added in v2.13.0

func (*TraceEventArguments) ProtoMessage()

func (*TraceEventArguments) ProtoReflect added in v2.13.0

func (x *TraceEventArguments) ProtoReflect() protoreflect.Message

func (*TraceEventArguments) Reset added in v2.13.0

func (x *TraceEventArguments) Reset()

func (*TraceEventArguments) String added in v2.13.0

func (x *TraceEventArguments) String() string

type TraceEventArguments_Argument added in v2.13.0

type TraceEventArguments_Argument struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Types that are assignable to Value:
	//
	//	*TraceEventArguments_Argument_StrValue
	//	*TraceEventArguments_Argument_UintValue
	//	*TraceEventArguments_Argument_IntValue
	//	*TraceEventArguments_Argument_DoubleValue
	//	*TraceEventArguments_Argument_RefValue
	Value isTraceEventArguments_Argument_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*TraceEventArguments_Argument) Descriptor deprecated added in v2.13.0

func (*TraceEventArguments_Argument) Descriptor() ([]byte, []int)

Deprecated: Use TraceEventArguments_Argument.ProtoReflect.Descriptor instead.

func (*TraceEventArguments_Argument) GetDoubleValue added in v2.13.0

func (x *TraceEventArguments_Argument) GetDoubleValue() float64

func (*TraceEventArguments_Argument) GetIntValue added in v2.13.0

func (x *TraceEventArguments_Argument) GetIntValue() int64

func (*TraceEventArguments_Argument) GetName added in v2.13.0

func (x *TraceEventArguments_Argument) GetName() string

func (*TraceEventArguments_Argument) GetRefValue added in v2.13.0

func (x *TraceEventArguments_Argument) GetRefValue() uint64

func (*TraceEventArguments_Argument) GetStrValue added in v2.13.0

func (x *TraceEventArguments_Argument) GetStrValue() string

func (*TraceEventArguments_Argument) GetUintValue added in v2.13.0

func (x *TraceEventArguments_Argument) GetUintValue() uint64

func (*TraceEventArguments_Argument) GetValue added in v2.13.0

func (m *TraceEventArguments_Argument) GetValue() isTraceEventArguments_Argument_Value

func (*TraceEventArguments_Argument) ProtoMessage added in v2.13.0

func (*TraceEventArguments_Argument) ProtoMessage()

func (*TraceEventArguments_Argument) ProtoReflect added in v2.13.0

func (*TraceEventArguments_Argument) Reset added in v2.13.0

func (x *TraceEventArguments_Argument) Reset()

func (*TraceEventArguments_Argument) String added in v2.13.0

type TraceEventArguments_Argument_DoubleValue added in v2.13.0

type TraceEventArguments_Argument_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,oneof"`
}

type TraceEventArguments_Argument_IntValue added in v2.13.0

type TraceEventArguments_Argument_IntValue struct {
	IntValue int64 `protobuf:"varint,5,opt,name=int_value,json=intValue,oneof"`
}

type TraceEventArguments_Argument_RefValue added in v2.13.0

type TraceEventArguments_Argument_RefValue struct {
	RefValue uint64 `protobuf:"fixed64,6,opt,name=ref_value,json=refValue,oneof"` // string type but stored in metadata.
}

type TraceEventArguments_Argument_StrValue added in v2.13.0

type TraceEventArguments_Argument_StrValue struct {
	StrValue string `protobuf:"bytes,2,opt,name=str_value,json=strValue,oneof"`
}

type TraceEventArguments_Argument_UintValue added in v2.13.0

type TraceEventArguments_Argument_UintValue struct {
	UintValue uint64 `protobuf:"varint,3,opt,name=uint_value,json=uintValue,oneof"`
}

type TraceEvent_FlowEntryType added in v2.13.0

type TraceEvent_FlowEntryType int32

Indicates the order of the event within a flow. Events with the same flow_id will appear in trace_viewer linked by arrows. For an arrow to be shown, at least the FLOW_START and FLOW_END must be present. There can be zero or more FLOW_MID events in the flow. Arrows are drawn from FLOW_START to FLOW_END and through each FLOW_MID event in timestamp order.

const (
	TraceEvent_FLOW_NONE  TraceEvent_FlowEntryType = 0
	TraceEvent_FLOW_START TraceEvent_FlowEntryType = 1
	TraceEvent_FLOW_MID   TraceEvent_FlowEntryType = 2
	TraceEvent_FLOW_END   TraceEvent_FlowEntryType = 3
)

func (TraceEvent_FlowEntryType) Descriptor added in v2.13.0

func (TraceEvent_FlowEntryType) Enum added in v2.13.0

func (TraceEvent_FlowEntryType) EnumDescriptor deprecated added in v2.13.0

func (TraceEvent_FlowEntryType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TraceEvent_FlowEntryType.Descriptor instead.

func (TraceEvent_FlowEntryType) Number added in v2.13.0

func (TraceEvent_FlowEntryType) String added in v2.13.0

func (x TraceEvent_FlowEntryType) String() string

func (TraceEvent_FlowEntryType) Type added in v2.13.0

func (*TraceEvent_FlowEntryType) UnmarshalJSON deprecated added in v2.13.0

func (x *TraceEvent_FlowEntryType) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TraceEvent_Name added in v2.13.0

type TraceEvent_Name struct {
	// The name of this trace event.
	Name string `protobuf:"bytes,3,opt,name=name,oneof"`
}

type TraceEvent_NameRef added in v2.13.0

type TraceEvent_NameRef struct {
	// Reference of the name in Trace's name_table (e.g. in SStable format).
	NameRef uint64 `protobuf:"fixed64,12,opt,name=name_ref,json=nameRef,oneof"`
}

type UnitOfMeasure

type UnitOfMeasure int32
const (
	UnitOfMeasure_NUMBER UnitOfMeasure = 0
	UnitOfMeasure_TIME   UnitOfMeasure = 1
	UnitOfMeasure_BYTES  UnitOfMeasure = 2
)

func (UnitOfMeasure) Descriptor

func (UnitOfMeasure) Enum

func (x UnitOfMeasure) Enum() *UnitOfMeasure

func (UnitOfMeasure) EnumDescriptor deprecated

func (UnitOfMeasure) EnumDescriptor() ([]byte, []int)

Deprecated: Use UnitOfMeasure.Descriptor instead.

func (UnitOfMeasure) Number

func (UnitOfMeasure) String

func (x UnitOfMeasure) String() string

func (UnitOfMeasure) Type

type XEvent

type XEvent = protobuf.XEvent

type XEventMetadata

type XEventMetadata = protobuf.XEventMetadata

type XEvent_NumOccurrences

type XEvent_NumOccurrences = protobuf.XEvent_NumOccurrences

type XEvent_OffsetPs

type XEvent_OffsetPs = protobuf.XEvent_OffsetPs

type XLine

type XLine = protobuf.XLine

type XPlane

type XPlane = protobuf.XPlane

type XSpace

type XSpace = protobuf.XSpace

type XStat

type XStat = protobuf.XStat

type XStatMetadata

type XStatMetadata = protobuf.XStatMetadata

type XStat_BytesValue

type XStat_BytesValue = protobuf.XStat_BytesValue

type XStat_DoubleValue

type XStat_DoubleValue = protobuf.XStat_DoubleValue

type XStat_Int64Value

type XStat_Int64Value = protobuf.XStat_Int64Value

type XStat_RefValue

type XStat_RefValue = protobuf.XStat_RefValue

type XStat_StrValue

type XStat_StrValue = protobuf.XStat_StrValue

type XStat_Uint64Value

type XStat_Uint64Value = protobuf.XStat_Uint64Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL