This code will probably be considered very ugly by the more experienced programmers, and it may have no relevance to your issue (I don't know much about your code), but what I meant was, don't limit yourself to just one timer.
I hope I got that right, seemed to be working right by my watch.
long millisec (int i) //Counts in parts of a second
millisec = clock () / (CLOCKS_PER_SEC/i) ;
void gotoxy(int x, int y) /* Used for positioning text in console */
coord.X = x;
coord.Y = y;
int main (int argc, char* argv)
printf ("Counting in 100'ths of a second: %Ld\n",millisec(100));
printf ("Another counter, going twice as fast: %Ld\n",millisec(200));