MADNESS 0.10.1
|
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>
Go to the source code of this file.
Namespaces | |
namespace | madness |
Namespace for all elements and tools of MADNESS. | |
Functions | |
double | madness::cpu_frequency () |
Estimate the processor frequency, in Hz. | |
void | madness::cpu_relax () |
Do nothing and especially do not touch memory. | |
static double | madness::cpu_time () |
Returns the cpu time in seconds relative to an arbitrary origin. | |
static uint64_t | madness::cycle_count () |
On some machines we have access to a cycle count. | |
static void | madness::myusleep (unsigned int us) |
Sleep or spin for specified number of microseconds. | |
double | madness::wall_time () |
Returns the wall time in seconds relative to an arbitrary origin. | |
Wrappers around platform dependent timers and performance info.