| |
| Components: Date & Time: Clocks |
| Name: RDTSC unit 1.1 |
Date: 7/24/01 11:00:00 PM |
Environment: Delphi 4.0, Delphi 6.0, Windows 95, Windows NT, Delphi 3.0, Delphi 5.0, Windows 2000, Windows 98, Windows NT 4.0 |
Download |
| Type: Freeware with Source |
Size: 3KB |
Price: $0 Source: |
Online Registration: Link Not Available |
Description: It is a wrapper under RDTSC pentium instruction. With this unit you can measure time intervals with up to nanoseconds resolution.
It is very easy to use. Just include it in unit clause. And when you need to measure time, do:
// ************** example begin **************
var ticks:int64;
...
ticks := cpuGetTick; // remember counter
dosomething; // do some work
label1.caption := format(' "dosomething" time = %d ms',[cpugetms(ticks)]);
// ************** example end **************
Thats all.
Functions partial list:
function cpuGetSpeed:word;
function cpuGetTick:int64;
function cpuGetms( Tick:int64 ):dword;
function cpuGetmks( Tick:int64 ):dword;
...
|
Additional Information:
- Total downloads between 7/25/01 and 12/2/08: 2571
|
| Author: Zloba Alexandr |
No Homepage Specified |
|
|
|
|
|
| Hits/month |
2,500,000+ |
Downloads (Since May 2000) |
7,393,709 |
| Total Files |
6,023 |
| Forum msgs |
7,670 |
| Articles/FAQs |
70+/900+ |
Top Selling Software at Amazon
|