-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure CpuFrequency is never explicitly set to zero
detect_from_cpuid could previously set CpuFrequency to zero. To ensure that this doesn't happen all detect methods set mhz and CpuFrequencySources via a helper method that ensures that mhz is never explicitly set to zero (apart from the creation of the object)
- Loading branch information
Showing
1 changed file
with
25 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters