我在使用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(�)
于 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 的人也有不懂的啊?! 不是很厉害的么?都北大毕业的研究生么? 不是号称只要算法厉害,对系统的理解都是浮云么?
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
汗。。。淡定,不就是个邮箱么~你也可以去注册的~
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
于 2011年05月10日 18:11, ajax he 写道:
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
息怒息怒~
2011/5/10 microcai microcai@fedoraproject.org
于 2011年05月10日 18:11, ajax he 写道:
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
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
If u use the CLOCK_MONOTONIC clock, the timer will not be affected by a system time change. Google some code ex.
2011/5/11 Caius 'kaio' Chance kaio@fedoraproject.org:
息怒息怒~
2011/5/10 microcai microcai@fedoraproject.org
于 2011年05月10日 18:11, ajax he 写道:
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
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Regards ☺ Caius 'kaio' Chance - Fedora Project Contributor [Fedora] http://goo.gl/9WWWC | [IRC] kaio @ freenode | [Twitter] @K410 | [Blog] kaio.net _______________________________________________ Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
于 2011年05月13日 00:18, Guannan Ma 写道:
If u use the CLOCK_MONOTONIC clock, the timer will not be affected by a system time change. Google some code ex.
告诉他们干嘛,真是的。让他们研究算法去,干嘛来研究系统啊!分析 1MB 内存 情况下用最快的方法给 TB 级别的数据排序分组去。 算法研究好了,随便用什么语言,随便用什么系统都可以实现了嘛! 在这里问个鸡巴毛啊。 最不济,用 QBASIC 总可以了吧!
这可是 ACMer 对我说的,算法好才是真的好,就算不会写程序,慢慢折腾就会了 嘛~~~
去吧,算法帝~~~~
2011/5/11 Caius 'kaio' Chance kaio@fedoraproject.org:
息怒息怒~
2011/5/10 microcai microcai@fedoraproject.org
于 2011年05月10日 18:11, ajax he 写道:
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
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Regards ☺ Caius 'kaio' Chance - Fedora Project Contributor [Fedora] http://goo.gl/9WWWC | [IRC] kaio @ freenode | [Twitter] @K410 | [Blog] kaio.net _______________________________________________ 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
痰老湿曾经曰过:“算法乃程序灵魂也” 一老外曰:“不然,数据结构也”(见TAOUP,语文拙劣,谅解谅解)
On Fri, 13 May 2011 10:21:17 +0800 microcai microcai@fedoraproject.org wrote:
告诉他们干嘛,真是的。让他们研究算法去,干嘛来研究系统啊!分析 1MB 内存 情况下用最快的方法给 TB 级别的数据排序分组去。 算法研究好了,随便用什么语言,随便用什么系统都可以实现了嘛! 在这里问个鸡巴毛啊。 最不济,用 QBASIC 总可以了吧!
这可是 ACMer 对我说的,算法好才是真的好,就算不会写程序,慢慢折腾就会了 嘛~~~
去吧,算法帝~~~~
-------------------- Mike is here. My OS: Fedora x64 My blog: www.ekd123.org [Powered by Chito] My favorite editor: Emacs 23.2 My E-mail client: Mew 6.3 on Emacs 23.2. --------------------
说起来,也就是搞基础研究的看不起搞应用的,搞理科的看不起搞工科的
在 2011年5月13日 下午12:51,Mike Ma zhtx10@gmail.com 写道:
痰老湿曾经曰过:"算法乃程序灵魂也" 一老外曰:"不然,数据结构也"(见TAOUP,语文拙劣,谅解谅解)
On Fri, 13 May 2011 10:21:17 +0800 microcai microcai@fedoraproject.org wrote:
告诉他们干嘛,真是的。让他们研究算法去,干嘛来研究系统啊!分析 1MB 内存 情况下用最快的方法给 TB 级别的数据排序分组去。 算法研究好了,随便用什么语言,随便用什么系统都可以实现了嘛! 在这里问个鸡巴毛啊。 最不济,用 QBASIC 总可以了吧!
这可是 ACMer 对我说的,算法好才是真的好,就算不会写程序,慢慢折腾就会了 嘛~~~
去吧,算法帝~~~~
Mike is here. My OS: Fedora x64 My blog: www.ekd123.org [Powered by Chito] My favorite editor: Emacs 23.2 My E-mail client: Mew 6.3 on Emacs 23.2.
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
虽然话糙了些,深表赞同 连863都要外包的神奇土地~
在 2011年5月13日 下午2:16,microcai microcai@fedoraproject.org 写道:
于 2011年05月13日 13:56, Yang Xu 写道:
搞理科的看不起搞工科的
我一直以为天朝只有半吊子工科,没有理科。
在天朝搞理科? 不是脑残就是装逼。
欢迎拍砖。
我已然淡定了. 帮助人总是好的.
阿门 :)
micro 当时对你说那些话的都是坏蛋 哈哈
2011/5/13 Yang Xu kernel.deeppro@gmail.com:
虽然话糙了些,深表赞同 连863都要外包的神奇土地~
在 2011年5月13日 下午2:16,microcai microcai@fedoraproject.org 写道:
于 2011年05月13日 13:56, Yang Xu 写道:
搞理科的看不起搞工科的
我一直以为天朝只有半吊子工科,没有理科。
在天朝搞理科? 不是脑残就是装逼。
欢迎拍砖。
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
谢了Guannan Ma啊,我就想问个问题啊,谁怎么样,跟我没关系,跟电脑有关的知识我都感兴趣~
On Fri, May 13, 2011 at 12:18 AM, Guannan Ma mythmgn@gmail.com wrote:
If u use the CLOCK_MONOTONIC clock, the timer will not be affected by a system time change. Google some code ex.
2011/5/11 Caius 'kaio' Chance kaio@fedoraproject.org:
息怒息怒~
2011/5/10 microcai microcai@fedoraproject.org
于 2011年05月10日 18:11, ajax he 写道:
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
Chinese mailing list Chinese at lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/chinese
-- Regards ☺ Caius 'kaio' Chance - Fedora Project Contributor [Fedora] http://goo.gl/9WWWC | [IRC] kaio @ freenode | [Twitter] @K410 | [Blog] kaio.net _______________________________________________ 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
chinese@lists.fedoraproject.org