CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Typedefs | Functions
FastTimerService.cc File Reference
#include <cmath>
#include <limits>
#include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <unordered_set>
#include <unordered_map>
#include <boost/format.hpp>
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/Framework/interface/TriggerNamesService.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Common/interface/HLTPathStatus.h"
#include "DataFormats/Provenance/interface/EventID.h"
#include "DataFormats/Provenance/interface/Timestamp.h"
#include "DataFormats/Provenance/interface/ModuleDescription.h"
#include "DataFormats/Scalers/interface/LumiScalers.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "HLTrigger/Timer/interface/FastTimerService.h"
#include "HLTrigger/Timer/interface/CPUAffinity.h"

Go to the source code of this file.

Macros

#define CLOCK_MONOTONIC   1
 
#define CLOCK_PROCESS_CPUTIME_ID   2
 
#define CLOCK_REALTIME   0
 
#define CLOCK_THREAD_CPUTIME_ID   3
 

Typedefs

typedef int clockid_t
 

Functions

static void fill_dups (std::vector< std::string > &dups, unsigned int size)
 

Macro Definition Documentation

#define CLOCK_MONOTONIC   1

Definition at line 11 of file FastTimerService.cc.

#define CLOCK_PROCESS_CPUTIME_ID   2

Definition at line 12 of file FastTimerService.cc.

#define CLOCK_REALTIME   0
#define CLOCK_THREAD_CPUTIME_ID   3

Definition at line 13 of file FastTimerService.cc.

Typedef Documentation

typedef int clockid_t

Definition at line 9 of file FastTimerService.cc.

Function Documentation

static void fill_dups ( std::vector< std::string > &  dups,
unsigned int  size 
)
static

Definition at line 52 of file FastTimerService.cc.

References cfg-viewer::format(), i, and findQualityFiles::size.

Referenced by FastTimerService::preBeginRun().

52  {
53  dups.reserve(size);
54  for (unsigned int i = dups.size(); i < size; ++i)
55  dups.push_back( (boost::format("(dup.) (%d)") % i).str() );
56 }
int i
Definition: DBlmapReader.cc:9
tuple size
Write out results.