| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
我更加明白你的意思了,不过这个是不可取的In Reply To:ft,这些东西不是Windows API吗?我如何不在windows上面试? Posted by:frkstyc at 2005-03-25 11:45:49 看一个进程的时间,绝对不能用起始时间和结束时间来衡量 这样子,几次之间的误差,就不再是10ms那么简单了 > 试过啦,GetProcessTimes的精度是10ms或者15ms(可以用GetSystemTimeAdjustment获得),用WaitForSingleObject卡时出来的结果变化很大,卡3000ms返回2974和3024都有,最疯狂的一次卡1000然后GPT告诉我500 > 用QPF/QPC最好把QPC放在CreateProcess后面,CreateProcess好像挺耗时间的样子 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator