Skip to content

Commit

Permalink
Merge branch 'master' into update_cpu_usage
Browse files Browse the repository at this point in the history
  • Loading branch information
npyl committed Jan 10, 2018
2 parents 1faa38a + 2c2c1e6 commit 03c9591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/darwin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ static void helper_update_threads_processes(void)
if (err != KERN_SUCCESS)
return;

info.run_procs = loadInfo.task_count;
info.run_threads = loadInfo.thread_count;
info.procs = loadInfo.task_count;
info.threads = loadInfo.thread_count;
}

/*
Expand Down

0 comments on commit 03c9591

Please sign in to comment.