Documentation ¶
Overview ¶
Package cpuinfo (flat) handles Flatbuffer based processing of /proc/cpuinfo. Instead of returning a Go struct, it returns Flatbuffer serialized bytes. A function to deserialize the Flatbuffer serialized bytes into a cpuinfo.CPUInfo struct is provided.
Note: the package name is cpuinfo and not the final element of the import path (flat).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
Deserialize takes some Flatbuffer serialized bytes and deserializes them as cpuinfo.CPUInfo.
Types ¶
type Profiler ¶
Profiler is used to process the /proc/cpuinfo file as Flatbuffers serialized bytes.
func NewProfiler ¶
Initializes and returns a cpuinfo profiler.
Click to show internal directories.
Click to hide internal directories.