ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTimer.h File Reference

high precision timer More...

#include <unistd.h>
#include <exception>
#include <iostream>
#include <string>
#include <sstream>
+ Include dependency graph for PHTimer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PHTimer
 
class  PHTimer::Frequency
 internal frequency read from cpu information file More...
 
struct  PHTimer::time_struct
 used to store high precision time using two integers More...
 

Macros

#define rdtsc(low, high)
 

Detailed Description

high precision timer

Author
Sean Kelly, Hugo Pereira
Version
Revision:
1.6
Date
Date:
2013/01/07 09:27:01

Definition in file PHTimer.h.

Macro Definition Documentation

#define rdtsc (   low,
  high 
)
Value:
__asm__ __volatile__("rdtsc" \
: "=a"(low), "=d"(high))

Definition at line 18 of file PHTimer.h.

View newest version in sPHENIX GitHub at line 18 of file PHTimer.h

Referenced by PHTimer::get_clock_counts().