MADNESS  0.10.1
Namespaces | Functions

Wrappers around platform dependent timers and performance info. More...

#include <chrono>
#include <cstdint>
#include <ctime>
#include <sys/time.h>
#include <unistd.h>
#include <madness/madness_config.h>
Include dependency graph for timers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 madness
 File holds all helper structures necessary for the CC_Operator and CC2 class.
 

Functions

double madness::cpu_frequency ()
 Estimate the processor frequency, in Hz. More...
 
void madness::cpu_relax ()
 Do nothing and especially do not touch memory. More...
 
static double madness::cpu_time ()
 Returns the cpu time in seconds relative to an arbitrary origin. More...
 
static uint64_t madness::cycle_count ()
 On some machines we have access to a cycle count. More...
 
static void madness::myusleep (unsigned int us)
 Sleep or spin for specified number of microseconds. More...
 
double madness::wall_time ()
 Returns the wall time in seconds relative to an arbitrary origin. More...
 

Detailed Description

Wrappers around platform dependent timers and performance info.