On Sat, 11 Jan 2014, Graeme Geldenhuys wrote:
On 2014-01-10 11:02, Michael Van Canneyt wrote:
Last time I looked, EpikTimer used Now() on Unixes,
definitely if you were not on intel platforms.
On i386 systems it uses Intel CPU hardware timers. On other Windows
systems it uses the Windows
On 2014-01-10 11:02, Michael Van Canneyt wrote:
>
> Last time I looked, EpikTimer used Now() on Unixes,
> definitely if you were not on intel platforms.
On i386 systems it uses Intel CPU hardware timers. On other Windows
systems it uses the Windows QueryPerformanceCounter API. On Unixes it
use
Michael Van Canneyt wrote:
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
Michael Van Canneyt wrote:
And I hardly see the point of converting something coming from the
hardware and/or a kernel counter to a double and then back to a
quadword.
Nevertheless, Now() is the only portable construc
Michael Schnell wrote:
On 01/10/2014 09:56 AM, Mark Morgan Lloyd wrote:
What's the most efficient and portable way of getting a millisecond
timestamp.
Do you run some "realtime" OS ? Otherwise millisecond timestamp don't
make much sense, as the OS might delay you application for a second now
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
Michael Van Canneyt wrote:
And I hardly see the point of converting something coming from the
hardware and/or a kernel counter to a double and then back to a quadword.
Nevertheless, Now() is the only portable construct available. Multiply it
w
Michael Van Canneyt wrote:
And I hardly see the point of converting something coming from the
hardware and/or a kernel counter to a double and then back to a quadword.
Nevertheless, Now() is the only portable construct available. Multiply
it with msecsperday and round to int64 if you need an
On 01/10/2014 09:56 AM, Mark Morgan Lloyd wrote:
What's the most efficient and portable way of getting a millisecond
timestamp.
Do you run some "realtime" OS ? Otherwise millisecond timestamp don't
make much sense, as the OS might delay you application for a second now
and then.
-Michael
__
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
Michael Van Canneyt wrote:
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
What's the most efficient and portable way of getting a millisecond
timestamp, relative to any ancient epoch? I find
TimeStampToMSecs(DateTimeToTimeStamp(Now))
hard to s
Michael Van Canneyt wrote:
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
What's the most efficient and portable way of getting a millisecond
timestamp, relative to any ancient epoch? I find
TimeStampToMSecs(DateTimeToTimeStamp(Now))
hard to swallow since Now() is hardly efficient and the res
On Fri, January 10, 2014 10:01, Michael Van Canneyt wrote:
> On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
>
>> What's the most efficient and portable way of getting a millisecond
>> timestamp, relative to any ancient epoch? I find
>>
>> TimeStampToMSecs(DateTimeToTimeStamp(Now))
>>
>> hard to swal
On Fri, 10 Jan 2014, Mark Morgan Lloyd wrote:
What's the most efficient and portable way of getting a millisecond
timestamp, relative to any ancient epoch? I find
TimeStampToMSecs(DateTimeToTimeStamp(Now))
hard to swallow since Now() is hardly efficient and the resulting Comp is
marked as
What's the most efficient and portable way of getting a millisecond
timestamp, relative to any ancient epoch? I find
TimeStampToMSecs(DateTimeToTimeStamp(Now))
hard to swallow since Now() is hardly efficient and the resulting Comp
is marked as non-potable in the documentation.
--
Mark Morgan
12 matches
Mail list logo