GPU stats
Represents a session handle for sampling dynamic GPU metrics
Original source
The gpu stats information are retrieved from Hardware.GraphicsCard.createStatsSession() method
KInfo's source
val graphicsCards = hardware.graphicsCards
val graphicsCard: GraphicsCard = graphicsCards.first()
val stats: GpuStats = graphicsCard.createStatsSession()
Properties
gpuTicks
A snapshot of cumulative GPU active and idle ticks in opaque, platform-native units. The counters are monotonically increasing, represented using GpuTicks
gpuUtilization
The instantaneous GPU core utilization as a percentage
vramUsed
The amount of dedicated VRAM currently in use in bytes
sharedMemoryUsed
The amount of shared system memory currently used by this GPU in bytes
temperature
The temperature in degrees Celsius
powerDraw
The GPU power consumption
coreClockMhz
The current GPU core clock speed
memoryClockMhz
The current GPU memory clock speed
fanSpeedPercent
The GPU fan speed as a percentage of maximum