I'm running a program on a Solaris machine and need to get more accurate timing, preferably to the 1/1000th of a second. I am currently using the clock() function which returns the time since the start of the program, which for mine is less than 1/100th usually. I have looked everywhere and can't find anything.
Any help would be great for myself and probably 20 other people in my class. Thanks