Timing things on a computer is difficult at best, You are not going to be
very accurate in a short amount of time.
I'm NOT sure what you are asking but,
What most pro's do is run a chunck of code for say 1000 iterations, then
deviding the total time by 1000 to get an average time elapsed.
You will find that the time between beginthread and endthread, varies with
every run.
"vee_kay" <ve*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Any other way to do this..as i dont really get what ur really trying to
say .....a simple program need to see what is OS doing eh?