It took me about 20 minutes to find this post
Anyway - what the heck is a cycle?
That same call took on average: 17798761.20000 cycles
It took me about 20 minutes to find this post
Anyway - what the heck is a cycle?
That same call took on average: 17798761.20000 cycles
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
I second that! This looks like a very handy tool indeed.Originally Posted by Sly
PS. For a second there I though Alimonster had returned. Imagine my dissapointment when I saw the date of the first post
Isn't it fun finding some of these old postsImagine my dissapointment when I saw the date of the first post
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
Uhm, well in this case, yes and no
It's a clock cycle of the CPU. A 700MHz CPU has 700 million cycles per second. The RDTSC instruction returns the number of clock cycles that have passed since the computer was turned on. That's why it needs an Int64. If it just used a LongInt it would wrap every few seconds with modern CPU speeds.Originally Posted by cairnswm
RDTSC is not reliable in multi-CPU systems...
There are only 10 types of people in this world; those who understand binary and those who don't.
Bookmarks