Parent Directory | Revision Log | Patch
revision 83 by torben, Sun Jun 15 18:57:00 2008 UTC | revision 84 by torben, Mon Jun 16 06:12:45 2008 UTC | |
---|---|---|
# | Line 280 namespace Util | Line 280 namespace Util |
280 | ||
281 | int mTimeDiff(const timeval& then, const timeval& now) | int mTimeDiff(const timeval& then, const timeval& now) |
282 | { | { |
283 | return uTimeDiff(then,now) / 1000; | return ( (now.tv_sec - then.tv_sec)*1000) + |
284 | ((now.tv_usec-then.tv_usec)/1000); | |
285 | } | } |
286 | ||
287 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |