|
From: | Greg Hill |
Subject: | Computing elapsed time |
Date: | Tue, 30 Jul 2002 11:42:40 -0700 |
(msw * 2^16) + lswgives the number of seconds, and msec gives the additional number of milliseconds.
I need to compute the difference between two such timestamps as a single signed integer , accurate to the nearest second (ignoring the milliseconds is ok), and saturated to -134217728 to 134217727 seconds.
Does anyone have a function that does that? Thanks. --Greg
[Prev in Thread] | Current Thread | [Next in Thread] |