class CpuStats extends Alvine

CpuStats

Properties

protected Usage $cpuusage
protected integer $systemcpuusage
protected ThrottlingData $throttlingdata

Methods

__construct()

__construct

getCpuusage()

getCpuusage

integer
getSystemcpuusage()

getSystemcpuusage

getThrottlingdata()

getThrottlingdata

setCpuusage(Usage $cpuusage)

setCpuusage

setSystemcpuusage(integer $systemcpuusage)

setSystemcpuusage

setThrottlingdata(ThrottlingData $throttlingdata)

setThrottlingdata

static CpuStats
getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Details

at line 56
__construct()

__construct

at line 67
Usage getCpuusage()

getCpuusage

Return Value

Usage

at line 77
integer getSystemcpuusage()

getSystemcpuusage

Return Value

integer

at line 87
ThrottlingData getThrottlingdata()

getThrottlingdata

Return Value

ThrottlingData

at line 98
CpuStats setCpuusage(Usage $cpuusage)

setCpuusage

Parameters

Usage $cpuusage

Return Value

CpuStats

at line 110
CpuStats setSystemcpuusage(integer $systemcpuusage)

setSystemcpuusage

Parameters

integer $systemcpuusage

Return Value

CpuStats

at line 122
CpuStats setThrottlingdata(ThrottlingData $throttlingdata)

setThrottlingdata

Parameters

ThrottlingData $throttlingdata

Return Value

CpuStats

at line 134
static CpuStats getInstanceFromArray(Array|ArrayHelper $array)

getInstanceFromArray

Parameters

Array|ArrayHelper $array

Return Value

CpuStats