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.zigans...@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.zigans...@gmail.com > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe