Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CPU load, time running ...



I try to get an average CPU load over a given period of time.
(typically 1 day)
and, also, the time since boot ....

I found the processor_set_statistics(..) function but I don't
understand the value in the
struct processor_set_load_info {
int task_count ;
int thread_count ;
integer_t load_average ;
integer_t mach_factor ;
};

the 'load_average' ? on which period of time ?
any others ideas ...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.