{"action":"opened","issue":{"url":"https://api.github.com/repos/bmr-cymru/dmioscope/issues/1","repository_url":"https://api.github.com/repos/bmr-cymru/dmioscope","labels_url":"https://api.github.com/repos/bmr-cymru/dmioscope/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bmr-cymru/dmioscope/issues/1/comments","events_url":"https://api.github.com/repos/bmr-cymru/dmioscope/issues/1/events","html_url":"https://github.com/bmr-cymru/dmioscope/issues/1","id":178897782,"number":1,"title":"dmiostat: replace sleep() with an interval timer","user":{"login":"bmr-cymru","id":910549,"avatar_url":"https://avatars.githubusercontent.com/u/910549?v=3","gravatar_id":"","url":"https://api.github.com/users/bmr-cymru","html_url":"https://github.com/bmr-cymru","followers_url":"https://api.github.com/users/bmr-cymru/followers","following_url":"https://api.github.com/users/bmr-cymru/following{/other_user}","gists_url":"https://api.github.com/users/bmr-cymru/gists{/gist_id}","starred_url":"https://api.github.com/users/bmr-cymru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmr-cymru/subscriptions","organizations_url":"https://api.github.com/users/bmr-cymru/orgs","repos_url":"https://api.github.com/users/bmr-cymru/repos","events_url":"https://api.github.com/users/bmr-cymru/events{/privacy}","received_events_url":"https://api.github.com/users/bmr-cymru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-23T14:52:37Z","updated_at":"2016-09-23T14:52:37Z","closed_at":null,"body":"The `dmstats` command uses the linux interval timer (`setitimer()`) for interval time keeping. This is more accurate than using `sleep()` since the caller does not have to manually correct for errors in the sleep duration.\r\n\r\nThe python `sched`, `twisted`, and `kronos` modules all provide a similar mechanism (from a first glance `sched` seems to provide an interface that is very similar in use to `setitimer()`."}}
{"actor":{"display_login":"bmr-cymru"}}