![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Aug 2005
Location: Montana
Posts: 2
Rep Power: 0
![]() |
Hey everyone,
I am looking for some kind of program that acts like a timer or a stopwatch and has accuracy to 1/10,000 of a second (Ex. 1.2987 sec). I have looked everywhere, but can't seem to find one. Any help or suggestions would be greatly appreciated. Thanks, Chris C. |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
That kind of accuracy is problematic in the average desktop system with a multi-process executive. You could get into kernel mode and use an interrupt if you know how to not kill a system under those circumstances. Some timing functions advertise high precision, but precision and accuracy aren't the same thing, and the precision is ephemeral, anyway.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Aug 2005
Location: Montana
Posts: 2
Rep Power: 0
![]() |
I am a fairly unexperienced programmer, and really don't know about getting into "kernel mode", and not killing the system. - but thanks anyway.
-Chris |
|
|
|
|
|
#4 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
heh
I learned what the difference between precision and accuracy is yesterday! Just one step closer to knowing as much useless shit as DaWei :-P (kidding, kidding, no offense DaWei)
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Uman, you don't know how funny that really is. I have a running joke with my landlady that I will give her one useless piece of information each day. And I do.
![]()
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Expert Programmer
Join Date: Dec 2004
Posts: 794
Rep Power: 4
![]() |
That's easy.
One day, say, "did you know that I am not a Finn?" Next day, "did you know that I am not Irish?" etc. or something similar
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials. --WilliamSChips on Slashdot |
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Well, my mom was Irish and my daddy is a Finn, but I get your drift. Actually, it runs more along the lines of telling her something like, "Two good gage blocks, when pressed together and rubbed against each other slightly, will adhere." Or that one of the guys in the Manhatten Project, responsible for determining what actually constituted a critical mass, died an ugly death due to severe radiation burns. I have the soul of a skald.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#8 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
You can try to develop a very simple OS yourself... just create a piece of assemble code which sets up your stack, create an interrupt for the PIT, use GRUB as bootloader and voila
![]() |
|
|
|
|
|
#9 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
Easy, Polyphemus, but don't you see that ccflyer is a newbie like many of us? And he said that he is an unexperienced programmer? No offense, but we are here to learn something...
|
|
|
|
|
|
#10 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Well, the OP did say
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|