Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nnethercote
on Aug 26, 2015
|
parent
|
context
|
favorite
| on:
What Does the OS X Activity Monitor’s “Energy Impa...
If you poll with high frequency you'll be causing lots of additional wake-ups which will badly skew what you're measuring.
pjc50
on Aug 26, 2015
[–]
Ideally you'd do an accounting update on task switch, along with all the other housekeeping. Then you don't need to do any polling. There's a "process accounting" infrastructure which perhaps could be adapted for this.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: