util

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WorkerHealth_name = map[int32]string{
		0: "OK",
		1: "RECEIVED_SHUTDOWN_SIGNAL",
		2: "INTERNAL_ERROR",
	}
	WorkerHealth_value = map[string]int32{
		"OK":                       0,
		"RECEIVED_SHUTDOWN_SIGNAL": 1,
		"INTERNAL_ERROR":           2,
	}
)

Enum value maps for WorkerHealth.

View Source
var (
	WorkerShutdownMode_name = map[int32]string{
		0: "DEFAULT",
		1: "SHUTDOWN_IMMEDIATELY",
		2: "WAIT_FOR_COORDINATOR",
	}
	WorkerShutdownMode_value = map[string]int32{
		"DEFAULT":              0,
		"SHUTDOWN_IMMEDIATELY": 1,
		"WAIT_FOR_COORDINATOR": 2,
	}
)

Enum value maps for WorkerShutdownMode.

View Source
var (
	LogMessage_Level_name = map[int32]string{
		0:  "UNKNOWN",
		10: "DEBUGGING",
		20: "INFO",
		30: "WARN",
		40: "ERROR",
		50: "FATAL",
	}
	LogMessage_Level_value = map[string]int32{
		"UNKNOWN":   0,
		"DEBUGGING": 10,
		"INFO":      20,
		"WARN":      30,
		"ERROR":     40,
		"FATAL":     50,
	}
)

Enum value maps for LogMessage_Level.

View Source
var (
	SessionLog_SessionStatus_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "START",
		2: "STOP",
		3: "CHECKPOINT",
	}
	SessionLog_SessionStatus_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"START":              1,
		"STOP":               2,
		"CHECKPOINT":         3,
	}
)

Enum value maps for SessionLog_SessionStatus.

View Source
var (
	TestResults_BenchmarkType_name = map[int32]string{
		0: "UNKNOWN",
		1: "CPP_MICROBENCHMARK",
		2: "PYTHON_BENCHMARK",
		3: "ANDROID_BENCHMARK",
	}
	TestResults_BenchmarkType_value = map[string]int32{
		"UNKNOWN":            0,
		"CPP_MICROBENCHMARK": 1,
		"PYTHON_BENCHMARK":   2,
		"ANDROID_BENCHMARK":  3,
	}
)

Enum value maps for TestResults_BenchmarkType.

View Source
var File_tensorflow_core_util_event_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_util_example_proto_fast_parsing_test_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_util_memmapped_file_system_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_util_saved_tensor_slice_proto protoreflect.FileDescriptor
View Source
var File_tensorflow_core_util_test_log_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AvailableDeviceInfo

type AvailableDeviceInfo struct {
	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                          // Device name.
	Type                string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                                          // Device type, e.g. 'CPU' or 'GPU'.
	MemoryLimit         int64  `protobuf:"varint,3,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`                        // Memory capacity in bytes.
	PhysicalDescription string `protobuf:"bytes,4,opt,name=physical_description,json=physicalDescription,proto3" json:"physical_description,omitempty"` // The physical description of this device.
	// contains filtered or unexported fields
}

func (*AvailableDeviceInfo) Descriptor deprecated

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

Deprecated: Use AvailableDeviceInfo.ProtoReflect.Descriptor instead.

func (*AvailableDeviceInfo) GetMemoryLimit

func (x *AvailableDeviceInfo) GetMemoryLimit() int64

func (*AvailableDeviceInfo) GetName

func (x *AvailableDeviceInfo) GetName() string

func (*AvailableDeviceInfo) GetPhysicalDescription

func (x *AvailableDeviceInfo) GetPhysicalDescription() string

func (*AvailableDeviceInfo) GetType

func (x *AvailableDeviceInfo) GetType() string

func (*AvailableDeviceInfo) ProtoMessage

func (*AvailableDeviceInfo) ProtoMessage()

func (*AvailableDeviceInfo) ProtoReflect

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

func (*AvailableDeviceInfo) Reset

func (x *AvailableDeviceInfo) Reset()

func (*AvailableDeviceInfo) String

func (x *AvailableDeviceInfo) String() string

type BenchmarkEntries

type BenchmarkEntries struct {
	Entry []*BenchmarkEntry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*BenchmarkEntries) Descriptor deprecated

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

Deprecated: Use BenchmarkEntries.ProtoReflect.Descriptor instead.

func (*BenchmarkEntries) GetEntry

func (x *BenchmarkEntries) GetEntry() []*BenchmarkEntry

func (*BenchmarkEntries) ProtoMessage

func (*BenchmarkEntries) ProtoMessage()

func (*BenchmarkEntries) ProtoReflect

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

func (*BenchmarkEntries) Reset

func (x *BenchmarkEntries) Reset()

func (*BenchmarkEntries) String

func (x *BenchmarkEntries) String() string

type BenchmarkEntry

