On Thu, 04 May 2006, [EMAIL PROTECTED] wrote:
> Quoting Zoly <[EMAIL PROTECTED]>:
>
> > I had to replace my PC and the platform now is a 'AMD-Athlon 64 X2
> > Dual Core 3800+' that made my applications "flying" compared to the
> > earlier one, but there is a problem, my code exits with this error
> > message below. Time::HiRes::ualarm(): unimplemented in this
> > platform at
> > C:\Perl\time.pl line 3
>
> Hi there,
>
> Most likely its the fact the code for that module was built for a
> older type of system. Dual core 64 bit is fairly sophisticated and
> pretty new. Well, thats what that error suggests to me is going on.
> I'd say its time to find a updated or newer module that can perform on
> that kind of a system. The rest of the world still needs some time to
> catch up to the 64 bit stuff. Thats my two sense anyway.

Sorry, but none of this is really true.  Time::HiRes gives you the
best time resolution on Win32, regardless of the underlying processor.
It also has nothing to do with 32 vs. 64 bits, as Time::HiRes uses
Windows performance counters, and they are already 64 bits even on
32 bit CPUs.

The fact that ualarm() isn't supported has nothing to do with the precision
but more with the fact that alarm() doesn't really work on Windows.  It
doesn't interrupt C code or system calls but waits until Perl polls
a messageloop to see if a timer has expired.

Cheers,
-Jan


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to