smah.settings.system.stats.base_stats

Classes

BaseStats()

class smah.settings.system.stats.base_stats.BaseStats[source]

Bases: object

stale(threshold=100)[source]

Checks if the disk statistics are stale based on the given threshold.

Parameters:

threshold (int) – The threshold in microseconds.

Returns:

True if the statistics are stale, False otherwise.

Return type:

bool