type BenchmarkEntry struct {

	// The name of the specific benchmark or test
	// (e.g. BM_AdjustContrast_gpu_B_W_H)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If a benchmark, how many iterations it was run for
	Iters int64 `protobuf:"varint,2,opt,name=iters,proto3" json:"iters,omitempty"`
	// Total cpu time used for all iterations (in seconds)
	CpuTime float64 `protobuf:"fixed64,3,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
	// Total wall time used for all iterations (in seconds)
	WallTime float64 `protobuf:"fixed64,4,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// Throughput (in MB/s)
	Throughput float64 `protobuf:"fixed64,5,opt,name=throughput,proto3" json:"throughput,omitempty"`
	// Generic map from result key to value.
	Extras map[string]*EntryValue `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Each unit test or benchmark in a test or benchmark run provides some set of information. Here we provide some reasonable keys one would expect to see, with optional key/value pairs for things we haven't considered.

This BenchmarkEntry should be emitted by each unit test or benchmark reporter.

func (*BenchmarkEntry) Descriptor deprecated

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

Deprecated: Use BenchmarkEntry.ProtoReflect.Descriptor instead.

func (*BenchmarkEntry) GetCpuTime

func (x *BenchmarkEntry) GetCpuTime() float64

func (*BenchmarkEntry) GetExtras

func (x *BenchmarkEntry) GetExtras() map[string]*EntryValue

func (*BenchmarkEntry) GetIters

func (x *BenchmarkEntry) GetIters() int64

func (*BenchmarkEntry) GetName

func (x *BenchmarkEntry) GetName() string

func (*BenchmarkEntry) GetThroughput

func (x *BenchmarkEntry) GetThroughput() float64

func (*BenchmarkEntry) GetWallTime

func (x *BenchmarkEntry) GetWallTime() float64

func (*BenchmarkEntry) ProtoMessage

func (*BenchmarkEntry) ProtoMessage()

func (*BenchmarkEntry) ProtoReflect

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

func (*BenchmarkEntry) Reset

func (x *BenchmarkEntry) Reset()

func (*BenchmarkEntry) String

func (x *BenchmarkEntry) String() string

type BuildConfiguration

type BuildConfiguration struct {
	Mode    string   `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`                      // opt, dbg, etc
	CcFlags []string `protobuf:"bytes,2,rep,name=cc_flags,json=ccFlags,proto3" json:"cc_flags,omitempty"` // CC compiler flags, if known
	Opts    []string `protobuf:"bytes,3,rep,name=opts,proto3" json:"opts,omitempty"`                      // Bazel compilation options, if known
	// contains filtered or unexported fields
}

func (*BuildConfiguration) Descriptor deprecated

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

Deprecated: Use BuildConfiguration.ProtoReflect.Descriptor instead.

func (*BuildConfiguration) GetCcFlags

func (x *BuildConfiguration) GetCcFlags() []string

func (*BuildConfiguration) GetMode

func (x *BuildConfiguration) GetMode() string

func (*BuildConfiguration) GetOpts

func (x *BuildConfiguration) GetOpts() []string

func (*BuildConfiguration) ProtoMessage

func (*BuildConfiguration) ProtoMessage()

func (*BuildConfiguration) ProtoReflect

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

func (*BuildConfiguration) Reset

func (x *BuildConfiguration) Reset()

func (*BuildConfiguration) String

func (x *BuildConfiguration) String() string

type CPUInfo

type CPUInfo struct {
	NumCores        int64 `protobuf:"varint,1,opt,name=num_cores,json=numCores,proto3" json:"num_cores,omitempty"`
	NumCoresAllowed int64 `protobuf:"varint,2,opt,name=num_cores_allowed,json=numCoresAllowed,proto3" json:"num_cores_allowed,omitempty"`
	// How fast are these cpus?
	MhzPerCpu float64 `protobuf:"fixed64,3,opt,name=mhz_per_cpu,json=mhzPerCpu,proto3" json:"mhz_per_cpu,omitempty"`
	// Additional cpu information. For example,
	// Intel Ivybridge with HyperThreading (24 cores) dL1:32KB dL2:256KB dL3:30MB
	CpuInfo string `protobuf:"bytes,4,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"`
	// What kind of cpu scaling is enabled on the host.
	// Examples include "performance", "ondemand", "conservative", "mixed".
	CpuGovernor string `protobuf:"bytes,5,opt,name=cpu_governor,json=cpuGovernor,proto3" json:"cpu_governor,omitempty"`
	// Cache sizes (in bytes), e.g. "L2": 262144 (for 256KB)
	CacheSize map[string]int64 `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CPUInfo) Descriptor deprecated

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

Deprecated: Use CPUInfo.ProtoReflect.Descriptor instead.

func (*CPUInfo) GetCacheSize

func (x *CPUInfo) GetCacheSize() map[string]int64

func (*CPUInfo) GetCpuGovernor

func (x *CPUInfo) GetCpuGovernor() string

func (*CPUInfo) GetCpuInfo

func (x *CPUInfo) GetCpuInfo() string

func (*CPUInfo) GetMhzPerCpu

func (x *CPUInfo) GetMhzPerCpu() float64

func (*CPUInfo) GetNumCores

func (x *CPUInfo) GetNumCores() int64

func (*CPUInfo) GetNumCoresAllowed

func (x *CPUInfo) GetNumCoresAllowed() int64

func (*CPUInfo) ProtoMessage

func (*CPUInfo) ProtoMessage()

func (*CPUInfo) ProtoReflect

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

func (*CPUInfo) Reset

func (x *CPUInfo) Reset()

func (*CPUInfo) String

func (x *CPUInfo) String() string

type CommitId

