mendevi.database.complete.get_idle

mendevi.database.complete.get_idle(duration: float = 60.0) dict[source]

Measure the idle consumption.

Parameters

durationfloat, default=60

The total duration of the measurement, bloking time in second.

Returns

measuresdict

duration: float, the real measure duration ps_core: list[list[float]], tensor of detailed usage of each logical core in % ps_dt: list[float], the duration of each interval in seconds ps_ram: list[int], list of the sampled ram usage in bytes in each point rapl_dt: list[float], the duration of each interval in seconds rapl_power: list[float], the average power in watt in each interval start: float, absolute timestamp wattmeter_dt: list[float], the duration of each interval in seconds wattmeter_power: list[float], the sampled power in watt in each point

Examples

>>> from mendevi.database.complete import get_idle
>>> get_idle()
>>>