cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
TimeKeeper.h File Reference
#include <string>
#include <unordered_map>
#include <vector>
#include "CepGen/Utils/Timer.h"
+ Include dependency graph for TimeKeeper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TimeKeeper
 Collection of clocks to benchmark execution blocks. More...
 
class  TimeKeeper::Ticker
 Scoped timekeeping utility. More...
 

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::utils
 Collection of utilities.
 

Macros

#define CG_CONCAT(a, b)   a##b
 
#define CG_TICKER_NAME(a, b)   CG_CONCAT(a, b)
 
#define CG_TICKER(tmr)   utils::TimeKeeper::Ticker CG_TICKER_NAME(ticker, __COUNTER__)(tmr, __PRETTY_FUNCTION__)
 

Macro Definition Documentation

◆ CG_CONCAT

#define CG_CONCAT (   a,
 
)    a##b

Definition at line 28 of file TimeKeeper.h.

◆ CG_TICKER

#define CG_TICKER (   tmr)    utils::TimeKeeper::Ticker CG_TICKER_NAME(ticker, __COUNTER__)(tmr, __PRETTY_FUNCTION__)

Definition at line 30 of file TimeKeeper.h.

◆ CG_TICKER_NAME

#define CG_TICKER_NAME (   a,
 
)    CG_CONCAT(a, b)

Definition at line 29 of file TimeKeeper.h.