On Thu, Nov 12, 2009 at 12:55 PM, James Jackson <james.jackson_at_cern.ch> wrote:
> Hi,
>
> I'm trying to instrument some code with a simple timer, using time.h:
>
> [snip]
>
> However, this fails due to CLOCKS_PER_SEC being undefined. Is there any way
> to do timing with ROOT?
Hi,
of course there is: try TStopwatch
(http://root.cern.ch/root/html/TStopwatch.html).
Cheers,
-- : Dario Berzano : Wiki: http://newton.ph.unito.it/~berzano : GPG: http://newton.ph.unito.it/~berzano/gpg : Mobile: +39 348 72 22 520Received on Thu Nov 12 2009 - 13:10:47 CET
This archive was generated by hypermail 2.2.0 : Thu Nov 12 2009 - 17:50:04 CET