Skip to content

Commit

Permalink
First patch towards implementing #15
Browse files Browse the repository at this point in the history
This patch a reworked get_top_info().  We now use the function get_top_info_for_kinfo_proc() to set the contents of each |process| struct.
Also, we calculate the total cpu usage and total process usage concurrently using GCD.

Aside from these we bring the function helper_get_proc_list() which makes the code simpler and cleaner.
  • Loading branch information
npyl committed Dec 27, 2017
1 parent 785329a commit 9957ce2
Showing 1 changed file with 172 additions and 153 deletions.
Loading

0 comments on commit 9957ce2

Please sign in to comment.