neclib.core.security.load_check#
- class LoadChecker[source]#
Bases:
object
- cpu_count = 4#
Number of logical processors.
Number of threads that can be handled simultaneously. Normally this is the same as the number of CPU cores. If simultaneous multi-threading is enabled (e.g., Intel’s Hyper-Threading technology), this value would be larger than the number of CPU cores.
- cpu_usage()[source]#
Mean CPU usage since last call.
This method averages the usage from last call or class initialization.
- Return type:
Quantity