13 #include "sigc++/signal.h" 32 #define CLOCK_REALTIME 0 33 #define CLOCK_MONOTONIC 1 34 #define CLOCK_PROCESS_CPUTIME_ID 2 35 #define CLOCK_THREAD_CPUTIME_ID 3 57 clock_gettime(timer_, &
start_);
63 clock_gettime(timer_, & stop_);
69 if (stop_.tv_nsec >
start_.tv_nsec)
70 return (
double) (stop_.tv_sec -
start_.tv_sec) + (
double) (stop_.tv_nsec -
start_.tv_nsec) / (
double) 1e9;
72 return (
double) (stop_.tv_sec -
start_.tv_sec) - (
double) (
start_.tv_nsec - stop_.tv_nsec) / (
double) 1e9;
109 #endif // #define Timer_Service_
std::vector< l1t::Jet >::iterator start_
sigc::signal< void, const edm::ModuleDescription &, double > newMeasurementSignal
#define CLOCK_THREAD_CPUTIME_ID
void reset(double vett[256])