Documentation ¶
Index ¶
- Variables
- type CPU
- func (*CPU) Descriptor() ([]byte, []int)deprecated
- func (x *CPU) GetBrand() string
- func (x *CPU) GetMaxGhz() float64
- func (x *CPU) GetMinGhz() float64
- func (x *CPU) GetName() string
- func (x *CPU) GetNumberCores() uint32
- func (x *CPU) GetNumberThreads() uint32
- func (*CPU) ProtoMessage()
- func (x *CPU) ProtoReflect() protoreflect.Message
- func (x *CPU) Reset()
- func (x *CPU) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_processor_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct { // Brand of the CPU Brand string `protobuf:"bytes,1,opt,name=brand,proto3" json:"brand,omitempty"` // // Name of the CPU Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NumberCores uint32 `protobuf:"varint,3,opt,name=number_cores,json=numberCores,proto3" json:"number_cores,omitempty"` NumberThreads uint32 `protobuf:"varint,4,opt,name=number_threads,json=numberThreads,proto3" json:"number_threads,omitempty"` MinGhz float64 `protobuf:"fixed64,5,opt,name=min_ghz,json=minGhz,proto3" json:"min_ghz,omitempty"` MaxGhz float64 `protobuf:"fixed64,6,opt,name=max_ghz,json=maxGhz,proto3" json:"max_ghz,omitempty"` // contains filtered or unexported fields }
func (*CPU) Descriptor
deprecated
func (*CPU) GetNumberCores ¶
func (*CPU) GetNumberThreads ¶
func (*CPU) ProtoMessage ¶
func (*CPU) ProtoMessage()
func (*CPU) ProtoReflect ¶
func (x *CPU) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.