{"action":"created","issue":{"url":"https://api.github.com/repos/akhenakh/statgo/issues/4","labels_url":"https://api.github.com/repos/akhenakh/statgo/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/akhenakh/statgo/issues/4/comments","events_url":"https://api.github.com/repos/akhenakh/statgo/issues/4/events","html_url":"https://github.com/akhenakh/statgo/issues/4","id":101849572,"number":4,"title":"CPUStats: Stats do not update on consecutive calls.","user":{"login":"HeinOldewage","id":3645522,"avatar_url":"https://avatars.githubusercontent.com/u/3645522?v=3","gravatar_id":"","url":"https://api.github.com/users/HeinOldewage","html_url":"https://github.com/HeinOldewage","followers_url":"https://api.github.com/users/HeinOldewage/followers","following_url":"https://api.github.com/users/HeinOldewage/following{/other_user}","gists_url":"https://api.github.com/users/HeinOldewage/gists{/gist_id}","starred_url":"https://api.github.com/users/HeinOldewage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeinOldewage/subscriptions","organizations_url":"https://api.github.com/users/HeinOldewage/orgs","repos_url":"https://api.github.com/users/HeinOldewage/repos","events_url":"https://api.github.com/users/HeinOldewage/events{/privacy}","received_events_url":"https://api.github.com/users/HeinOldewage/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-19T09:41:23Z","updated_at":"2015-08-19T13:10:34Z","closed_at":"2015-08-19T13:10:34Z","body":"The values for User,Kernel,Idle,IOWait,Swap and Nice remain constant for every NewStat().\r\n\r\nReplacing `C.sg_get_cpu_percents_of(C.sg_last_diff_cpu_percent, nil)` with `C.sg_get_cpu_percents_of(C.sg_new_diff_cpu_percent, nil)` gets updated stats for every call of CPUStats.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/akhenakh/statgo/issues/comments/132586068","html_url":"https://github.com/akhenakh/statgo/issues/4#issuecomment-132586068","issue_url":"https://api.github.com/repos/akhenakh/statgo/issues/4","id":132586068,"user":{"login":"akhenakh","id":218430,"avatar_url":"https://avatars.githubusercontent.com/u/218430?v=3","gravatar_id":"","url":"https://api.github.com/users/akhenakh","html_url":"https://github.com/akhenakh","followers_url":"https://api.github.com/users/akhenakh/followers","following_url":"https://api.github.com/users/akhenakh/following{/other_user}","gists_url":"https://api.github.com/users/akhenakh/gists{/gist_id}","starred_url":"https://api.github.com/users/akhenakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akhenakh/subscriptions","organizations_url":"https://api.github.com/users/akhenakh/orgs","repos_url":"https://api.github.com/users/akhenakh/repos","events_url":"https://api.github.com/users/akhenakh/events{/privacy}","received_events_url":"https://api.github.com/users/akhenakh/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T13:10:34Z","updated_at":"2015-08-19T13:10:34Z","body":"fixed in #3  \r\nadded you in the README as a contributor ;)"}}