CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
FastTimerService::StreamData Struct Reference

Public Member Functions

void reset ()
 
 StreamData ()
 

Public Attributes

ModuleInfocurrent_module
 
PathInfocurrent_path
 
SummaryPlots dqm
 
std::vector< SummaryProfilesdqm_byluminosity
 
std::vector
< PathProfilesPerProcess
dqm_paths
 
std::vector
< SummaryPlotsPerProcess
dqm_perprocess
 
std::vector< std::vector
< SummaryProfilesPerProcess > > 
dqm_perprocess_byluminosity
 
ModuleMap< ModuleInfo * > fast_modules
 
ModuleMap< ModuleInfo * > fast_moduletypes
 
std::vector< double > luminosity
 
std::unordered_map
< std::string, ModuleInfo
modules
 
std::unordered_map
< std::string, ModuleInfo
moduletypes
 
PathMap< PathInfopaths
 
FastTimer timer_endpaths
 
FastTimer timer_event
 
FastTimer::Clock::time_point timer_last_path
 
FastTimer::Clock::time_point timer_last_transition
 
FastTimer timer_path
 
FastTimer timer_paths
 
FastTimer timer_source
 
Timing timing
 
std::vector< TimingPerProcesstiming_perprocess
 

Detailed Description

Definition at line 628 of file FastTimerService.h.

Constructor & Destructor Documentation

FastTimerService::StreamData::StreamData ( )
inline

Definition at line 663 of file FastTimerService.h.

663  :
664  // timers
665  timer_event(),
666  timer_source(),
667  timer_paths(),
668  timer_endpaths(),
669  timer_path(),
670  timer_last_path(),
672  // time accounting per-event
673  timing(),
675  // luminosity per event
676  luminosity(),
677  // overall plots
678  dqm(),
680  dqm_perprocess(),
682  // plots by path
683  dqm_paths(),
684  // per-path, per-module and per-module-type accounting
685  current_path(nullptr),
686  current_module(nullptr),
687  paths(),
688  modules(),
689  moduletypes(),
690  fast_modules(),
692  { }
FastTimer::Clock::time_point timer_last_path
std::vector< TimingPerProcess > timing_perprocess
FastTimer::Clock::time_point timer_last_transition
ModuleMap< ModuleInfo * > fast_moduletypes
std::vector< SummaryProfiles > dqm_byluminosity
std::unordered_map< std::string, ModuleInfo > modules
std::unordered_map< std::string, ModuleInfo > moduletypes
std::vector< double > luminosity
std::vector< SummaryPlotsPerProcess > dqm_perprocess
ModuleMap< ModuleInfo * > fast_modules
std::vector< std::vector< SummaryProfilesPerProcess > > dqm_perprocess_byluminosity
std::vector< PathProfilesPerProcess > dqm_paths

Member Function Documentation

void FastTimerService::StreamData::reset ( void  )
inline

Definition at line 695 of file FastTimerService.h.

References current_module, current_path, dqm, dqm_byluminosity, dqm_paths, dqm_perprocess, dqm_perprocess_byluminosity, fjr2json::lumi, luminosity, python.multivaluedict::map(), modules, moduletypes, paths, RecoTauValidation_cfi::plots, FastTimer::reset(), FastTimerService::ModuleInfo::reset(), FastTimerService::Timing::reset(), FastTimerService::SummaryPlots::reset(), timer_endpaths, timer_event, timer_last_path, timer_last_transition, timer_path, timer_paths, timer_source, timing, and timing_perprocess.

