标题:关于GetCycleCount
取消只看楼主
murongying
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2012-6-27
结帖率:50%
已结贴  问题点数:10 回复次数:0 
关于GetCycleCount
inline   unsigned   __int64   GetCycleCount()   
  {   
    __asm   _emit   0x0F   
    __asm   _emit   0x31   
  }  
unsigned long time;   
        time = (unsigned long)GetCycleCount();
………………………………………………程序
        time = (unsigned long)GetCycleCount() - time;
如上,我这样得到结果是不是纳秒时间,如果不是的话,那是什么?
搜索更多相关主题的帖子: long emit 
2012-08-28 16:55



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-380248-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.762410 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved