Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4QSS_CustomStats.hh File Reference
#include <time.h>
#include "G4qss_misc.hh"
#include "G4Types.hh"
#include <atomic>

Go to the source code of this file.

Classes

struct  QSSStats
 

Macros

#define GET_TIME(t0)
 
#define TIME_SECS(t0, t1)
 

Macro Definition Documentation

◆ GET_TIME

#define GET_TIME ( t0)
Value:
(clock_gettime(CLOCK_MONOTONIC, &t0))

Definition at line 37 of file G4QSS_CustomStats.hh.

◆ TIME_SECS

#define TIME_SECS ( t0,
t1 )
Value:
((t1.tv_sec - t0.tv_sec) + (t1.tv_nsec - t0.tv_nsec) / 1e9)

Definition at line 38 of file G4QSS_CustomStats.hh.