|
您现在的位置:立华软件园->源码中心->Delphi代码->系统控制 |
|
|
计算执行一个测试函数的处理器周期数
|
| 发表日期:2003-10-10 | 文件大小:5386 下载次数:1804 |
|
源代码说明:
计算执行一个测试函数的处理器周期数,这是一个执行算法的好的方法,因为它独立于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.
立即下载
|
|
|
【我来说两句】
【发送给朋友】
【加入收藏】
【返加顶部】
【打印本页】
【关闭窗口】
|
|
在 中搜索 计算执行一个测试函数的处理器周期数
|
|
|