vipin Performance Counters

Structs for counting performance metrics.

class vivarium.cluster_tools.vipin.perf_counters.CounterSnapshot(cpu=None, disk=None, freq=None, net=None, timestamp=None)[source]
Parameters:
  • cpu (scpustats | None)

  • disk (sdiskio | None)

  • freq (scpufreq | None)

  • net (snetio | None)

  • timestamp (float | None)

to_dict()[source]
Return type:

dict[str, dict[str, int | float] | float]