MADNESS 0.10.1
timer.h
Go to the documentation of this file.
1// Copyright 2021 Adrian Hurtado
2#ifndef SRC_APPS_MOLRESPONSE_TIMER_H_
3#define SRC_APPS_MOLRESPONSE_TIMER_H_
4
5#include <vector>
6
7#include "madness/mra/mra.h"
8// Needed for timers
9namespace molresponse {
10double pop(std::vector<double>& v);
11// Pulled from SCF.cc, starts a timer
12static std::vector<double> ttt, sss;
13void start_timer(madness::World& world);
14
15// Stops a timer
16void end_timer(madness::World& world, const char* msg);
17
18void end_timer(madness::World& world, const char* msg, const std::string& key,
19 std::map<std::string, std::pair<double, double>>& time);
20
21} // namespace molresponse
22
23#endif // SRC_APPS_MOLRESPONSE_TIMER_H_
A parallel world class.
Definition world.h:132
static const double v
Definition hatom_sf_dirac.cc:20
Main include file for MADNESS and defines Function interface.
Definition apps/molresponse/testing/write_test_input.h:13
void start_timer(madness::World &world)
Definition timer.cc:17
static std::vector< double > sss
Definition timer.h:12
double pop(std::vector< double > &v)
Definition timer.cc:11
void end_timer(madness::World &world, const char *msg)
Definition timer.cc:23
static std::vector< double > ttt
Definition timer.h:12