kempnerpulse.compute.classify

kempnerpulse.compute.classify(record, real_util)[source]

Classify one record into a WorkloadClass (first match wins).

real_util is the composite score for the same record, used only by the idle rule. gr uses the graphics-engine fraction, falling back to the NVML busy fraction — the same resolution the composite uses.

Parameters:
Return type:

WorkloadClass