695  {
696  // timers
697  timer_event.reset();
699  timer_paths.reset();
701  timer_path.reset();
702  timer_last_path = FastTimer::Clock::time_point();
703  timer_last_transition = FastTimer::Clock::time_point();
704  // time accounting per-event
705  timing.reset();
706  for (auto & timing: timing_perprocess)
707  timing.reset();
708  // luminosity per event
709  for (auto & lumi: luminosity)
710  lumi = 0;
711  // overall plots
712  dqm.reset();
713  for (auto & plots: dqm_byluminosity)
714  plots.reset();
715  for (auto & perprocess_plots: dqm_perprocess)
716  perprocess_plots.reset();
717  for (auto & process_plots: dqm_perprocess_byluminosity)
718  for (auto & plots: process_plots)
719  plots.reset();
720  // plots by path
721  for (auto & plots: dqm_paths)
722  plots.reset();
723  // per-path, per-module and per-module-type accounting
724  current_path = nullptr;
725  current_module = nullptr;
726  for (auto & map: paths)
727  for (auto & keyval: map)
728  keyval.second.reset();
729  for (auto & keyval: modules)
730  keyval.second.reset();
731  for (auto & keyval: moduletypes)
732  keyval.second.reset();
733  }
FastTimer::Clock::time_point timer_last_path
std::vector< TimingPerProcess > timing_perprocess
FastTimer::Clock::time_point timer_last_transition
tuple lumi
Definition: fjr2json.py:35
std::vector< SummaryProfiles > dqm_byluminosity
std::unordered_map< std::string, ModuleInfo > modules
std::unordered_map< std::string, ModuleInfo > moduletypes
std::vector< double > luminosity
std::vector< SummaryPlotsPerProcess > dqm_perprocess
std::vector< std::vector< SummaryProfilesPerProcess > > dqm_perprocess_byluminosity
void reset()
Definition: FastTimer.cc:62
std::vector< PathProfilesPerProcess > dqm_paths

Member Data Documentation

ModuleInfo* FastTimerService::StreamData::current_module

Definition at line 656 of file FastTimerService.h.

Referenced by reset().

PathInfo* FastTimerService::StreamData::current_path

Definition at line 655 of file FastTimerService.h.

Referenced by reset().

SummaryPlots FastTimerService::StreamData::dqm

Definition at line 646 of file FastTimerService.h.

Referenced by reset().

std::vector<SummaryProfiles> FastTimerService::StreamData::dqm_byluminosity

Definition at line 647 of file FastTimerService.h.

Referenced by reset().

std::vector<PathProfilesPerProcess> FastTimerService::StreamData::dqm_paths

Definition at line 652 of file FastTimerService.h.

Referenced by reset().

std::vector<SummaryPlotsPerProcess> FastTimerService::StreamData::dqm_perprocess

Definition at line 648 of file FastTimerService.h.

Referenced by reset().

std::vector<std::vector<SummaryProfilesPerProcess> > FastTimerService::StreamData::dqm_perprocess_byluminosity

Definition at line 649 of file FastTimerService.h.

Referenced by reset().

ModuleMap<ModuleInfo *> FastTimerService::StreamData::fast_modules

Definition at line 660 of file FastTimerService.h.

ModuleMap<ModuleInfo *> FastTimerService::StreamData::fast_moduletypes

Definition at line 661 of file FastTimerService.h.

std::vector<double> FastTimerService::StreamData::luminosity

Definition at line 643 of file FastTimerService.h.

Referenced by reset().

std::unordered_map<std::string, ModuleInfo> FastTimerService::StreamData::modules

Definition at line 658 of file FastTimerService.h.

Referenced by reset().

std::unordered_map<std::string, ModuleInfo> FastTimerService::StreamData::moduletypes

Definition at line 659 of file FastTimerService.h.

Referenced by reset().

PathMap<PathInfo> FastTimerService::StreamData::paths

Definition at line 657 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_endpaths

Definition at line 633 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_event

Definition at line 630 of file FastTimerService.h.

Referenced by reset().

FastTimer::Clock::time_point FastTimerService::StreamData::timer_last_path

Definition at line 635 of file FastTimerService.h.

Referenced by reset().

FastTimer::Clock::time_point FastTimerService::StreamData::timer_last_transition

Definition at line 636 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_path

Definition at line 634 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_paths

Definition at line 632 of file FastTimerService.h.

Referenced by reset().

FastTimer FastTimerService::StreamData::timer_source

Definition at line 631 of file FastTimerService.h.

Referenced by reset().

Timing FastTimerService::StreamData::timing

Definition at line 639 of file FastTimerService.h.

Referenced by reset().

std::vector<TimingPerProcess> FastTimerService::StreamData::timing_perprocess

Definition at line 640 of file FastTimerService.h.

Referenced by reset().