ATLAS Offline Software
clock.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef CXXUTILS_CLOCK_H
17 #define CXXUTILS_CLOCK_H
18 
19 #if defined (__APPLE__) && __clang_major__ < 12
20 #include <time.h>
21 #define CLOCK_REALTIME 0
22 #define CLOCK_MONOTONIC 1
23 #define CLOCK_PROCESS_CPUTIME_ID 2
24 #define CLOCK_THREAD_CPUTIME_ID 3
25 
26 long clock_gettime (unsigned int which_clock, struct timespec *tp);
27 #endif
28 
29 #endif // not CXXUTILS_CLOCK_H
ParticleTest.tp
tp
Definition: ParticleTest.py:25
PerfMon::clock_gettime
struct timespec clock_gettime()
Definition: PerfMonEventDict.h:18