于 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