Query Details

Detect CPU Overclocking

Query

// Use Case: Compare the current clock speed against the maximum clock speed to identify if the CPU is being overclocked.
Cpu
| project ProcessorId, CurrentClockSpeed, MaxClockSpeed, Overclocked = iif(CurrentClockSpeed > MaxClockSpeed, 'Yes', 'No')

Explanation

This query is designed to check if a CPU is being overclocked by comparing its current clock speed to its maximum clock speed. It looks at data from a table named Cpu and selects the columns ProcessorId, CurrentClockSpeed, and MaxClockSpeed. Additionally, it creates a new column called Overclocked that indicates whether the CPU is overclocked. If the current clock speed is greater than the maximum clock speed, the Overclocked column will display 'Yes'; otherwise, it will display 'No'.

Details

Ugur Koc profile picture

Ugur Koc

Released: December 13, 2024

Tables

Cpu

Keywords

Cpu

Operators

projectiif>

Actions

GitHub