Skip to Content.
Sympa Menu

sphenix-software-l - [Sphenix-software-l] timer

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: pinkenburg <pinkenburg AT bnl.gov>
  • To: "sphenix-software-l AT lists.bnl.gov" <sphenix-software-l AT lists.bnl.gov>
  • Subject: [Sphenix-software-l] timer
  • Date: Thu, 13 Jul 2017 07:55:52 -0400

Hi folks,

at the last software meeting we talked briefly that having a timer for the modules would be useful. I added this to Fun4All - for every module a timer is created during registration and its time for process_event is recorded. You can print out the stats at any time by

Fun4AllServer *se = Fun4AllServer::instance();
se->PrintTimer();

or for a single module by e.g.

se->PrintTimer("SILICON_TRACKER_TOP");

The name is a combination of the module name and the topnode it is working on. If you give a non existing name it'll print the names of the existing timers. We do have sometimes duplicate names of modules (cut and pasting I guess), the processing times for those will be aggregated - which might actually be useful.

Chris

--
*************************************************************

Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
; http://www.phenix.bnl.gov/~pinkenbu

Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000

*************************************************************




  • [Sphenix-software-l] timer, pinkenburg, 07/13/2017

Archive powered by MHonArc 2.6.24.

Top of Page