Skip to content
Snippets Groups Projects
Commit e73ae489 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Add TODO.

Refers to #36
parent 4d2b08ed
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ namespace ATxCommon
/// </summary>
/// <returns>CPU usage in percent or -1 if an error occured.</returns>
public static int GetCpuUsage() {
// TODO: fix bug #36
try {
var searcher = new ManagementObjectSearcher("select * from Win32_PerfFormattedData_PerfOS_Processor");
foreach (var mo in searcher.Get()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment