Skip to content

Commit

Permalink
Fix bug that runs the core frequencies monitoring on the same core it…
Browse files Browse the repository at this point in the history
… is monitoring
  • Loading branch information
L3tum committed Oct 19, 2019
1 parent 5d4705b commit 093a11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HardwareInformation/MachineInformationGatherer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ private static void GetCoreSpeeds()
}

var core = new MachineInformation.Core();
var thread = Util.RunAffinity(1uL << coreNumber, () =>
var thread = Task.Run(() =>
{
var highestFrequency = 0u;
var lowestFrequency = 0u;
Expand Down

0 comments on commit 093a11d

Please sign in to comment.