milli (or micro) second timing
Posted on 2001-06-22
I'm looking to timestamp information in a program I'm working on. The timestamp will be compared to the current time to determine how much time has gone by. What I'm looking for is something like time(&tloc), only on the scale of milli or micro seconds. Like time gives me the number of seconds since 00:00:00 1970. Is there something that will give me the number of milliseconds since 00:00:00 1980? or since the system has been booted? Some kinda of fixed point for the system so that it can tell how much time has passed on a much finer scale than seconds.