type CommitId struct {

	// Types that are assignable to Kind:
	//	*CommitId_Changelist
	//	*CommitId_Hash
	Kind isCommitId_Kind `protobuf_oneof:"kind"`
	// Hash of intermediate change between hash/changelist and what was tested.
	// Not used if the build is from a commit without modifications.
	Snapshot string `protobuf:"bytes,3,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// Changelist tested if the change list is not already submitted.
	PendingChangelist int64 `protobuf:"varint,4,opt,name=pending_changelist,json=pendingChangelist,proto3" json:"pending_changelist,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitId) Descriptor deprecated

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

Deprecated: Use CommitId.ProtoReflect.Descriptor instead.

func (*CommitId) GetChangelist

func (x *CommitId) GetChangelist() int64

func (*CommitId) GetHash

func (x *CommitId) GetHash() string

func (*CommitId) GetKind

func (m *CommitId) GetKind() isCommitId_Kind

func (*CommitId) GetPendingChangelist

func (x *CommitId) GetPendingChangelist() int64

func (*CommitId) GetSnapshot

func (x *CommitId) GetSnapshot() string

func (*CommitId) ProtoMessage

func (*CommitId) ProtoMessage()

func (*CommitId) ProtoReflect

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

func (*CommitId) Reset

func (x *CommitId) Reset()

func (*CommitId) String

func (x *CommitId) String() string

type CommitId_Changelist

type CommitId_Changelist struct {
	// Submitted changelist.
	Changelist int64 `protobuf:"varint,1,opt,name=changelist,proto3,oneof"`
}

type CommitId_Hash

type CommitId_Hash struct {
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3,oneof"`
}

type EntryValue

type EntryValue struct {

	// Types that are assignable to Kind:
	//	*EntryValue_DoubleValue
	//	*EntryValue_StringValue
	Kind isEntryValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*EntryValue) Descriptor deprecated

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

Deprecated: Use EntryValue.ProtoReflect.Descriptor instead.

func (*EntryValue) GetDoubleValue

func (x *EntryValue) GetDoubleValue() float64

func (*EntryValue) GetKind

func (m *EntryValue) GetKind() isEntryValue_Kind

func (*EntryValue) GetStringValue

func (x *EntryValue) GetStringValue() string

func (*EntryValue) ProtoMessage

func (*EntryValue) ProtoMessage()

func (*EntryValue) ProtoReflect

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

func (*EntryValue) Reset

func (x *EntryValue) Reset()

func (*EntryValue) String

func (x *EntryValue) String() string

type EntryValue_DoubleValue

type EntryValue_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,1,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type EntryValue_StringValue

type EntryValue_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Event

type Event struct {

	// Timestamp of the event.
	WallTime float64 `protobuf:"fixed64,1,opt,name=wall_time,json=wallTime,proto3" json:"wall_time,omitempty"`
	// Global step of the event.
	Step int64 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"`
	// Types that are assignable to What:
	//	*Event_FileVersion
	//	*Event_GraphDef
	//	*Event_Summary
	//	*Event_LogMessage
	//	*Event_SessionLog
	//	*Event_TaggedRunMetadata
	//	*Event_MetaGraphDef
	What isEvent_What `protobuf_oneof:"what"`
	// contains filtered or unexported fields
}

Protocol buffer representing an event that happened during the execution of a Brain model.

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetFileVersion

func (x *Event) GetFileVersion() string

func (*Event) GetGraphDef

func (x *Event) GetGraphDef() []byte

func (*Event) GetLogMessage

func (x *Event) GetLogMessage() *LogMessage

func (*Event) GetMetaGraphDef

func (x *Event) GetMetaGraphDef() []byte

func (*Event) GetSessionLog

func (x *Event) GetSessionLog() *SessionLog

func (*Event) GetStep

func (x *Event) GetStep() int64

func (*Event) GetSummary

func (x *Event) GetSummary() *framework.Summary

func (*Event) GetTaggedRunMetadata

func (x *Event) GetTaggedRunMetadata() *TaggedRunMetadata

func (*Event) GetWallTime

func (x *Event) GetWallTime() float64

func (*Event) GetWhat

func (m *Event) GetWhat() isEvent_What

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_FileVersion

type Event_FileVersion struct {
	// An event file was started, with the specified version.
	// This is use to identify the contents of the record IO files
	// easily.  Current version is "brain.Event:2".  All versions
	// start with "brain.Event:".
	FileVersion string `protobuf:"bytes,3,opt,name=file_version,json=fileVersion,proto3,oneof"`
}

type Event_GraphDef

type Event_GraphDef struct {
	// An encoded version of a GraphDef.
	GraphDef []byte `protobuf:"bytes,4,opt,name=graph_def,json=graphDef,proto3,oneof"`
}

type Event_LogMessage

type Event_LogMessage struct {
	// The user output a log message. Not all messages are logged, only ones
	// generated via the Python tensorboard_logging module.
	LogMessage *LogMessage `protobuf:"bytes,6,opt,name=log_message,json=logMessage,proto3,oneof"`
}

type Event_MetaGraphDef

type Event_MetaGraphDef struct {
	// An encoded version of a MetaGraphDef.
	MetaGraphDef []byte `protobuf:"bytes,9,opt,name=meta_graph_def,json=metaGraphDef,proto3,oneof"`
}

type Event_SessionLog

type Event_SessionLog struct {
	// The state of the session which can be used for restarting after crashes.
	SessionLog *SessionLog `protobuf:"bytes,7,opt,name=session_log,json=sessionLog,proto3,oneof"`
}

type Event_Summary

type Event_Summary struct {
	// A summary was generated.
	Summary *framework.Summary `protobuf:"bytes,5,opt,name=summary,proto3,oneof"`
}

type Event_TaggedRunMetadata

type Event_TaggedRunMetadata struct {
	// The metadata returned by running a session.run() call.
	TaggedRunMetadata *TaggedRunMetadata `protobuf:"bytes,8,opt,name=tagged_run_metadata,json=taggedRunMetadata,proto3,oneof"`
}

type ExampleWithExtras

type ExampleWithExtras struct {
	Features *example.Features `protobuf:"bytes,1,opt,name=features,proto3" json:"features,omitempty"`
	Extra1   string            `protobuf:"bytes,1337,opt,name=extra1,proto3" json:"extra1,omitempty"`
	Extra2   int64             `protobuf:"varint,1338,opt,name=extra2,proto3" json:"extra2,omitempty"`
	Extra3   uint32            `protobuf:"fixed32,1339,opt,name=extra3,proto3" json:"extra3,omitempty"`
	Extra4   uint64            `protobuf:"fixed64,1340,opt,name=extra4,proto3" json:"extra4,omitempty"`
	Extra5   float64           `protobuf:"fixed64,1341,opt,name=extra5,proto3" json:"extra5,omitempty"`
	Extra6   []float32         `protobuf:"fixed32,1342,rep,packed,name=extra6,proto3" json:"extra6,omitempty"`
	Extra7   *example.Features `protobuf:"bytes,1343,opt,name=extra7,proto3" json:"extra7,omitempty"`
	// contains filtered or unexported fields
}

This message is parallel to Example, but with additional fields to test unknown fields handling in example_proto_fast_parsing_test.cc.

func (*ExampleWithExtras) Descriptor deprecated

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

Deprecated: Use ExampleWithExtras.ProtoReflect.Descriptor instead.

func (*ExampleWithExtras) GetExtra1

func (x *ExampleWithExtras) GetExtra1() string

func (*ExampleWithExtras) GetExtra2

func (x *ExampleWithExtras) GetExtra2() int64

func (*ExampleWithExtras) GetExtra3

func (x *ExampleWithExtras) GetExtra3() uint32

func (*ExampleWithExtras) GetExtra4

func (x *ExampleWithExtras) GetExtra4() uint64

func (*ExampleWithExtras) GetExtra5

func (x *ExampleWithExtras) GetExtra5() float64

func (*ExampleWithExtras) GetExtra6

func (x *ExampleWithExtras) GetExtra6() []float32

func (*ExampleWithExtras) GetExtra7

func (x *ExampleWithExtras) GetExtra7() *example.Features

func (*ExampleWithExtras) GetFeatures

func (x *ExampleWithExtras) GetFeatures() *example.Features

func (*ExampleWithExtras) ProtoMessage

func (*ExampleWithExtras) ProtoMessage()

func (*ExampleWithExtras) ProtoReflect

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

func (*ExampleWithExtras) Reset

func (x *ExampleWithExtras) Reset()

func (*ExampleWithExtras) String

func (x *ExampleWithExtras) String() string

type GPUInfo

type GPUInfo struct {
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`              // e.g. "Tesla K40c"
	Uuid  string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`                // Final entry in output of "nvidia-smi -L"
	BusId string `protobuf:"bytes,3,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"` // e.g. "0000:04:00.0"
	// contains filtered or unexported fields
}

func (*GPUInfo) Descriptor deprecated

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

Deprecated: Use GPUInfo.ProtoReflect.Descriptor instead.

func (*GPUInfo) GetBusId

func (x *GPUInfo) GetBusId() string

func (*GPUInfo) GetModel

func (x *GPUInfo) GetModel() string

func (*GPUInfo) GetUuid

func (x *GPUInfo) GetUuid() string

func (*GPUInfo) ProtoMessage

func (*GPUInfo) ProtoMessage()

func (*GPUInfo) ProtoReflect

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

func (*GPUInfo) Reset

func (x *GPUInfo) Reset()

func (*GPUInfo) String

func (x *GPUInfo) String() string

type LogMessage

type LogMessage struct {
	Level   LogMessage_Level `protobuf:"varint,1,opt,name=level,proto3,enum=tensorflow.LogMessage_Level" json:"level,omitempty"`
	Message string           `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

Protocol buffer used for logging messages to the events file.

func (*LogMessage) Descriptor deprecated

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

Deprecated: Use LogMessage.ProtoReflect.Descriptor instead.

func (*LogMessage) GetLevel

func (x *LogMessage) GetLevel() LogMessage_Level

func (*LogMessage) GetMessage

func (x *LogMessage) GetMessage() string

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) ProtoReflect

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

func (*LogMessage) Reset

func (x *LogMessage) Reset()

func (*LogMessage) String

func (x *LogMessage) String() string

type LogMessage_Level

type LogMessage_Level int32
const (
	LogMessage_UNKNOWN LogMessage_Level = 0
	// Note: The logging level 10 cannot be named DEBUG. Some software
	// projects compile their C/C++ code with -DDEBUG in debug builds. So the
	// C++ code generated from this file should not have an identifier named
	// DEBUG.
	LogMessage_DEBUGGING LogMessage_Level = 10
	LogMessage_INFO      LogMessage_Level = 20
	LogMessage_WARN      LogMessage_Level = 30
	LogMessage_ERROR     LogMessage_Level = 40
	LogMessage_FATAL     LogMessage_Level = 50
)

func (LogMessage_Level) Descriptor

func (LogMessage_Level) Enum

func (LogMessage_Level) EnumDescriptor deprecated

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

Deprecated: Use LogMessage_Level.Descriptor instead.

func (LogMessage_Level) Number

func (LogMessage_Level) String

func (x LogMessage_Level) String() string

func (LogMessage_Level) Type

type MachineConfiguration

type MachineConfiguration struct {

	// Host name of machine that ran the benchmark.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// Unique serial number of the machine.
	SerialIdentifier string `protobuf:"bytes,7,opt,name=serial_identifier,json=serialIdentifier,proto3" json:"serial_identifier,omitempty"`
	// Additional platform information.
	PlatformInfo *PlatformInfo `protobuf:"bytes,2,opt,name=platform_info,json=platformInfo,proto3" json:"platform_info,omitempty"`
	// CPU Information.
	CpuInfo *CPUInfo `protobuf:"bytes,3,opt,name=cpu_info,json=cpuInfo,proto3" json:"cpu_info,omitempty"`
	// Other devices that are attached and relevant (e.g. GPUInfo).
	DeviceInfo []*any.Any `protobuf:"bytes,4,rep,name=device_info,json=deviceInfo,proto3" json:"device_info,omitempty"`
	// Devices accessible to the test (e.g. as given by list_local_devices).
	AvailableDeviceInfo []*AvailableDeviceInfo `protobuf:"bytes,5,rep,name=available_device_info,json=availableDeviceInfo,proto3" json:"available_device_info,omitempty"`
	MemoryInfo          *MemoryInfo            `protobuf:"bytes,6,opt,name=memory_info,json=memoryInfo,proto3" json:"memory_info,omitempty"`
	// contains filtered or unexported fields
}

func (*MachineConfiguration) Descriptor deprecated

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

Deprecated: Use MachineConfiguration.ProtoReflect.Descriptor instead.

func (*MachineConfiguration) GetAvailableDeviceInfo

func (x *MachineConfiguration) GetAvailableDeviceInfo() []*AvailableDeviceInfo

func (*MachineConfiguration) GetCpuInfo

func (x *MachineConfiguration) GetCpuInfo() *CPUInfo

func (*MachineConfiguration) GetDeviceInfo

func (x *MachineConfiguration) GetDeviceInfo() []*any.Any

func (*MachineConfiguration) GetHostname

func (x *MachineConfiguration) GetHostname() string

func (*MachineConfiguration) GetMemoryInfo

func (x *MachineConfiguration) GetMemoryInfo() *MemoryInfo

func (*MachineConfiguration) GetPlatformInfo

func (x *MachineConfiguration) GetPlatformInfo() *PlatformInfo

func (*MachineConfiguration) GetSerialIdentifier

func (x *MachineConfiguration) GetSerialIdentifier() string

func (*MachineConfiguration) ProtoMessage

func (*MachineConfiguration) ProtoMessage()

func (*MachineConfiguration) ProtoReflect

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

func (*MachineConfiguration) Reset

func (x *MachineConfiguration) Reset()

func (*MachineConfiguration) String

func (x *MachineConfiguration) String() string

type MemmappedFileSystemDirectory

type MemmappedFileSystemDirectory struct {
	Element []*MemmappedFileSystemDirectoryElement `protobuf:"bytes,1,rep,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

A directory of regions in a memmapped file.

func (*MemmappedFileSystemDirectory) Descriptor deprecated

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

Deprecated: Use MemmappedFileSystemDirectory.ProtoReflect.Descriptor instead.

func (*MemmappedFileSystemDirectory) GetElement

func (*MemmappedFileSystemDirectory) ProtoMessage

func (*MemmappedFileSystemDirectory) ProtoMessage()

func (*MemmappedFileSystemDirectory) ProtoReflect

func (*MemmappedFileSystemDirectory) Reset

func (x *MemmappedFileSystemDirectory) Reset()

func (*MemmappedFileSystemDirectory) String

type MemmappedFileSystemDirectoryElement

type MemmappedFileSystemDirectoryElement struct {
	Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A message that describes one region of memmapped file.

func (*MemmappedFileSystemDirectoryElement) Descriptor deprecated

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

Deprecated: Use MemmappedFileSystemDirectoryElement.ProtoReflect.Descriptor instead.

func (*MemmappedFileSystemDirectoryElement) GetName

func (*MemmappedFileSystemDirectoryElement) GetOffset

func (*MemmappedFileSystemDirectoryElement) ProtoMessage

func (*MemmappedFileSystemDirectoryElement) ProtoMessage()

func (*MemmappedFileSystemDirectoryElement) ProtoReflect

func (*MemmappedFileSystemDirectoryElement) Reset

func (*MemmappedFileSystemDirectoryElement) String

type MemoryInfo

type MemoryInfo struct {
	Total     int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`         // Total virtual memory in bytes
	Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` // Immediately available memory in bytes
	// contains filtered or unexported fields
}

func (*MemoryInfo) Descriptor deprecated

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

Deprecated: Use MemoryInfo.ProtoReflect.Descriptor instead.

func (*MemoryInfo) GetAvailable

func (x *MemoryInfo) GetAvailable() int64

func (*MemoryInfo) GetTotal

func (x *MemoryInfo) GetTotal() int64

func (*MemoryInfo) ProtoMessage

func (*MemoryInfo) ProtoMessage()

func (*MemoryInfo) ProtoReflect

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

func (*MemoryInfo) Reset

func (x *MemoryInfo) Reset()

func (*MemoryInfo) String

func (x *MemoryInfo) String() string

type PlatformInfo

type PlatformInfo struct {
	Bits    string `protobuf:"bytes,1,opt,name=bits,proto3" json:"bits,omitempty"`       // e.g. '64bit'
	Linkage string `protobuf:"bytes,2,opt,name=linkage,proto3" json:"linkage,omitempty"` // e.g. 'ELF'
	Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"` // e.g. 'i386'
	Release string `protobuf:"bytes,4,opt,name=release,proto3" json:"release,omitempty"` // e.g. '3.13.0-76-generic'
	System  string `protobuf:"bytes,5,opt,name=system,proto3" json:"system,omitempty"`   // e.g. 'Linux'
	Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // e.g. '#120-Ubuntu SMP Mon Jan 18 15:59:10 UTC 2016'
	// contains filtered or unexported fields
}

func (*PlatformInfo) Descriptor deprecated

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

Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead.

func (*PlatformInfo) GetBits

func (x *PlatformInfo) GetBits() string

func (*PlatformInfo) GetLinkage

func (x *PlatformInfo) GetLinkage() string

func (*PlatformInfo) GetMachine

func (x *PlatformInfo) GetMachine() string

func (*PlatformInfo) GetRelease

func (x *PlatformInfo) GetRelease() string

func (*PlatformInfo) GetSystem

func (x *PlatformInfo) GetSystem() string

func (*PlatformInfo) GetVersion

func (x *PlatformInfo) GetVersion() string

func (*PlatformInfo) ProtoMessage

func (*PlatformInfo) ProtoMessage()

func (*PlatformInfo) ProtoReflect

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

func (*PlatformInfo) Reset

func (x *PlatformInfo) Reset()

func (*PlatformInfo) String

func (x *PlatformInfo) String() string

type RunConfiguration

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

Run-specific items such as arguments to the test / benchmark.

func (*RunConfiguration) Descriptor deprecated

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

Deprecated: Use RunConfiguration.ProtoReflect.Descriptor instead.

func (*RunConfiguration) GetArgument

func (x *RunConfiguration) GetArgument() []string

func (*RunConfiguration) ProtoMessage

func (*RunConfiguration) ProtoMessage()

func (*RunConfiguration) ProtoReflect

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

func (*RunConfiguration) Reset

func (x *RunConfiguration) Reset()

func (*RunConfiguration) String

func (x *RunConfiguration) String() string

type SavedSlice

type SavedSlice struct {

	// Name of the tensor that this slice belongs to. This must be identical to
	// the name used to encode the key for this record.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Extent of the slice.  Must have one entry for each of the dimension of the
	// tensor that this slice belongs to.
	Slice *framework.TensorSliceProto `protobuf:"bytes,2,opt,name=slice,proto3" json:"slice,omitempty"`
	// The raw data of the slice is stored as a TensorProto. Only raw data are
	// stored (we don't fill in fields such as dtype or tensor_shape).
	Data *framework.TensorProto `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Saved tensor slice: it stores the name of the tensors, the slice, and the raw data.

func (*SavedSlice) Descriptor deprecated

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

Deprecated: Use SavedSlice.ProtoReflect.Descriptor instead.

func (*SavedSlice) GetData

func (x *SavedSlice) GetData() *framework.TensorProto

func (*SavedSlice) GetName

func (x *SavedSlice) GetName() string

func (*SavedSlice) GetSlice

func (x *SavedSlice) GetSlice() *framework.TensorSliceProto

func (*SavedSlice) ProtoMessage

func (*SavedSlice) ProtoMessage()

func (*SavedSlice) ProtoReflect

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

func (*SavedSlice) Reset

func (x *SavedSlice) Reset()

func (*SavedSlice) String

func (x *SavedSlice) String() string

type SavedSliceMeta

type SavedSliceMeta struct {

	// Name of the tensor.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Shape of the tensor
	Shape *framework.TensorShapeProto `protobuf:"bytes,2,opt,name=shape,proto3" json:"shape,omitempty"`
	// Type of the tensor
	Type framework.DataType `protobuf:"varint,3,opt,name=type,proto3,enum=tensorflow.DataType" json:"type,omitempty"`
	// Explicit list of slices saved in the checkpoint file.
	Slice []*framework.TensorSliceProto `protobuf:"bytes,4,rep,name=slice,proto3" json:"slice,omitempty"`
	// contains filtered or unexported fields
}

Metadata describing the set of slices of the same tensor saved in a checkpoint file.

func (*SavedSliceMeta) Descriptor deprecated

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

Deprecated: Use SavedSliceMeta.ProtoReflect.Descriptor instead.

func (*SavedSliceMeta) GetName

func (x *SavedSliceMeta) GetName() string

func (*SavedSliceMeta) GetShape

func (x *SavedSliceMeta) GetShape() *framework.TensorShapeProto

func (*SavedSliceMeta) GetSlice

func (x *SavedSliceMeta) GetSlice() []*framework.TensorSliceProto

func (*SavedSliceMeta) GetType

func (x *SavedSliceMeta) GetType() framework.DataType

func (*SavedSliceMeta) ProtoMessage

func (*SavedSliceMeta) ProtoMessage()

func (*SavedSliceMeta) ProtoReflect

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

func (*SavedSliceMeta) Reset

func (x *SavedSliceMeta) Reset()

func (*SavedSliceMeta) String

func (x *SavedSliceMeta) String() string

type SavedTensorSliceMeta

type SavedTensorSliceMeta struct {

	// Each SavedSliceMeta describes the slices for one tensor.
	Tensor []*SavedSliceMeta `protobuf:"bytes,1,rep,name=tensor,proto3" json:"tensor,omitempty"`
	// Compatibility version of this checkpoint.  See core/public/version.h
	// for version history.
	Versions *framework.VersionDef `protobuf:"bytes,2,opt,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

Metadata describing the set of tensor slices saved in a checkpoint file. It is always stored at the beginning of each checkpoint file.

func (*SavedTensorSliceMeta) Descriptor deprecated

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

Deprecated: Use SavedTensorSliceMeta.ProtoReflect.Descriptor instead.

func (*SavedTensorSliceMeta) GetTensor

func (x *SavedTensorSliceMeta) GetTensor() []*SavedSliceMeta

func (*SavedTensorSliceMeta) GetVersions

func (x *SavedTensorSliceMeta) GetVersions() *framework.VersionDef

func (*SavedTensorSliceMeta) ProtoMessage

func (*SavedTensorSliceMeta) ProtoMessage()

func (*SavedTensorSliceMeta) ProtoReflect

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

func (*SavedTensorSliceMeta) Reset

func (x *SavedTensorSliceMeta) Reset()

func (*SavedTensorSliceMeta) String

func (x *SavedTensorSliceMeta) String() string

type SavedTensorSlices

type SavedTensorSlices struct {

	// This is only present at the first item of each checkpoint file and serves
	// as a table of contents, listing all the tensor slices saved in this file.
	Meta *SavedTensorSliceMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// This exists in all but the first item of each checkpoint file.
	Data *SavedSlice `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.

func (*SavedTensorSlices) Descriptor deprecated

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

Deprecated: Use SavedTensorSlices.ProtoReflect.Descriptor instead.

func (*SavedTensorSlices) GetData

func (x *SavedTensorSlices) GetData() *SavedSlice

func (*SavedTensorSlices) GetMeta

func (*SavedTensorSlices) ProtoMessage

func (*SavedTensorSlices) ProtoMessage()

func (*SavedTensorSlices) ProtoReflect

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

func (*SavedTensorSlices) Reset

func (x *SavedTensorSlices) Reset()

func (*SavedTensorSlices) String

func (x *SavedTensorSlices) String() string

type SessionLog

type SessionLog struct {
	Status SessionLog_SessionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tensorflow.SessionLog_SessionStatus" json:"status,omitempty"`
	// This checkpoint_path contains both the path and filename.
	CheckpointPath string `protobuf:"bytes,2,opt,name=checkpoint_path,json=checkpointPath,proto3" json:"checkpoint_path,omitempty"`
	Msg            string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

Protocol buffer used for logging session state.

func (*SessionLog) Descriptor deprecated

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

Deprecated: Use SessionLog.ProtoReflect.Descriptor instead.

func (*SessionLog) GetCheckpointPath

func (x *SessionLog) GetCheckpointPath() string

func (*SessionLog) GetMsg

func (x *SessionLog) GetMsg() string

func (*SessionLog) GetStatus

func (x *SessionLog) GetStatus() SessionLog_SessionStatus

func (*SessionLog) ProtoMessage

func (*SessionLog) ProtoMessage()

func (*SessionLog) ProtoReflect

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

func (*SessionLog) Reset

func (x *SessionLog) Reset()

func (*SessionLog) String

func (x *SessionLog) String() string

type SessionLog_SessionStatus

type SessionLog_SessionStatus int32
const (
	SessionLog_STATUS_UNSPECIFIED SessionLog_SessionStatus = 0
	SessionLog_START              SessionLog_SessionStatus = 1
	SessionLog_STOP               SessionLog_SessionStatus = 2
	SessionLog_CHECKPOINT         SessionLog_SessionStatus = 3
)

func (SessionLog_SessionStatus) Descriptor

func (SessionLog_SessionStatus) Enum

func (SessionLog_SessionStatus) EnumDescriptor deprecated

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

Deprecated: Use SessionLog_SessionStatus.Descriptor instead.

func (SessionLog_SessionStatus) Number

func (SessionLog_SessionStatus) String

func (x SessionLog_SessionStatus) String() string

func (SessionLog_SessionStatus) Type

type TaggedRunMetadata

type TaggedRunMetadata struct {

	// Tag name associated with this metadata.
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// Byte-encoded version of the `RunMetadata` proto in order to allow lazy
	// deserialization.
	RunMetadata []byte `protobuf:"bytes,2,opt,name=run_metadata,json=runMetadata,proto3" json:"run_metadata,omitempty"`
	// contains filtered or unexported fields
}

For logging the metadata output for a single session.run() call.

func (*TaggedRunMetadata) Descriptor deprecated

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

Deprecated: Use TaggedRunMetadata.ProtoReflect.Descriptor instead.

func (*TaggedRunMetadata) GetRunMetadata

func (x *TaggedRunMetadata) GetRunMetadata() []byte

func (*TaggedRunMetadata) GetTag

func (x *TaggedRunMetadata) GetTag() string

func (*TaggedRunMetadata) ProtoMessage

func (*TaggedRunMetadata) ProtoMessage()

func (*TaggedRunMetadata) ProtoReflect

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

func (*TaggedRunMetadata) Reset

func (x *TaggedRunMetadata) Reset()

func (*TaggedRunMetadata) String

func (x *TaggedRunMetadata) String() string

type TestResults

type TestResults struct {

	// The target of the run, e.g.:
	//  //tensorflow/core:kernels_adjust_contrast_op_benchmark_test
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The list of tests or benchmarks in this run.
	Entries *BenchmarkEntries `protobuf:"bytes,2,opt,name=entries,proto3" json:"entries,omitempty"`
	// The configuration of the build (compiled opt? with cuda? any copts?)
	BuildConfiguration *BuildConfiguration `protobuf:"bytes,3,opt,name=build_configuration,json=buildConfiguration,proto3" json:"build_configuration,omitempty"`
	// The commit id (git hash or changelist)
	CommitId *CommitId `protobuf:"bytes,4,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"`
	// The time the run started (in seconds of UTC time since Unix epoch)
	StartTime int64 `protobuf:"varint,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The amount of time the total run took (wall time in seconds)
	RunTime float64 `protobuf:"fixed64,6,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
	// Machine-specific parameters (Platform and CPU info)
	MachineConfiguration *MachineConfiguration `protobuf:"bytes,7,opt,name=machine_configuration,json=machineConfiguration,proto3" json:"machine_configuration,omitempty"`
	// Run-specific parameters (arguments, etc)
	RunConfiguration *RunConfiguration `protobuf:"bytes,8,opt,name=run_configuration,json=runConfiguration,proto3" json:"run_configuration,omitempty"`
	// Benchmark target identifier.
	Name          string                    `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
	BenchmarkType TestResults_BenchmarkType `` /* 144-byte string literal not displayed */
	// Used for differentiating between continuous and debug builds.
	// Must be one of:
	// * cbuild: results from continuous build.
	// * presubmit: results from oneshot requests.
	// * culprit: results from culprit finder rerun.
	RunMode string `protobuf:"bytes,11,opt,name=run_mode,json=runMode,proto3" json:"run_mode,omitempty"`
	// contains filtered or unexported fields
}

The output of one benchmark / test run. Each run contains a list of tests or benchmarks, stored as BenchmarkEntry messages.

This message should be emitted by the reporter (which runs the test / BM in a subprocess and then reads the emitted BenchmarkEntry messages; usually from a serialized json file, finally collecting them along with additional information about the test run.

func (*TestResults) Descriptor deprecated

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

Deprecated: Use TestResults.ProtoReflect.Descriptor instead.

func (*TestResults) GetBenchmarkType

func (x *TestResults) GetBenchmarkType() TestResults_BenchmarkType

func (*TestResults) GetBuildConfiguration

func (x *TestResults) GetBuildConfiguration() *BuildConfiguration

func (*TestResults) GetCommitId

func (x *TestResults) GetCommitId() *CommitId

func (*TestResults) GetEntries

func (x *TestResults) GetEntries() *BenchmarkEntries

func (*TestResults) GetMachineConfiguration

func (x *TestResults) GetMachineConfiguration() *MachineConfiguration

func (*TestResults) GetName

func (x *TestResults) GetName() string

func (*TestResults) GetRunConfiguration

func (x *TestResults) GetRunConfiguration() *RunConfiguration

func (*TestResults) GetRunMode

func (x *TestResults) GetRunMode() string

func (*TestResults) GetRunTime

func (x *TestResults) GetRunTime() float64

func (*TestResults) GetStartTime

func (x *TestResults) GetStartTime() int64

func (*TestResults) GetTarget

func (x *TestResults) GetTarget() string

func (*TestResults) ProtoMessage

func (*TestResults) ProtoMessage()

func (*TestResults) ProtoReflect

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

func (*TestResults) Reset

func (x *TestResults) Reset()

func (*TestResults) String

func (x *TestResults) String() string

type TestResults_BenchmarkType

type TestResults_BenchmarkType int32

The type of benchmark.

const (
	TestResults_UNKNOWN            TestResults_BenchmarkType = 0 // Fallback for protos written before Type was introduced.
	TestResults_CPP_MICROBENCHMARK TestResults_BenchmarkType = 1
	TestResults_PYTHON_BENCHMARK   TestResults_BenchmarkType = 2
	TestResults_ANDROID_BENCHMARK  TestResults_BenchmarkType = 3
)

func (TestResults_BenchmarkType) Descriptor

func (TestResults_BenchmarkType) Enum

func (TestResults_BenchmarkType) EnumDescriptor deprecated

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

Deprecated: Use TestResults_BenchmarkType.Descriptor instead.

func (TestResults_BenchmarkType) Number

func (TestResults_BenchmarkType) String

func (x TestResults_BenchmarkType) String() string

func (TestResults_BenchmarkType) Type

type WatchdogConfig

type WatchdogConfig struct {
	TimeoutMs int64 `protobuf:"varint,1,opt,name=timeout_ms,json=timeoutMs,proto3" json:"timeout_ms,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchdogConfig) Descriptor deprecated

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

Deprecated: Use WatchdogConfig.ProtoReflect.Descriptor instead.

func (*WatchdogConfig) GetTimeoutMs

func (x *WatchdogConfig) GetTimeoutMs() int64

func (*WatchdogConfig) ProtoMessage

func (*WatchdogConfig) ProtoMessage()

func (*WatchdogConfig) ProtoReflect

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

func (*WatchdogConfig) Reset

func (x *WatchdogConfig) Reset()

func (*WatchdogConfig) String

func (x *WatchdogConfig) String() string

type WorkerHealth

type WorkerHealth int32

Current health status of a worker.

const (
	WorkerHealth_OK                       WorkerHealth = 0 // By default a worker is healthy.
	WorkerHealth_RECEIVED_SHUTDOWN_SIGNAL WorkerHealth = 1
	WorkerHealth_INTERNAL_ERROR           WorkerHealth = 2
)

func (WorkerHealth) Descriptor

func (WorkerHealth) Enum

func (x WorkerHealth) Enum() *WorkerHealth

func (WorkerHealth) EnumDescriptor deprecated

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

Deprecated: Use WorkerHealth.Descriptor instead.

func (WorkerHealth) Number

func (WorkerHealth) String

func (x WorkerHealth) String() string

func (WorkerHealth) Type

type WorkerHeartbeatRequest

type WorkerHeartbeatRequest struct {
	ShutdownMode   WorkerShutdownMode `` /* 133-byte string literal not displayed */
	WatchdogConfig *WatchdogConfig    `protobuf:"bytes,2,opt,name=watchdog_config,json=watchdogConfig,proto3" json:"watchdog_config,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkerHeartbeatRequest) Descriptor deprecated

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

Deprecated: Use WorkerHeartbeatRequest.ProtoReflect.Descriptor instead.

func (*WorkerHeartbeatRequest) GetShutdownMode

func (x *WorkerHeartbeatRequest) GetShutdownMode() WorkerShutdownMode

func (*WorkerHeartbeatRequest) GetWatchdogConfig

func (x *WorkerHeartbeatRequest) GetWatchdogConfig() *WatchdogConfig

func (*WorkerHeartbeatRequest) ProtoMessage

func (*WorkerHeartbeatRequest) ProtoMessage()

func (*WorkerHeartbeatRequest) ProtoReflect

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

func (*WorkerHeartbeatRequest) Reset

func (x *WorkerHeartbeatRequest) Reset()

func (*WorkerHeartbeatRequest) String

func (x *WorkerHeartbeatRequest) String() string

type WorkerHeartbeatResponse

type WorkerHeartbeatResponse struct {
	HealthStatus WorkerHealth `` /* 127-byte string literal not displayed */
	WorkerLog    []*Event     `protobuf:"bytes,2,rep,name=worker_log,json=workerLog,proto3" json:"worker_log,omitempty"`
	Hostname     string       `protobuf:"bytes,3,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkerHeartbeatResponse) Descriptor deprecated

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

Deprecated: Use WorkerHeartbeatResponse.ProtoReflect.Descriptor instead.

func (*WorkerHeartbeatResponse) GetHealthStatus

func (x *WorkerHeartbeatResponse) GetHealthStatus() WorkerHealth

func (*WorkerHeartbeatResponse) GetHostname

func (x *WorkerHeartbeatResponse) GetHostname() string

func (*WorkerHeartbeatResponse) GetWorkerLog

func (x *WorkerHeartbeatResponse) GetWorkerLog() []*Event

func (*WorkerHeartbeatResponse) ProtoMessage

func (*WorkerHeartbeatResponse) ProtoMessage()

func (*WorkerHeartbeatResponse) ProtoReflect

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

func (*WorkerHeartbeatResponse) Reset

func (x *WorkerHeartbeatResponse) Reset()

func (*WorkerHeartbeatResponse) String

func (x *WorkerHeartbeatResponse) String() string

type WorkerShutdownMode

type WorkerShutdownMode int32

Indicates the behavior of the worker when an internal error or shutdown signal is received.

const (
	WorkerShutdownMode_DEFAULT              WorkerShutdownMode = 0
	WorkerShutdownMode_SHUTDOWN_IMMEDIATELY WorkerShutdownMode = 1
	WorkerShutdownMode_WAIT_FOR_COORDINATOR WorkerShutdownMode = 2
)

func (WorkerShutdownMode) Descriptor

func (WorkerShutdownMode) Enum

func (WorkerShutdownMode) EnumDescriptor deprecated

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

Deprecated: Use WorkerShutdownMode.Descriptor instead.

func (WorkerShutdownMode) Number

func (WorkerShutdownMode) String

func (x WorkerShutdownMode) String() string

func (WorkerShutdownMode) Type

Jump to

Keyboard shortcuts

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