系统运行 49.7后
GetTickCount()返回是从0开始,还是一直是0。

解决方案 »

  1.   

    GetTickCount是计算从你开机启动后到现在地时间间隔
      

  2.   

    GetTickCount是计算从你开机启动后到现在地时间间隔
      

  3.   

    GetTickCount是计算从你开机启动后到现在的时间间隔,用毫秒标示,精度为5毫秒
      

  4.   

    The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days. 
    归零重新开始
      

  5.   

    如果要求365天运行,相信对时钟精度要求也挺高的。
    不妨利用CPU的频率法,得到的精度高一些,并且没有时间长度限制
      

  6.   

    参考函数
    QueryPerformanceFrequency
    QueryPerformanceCounter