会员: 密码:  免费注册 | 忘记密码 | 会员登录 网页功能: 加入收藏 设为首页 网站搜索  
源代码 > Delphi代码 > 系统控制
计算执行一个测试函数的处理器周期数
发表日期:2003-10-10 12:00:00文件大小:5386 下载次数:1849  

代码说明: 计算执行一个测试函数的处理器周期数,这是一个执行算法的好的方法,因为它独立于cpu的速度 What the component do is to count the number of processor cycles used to executed a test function. This is a good way of profiling algorithms because it is independent to the speed of the processor. The component uses a Pentium instruction RDTSC that read a counter (pentium time stamp counter) containing the number of cycles executed since power up.

立即下载

返回顶部】 【打印本页】 【关闭窗口

关于我们 / 给我留言 / 版权举报 / 意见建议 / 网站编程QQ群   
Copyright ©2003- 2024 Lihuasoft.net webmaster(at)lihuasoft.net 加载时间 0.00237