[Haskell-cafe] Re: Computer time, independent of date
Bulat Ziganshin
bulat.ziganshin at gmail.com
Fri Jan 9 08:34:29 EST 2009
Hello Cetin,
Friday, January 9, 2009, 4:29:04 PM, you wrote:
yes, i mean this lib but forget its name :) thank you
> Don't know if it might help but:
> http://en.wikipedia.org/wiki/RDTSC
> cabal install rdtsc
> http://hackage.haskell.org/packages/archive/rdtsc/1.1.1/doc/html/System-CPUTime-Rdtsc.html
>
> Regards,
> CS
> 2009/1/9 Bulat Ziganshin <bulat.ziganshin at gmail.com>
> Hello Mauricio,
>
> Friday, January 9, 2009, 4:01:18 PM, you wrote:
>
>> computer has been turned on would do all I need. Or,
>> maybe, how much has elapsed since the program started.
>
>
> i think you should look into system counters (if you on windows). for
> example, task managet in vista shows time since reboot, i think that
> in registry it should be available in previous windowses too. at the
> cpu level, there is cpu ticks counter, it should be readable via
> special libraries
>
>
> --
> Best regards,
> Bulat mailto:Bulat.Ziganshin at gmail.com
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list