CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/FWCore/Framework/src/WorkerInPath.cc

Go to the documentation of this file.
00001 
00002 
00003 #include "FWCore/Framework/src/WorkerInPath.h"
00004 
00005 namespace edm {
00006   WorkerInPath::WorkerInPath(Worker* w, FilterAction theFilterAction):
00007     stopwatch_(),
00008     timesVisited_(),
00009     timesPassed_(),
00010     timesFailed_(),
00011     timesExcept_(),
00012     filterAction_(theFilterAction),
00013     worker_(w)
00014   {
00015   }
00016 
00017   WorkerInPath::WorkerInPath(Worker* w):
00018     stopwatch_(new RunStopwatch::StopwatchPointer::element_type),
00019     timesVisited_(),
00020     timesPassed_(),
00021     timesFailed_(),
00022     timesExcept_(),
00023     filterAction_(Normal),
00024     worker_(w)
00025   {
00026   }
00027    
00028    void 
00029    WorkerInPath::useStopwatch() {
00030       stopwatch_.reset(new RunStopwatch::StopwatchPointer::element_type);
00031    }
00032 
00033 
00034 }