Chinaunix
标题:
问个系统调统 times
[打印本页]
作者:
negative
时间:
2004-08-31 08:55
标题:
问个系统调统 times
clock_t times (struct tms *buffer);
struct tms {
clock_t tms_utime
clock_t tms_stime
clock_t tms_cutime
clock_t tms_cstime
}
察看帮助,系统调统返回的tms_utime 是processor time。
想问一下,这个processor time指的什么?和cpu主频或是主板主频之间有关系吗?
谢谢
作者:
landog
时间:
2004-09-02 12:41
标题:
问个系统调统 times
8053芯片每10ms给CPU发个信号,这段时间为一个jiffes,此系统调用的时间即为用户态共使用的jiffies个数。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2