time interval measuring
From: Andrei Voropaev (avorop_at_mail.ru)
Date: 06/17/04
- Previous message: Andrei Voropaev: "Re: recv(), SIGNAL and loosing data"
- Next in thread: Alexander Krisak: "Re: time interval measuring"
- Reply: Alexander Krisak: "Re: time interval measuring"
- Reply: John Reiser: "Re: time interval measuring"
- Reply: David Schwartz: "Re: time interval measuring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 Jun 2004 08:08:18 GMT
Hello!
What is the best way to measure elapsed time (wall-clock) between 2
events up to at least ms? gettimeofday is bad, because clock can be
moved ahead or back, thus producing incorrect results. clock returns
only time that process was running. setitimer? But this one allows only
one timer per process, would it work in multi-threaded enviroment where
multiple threads would require their own time measurement?
TIA
Andrei
- Previous message: Andrei Voropaev: "Re: recv(), SIGNAL and loosing data"
- Next in thread: Alexander Krisak: "Re: time interval measuring"
- Reply: Alexander Krisak: "Re: time interval measuring"
- Reply: John Reiser: "Re: time interval measuring"
- Reply: David Schwartz: "Re: time interval measuring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|