汗。。。淡定,不就是个邮箱么~你也可以去注册的~
2011/5/10 ajax he ajaxhe@gmail.com
microcai这样说不妥吧,对ACMer有偏见?
在 2011年5月10日 下午2:14,microcai microcai@fedoraproject.org写道:
于 2011年05月08日 23:33, cheng chen 写道:
我在使用c语言库函数timer_create()的时候
第一个参数clockid有这样4个选择,
CLOCK_REALTIME(墙上时间) A settable system-wide real-time clock. CLOCK_MONOTONIC A nonsettable monotonically increasing clock that measures
time
from some unspecified point in the past that does not change
after
system startup.
CLOCK_PROCESS_CPUTIME_ID (since Linux 2.6.12)(该进程的CPU时间) A clock that measures (user and system) CPU time consumed
by
(all of the threads in) the calling process.
CLOCK_THREAD_CPUTIME_ID (since Linux 2.6.12)(该线程的CPU时间) A clock that measures (user and system) CPU time consumed
by
the calling thread.
manual上说的很短,其他都能理解,唯一不理解第二个时钟的使用。能否请大家帮忙讲解一下,谢谢。
-- Cheng(�)
ACM 的人也有不懂的啊?! 不是很厉害的么?都北大毕业的研究生么? 不是号称只要算法厉害,对系统的理解都是浮云么? _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese