[][src]Module scaphandre::sensors

Modules

powercap_rapl
units
utils

Structs

CPUCore

CPUCore reprensents each CPU core on the host, owned by a CPUSocket. CPUCores are instanciated regardless if HyperThreading is activated on the host. Reprensents the processor field in /proc/cpuinfo.

CPUSocket

CPUSocket struct represents a CPU socket (matches physical_id attribute in /proc/cpuinfo), owning CPU cores (processor in /proc/cpuinfo).

CPUStat
Domain

Domain struct represents a part of a CPUSocket from the electricity consumption point of view.

Record

Record struct represents an electricity consumption measurement tied to a domain.

Topology

Topology struct represents the whole CPUSocket architecture, from the electricity consumption point of view, including the potentially multiple CPUSocket sockets. Owns a vector of CPUSocket structs representing each socket.

Traits

RecordGenerator

Defines methods for Record instances creation and storage.

Sensor

Sensor trait, the Sensor API.