Re: Timing execution with ROOT

From: Dario Berzano <l3g3nd4ryf0x_at_gmail.com>
Date: Thu, 12 Nov 2009 13:10:23 +0100


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 520
Received 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