class TemperatureSensor

Defined at line 19 of file ../../src/zircon/bin/hwstress/temperature_sensor.h

A TemperatureSensor monitors the hardware's temperature.

Public Methods

std::optional<double> ReadCelcius ()

Read the temperature of the system temperature sensor, in degrees celcius,

or nullopt if no value is available.

Currently selects a single "sensible" sensor, because platforms of interest

only have one. We may want to expand this in future.

void ~TemperatureSensor ()

Defined at line 21 of file ../../src/zircon/bin/hwstress/temperature_sensor.h