Removed (now unused) CpuTimesResponse.

This commit is contained in:
Fabio Manganiello 2023-04-17 02:15:06 +02:00
parent b9286f50b0
commit 711cc2b239
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -28,40 +28,6 @@ class SensorResponse(SystemResponse):
pass
class CpuTimesResponse(CpuResponse):
def __init__(
self,
user: float,
nice: float,
system: float,
idle: float,
iowait: float,
irq: float,
softirq: float,
steal: float,
guest: float,
guest_nice: float,
*args,
**kwargs
):
super().__init__(
*args,
output={
'user': user,
'nice': nice,
'system': system,
'idle': idle,
'iowait': iowait,
'irq': irq,
'softirq': softirq,
'steal': steal,
'guest': guest,
'guest_nice': guest_nice,
},
**kwargs
)
class CpuStatsResponse(CpuResponse):
def __init__(
self,