Cpu Usage

@Serializable
data class CpuUsage(val usageValue: Double, val clock: Double) : SavedHostStats

The CpuUsage class represents the statistic related to the current CPU usage

Author

N7ghtm4r3 - Tecknobit

See also

Constructors

Link copied to clipboard
constructor(usageValue: Double, clock: Double)

Properties

Link copied to clipboard

The current clock of the CPU

Link copied to clipboard
@SerialName(value = "percent_value" )
open override val percentValue: Double

percentValue the current percent value of the resource usage

Link copied to clipboard
@SerialName(value = "total_value" )
open override val totalValue: Double = 100.0

totalValue the total amount of the resource available of the host

Link copied to clipboard
@SerialName(value = "usage_value" )
open override val usageValue: Double

The current usage of a resource of the host