The GetTickCount is extremly inacurate. I tested it and its accuracy was something between 10 to 20 ms in my machine.

Look at my code in this thread:
http://terraqueous.f2o.org/dgdev/viewtopic.php?t=999
This is as accurate as you can get, I think. But I don't know about their platform independency.

Siim