CMS 3D CMS Logo

Defines | Typedefs | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/HLTrigger/Timer/src/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.

Defines

#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)

Define 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().

                                                               {
  dups.reserve(size);
  for (unsigned int i = dups.size(); i < size; ++i)
    dups.push_back( (boost::format("(dup.) (%d)") % i).str() );
}