occ
Loading...
Searching...
No Matches
occ::timing Namespace Reference

routines for global timers, timers of sections and more More...

Classes

class  StopWatch
 

Typedefs

using duration_t = std::chrono::duration< double >
 
using clock_t = std::chrono::high_resolution_clock
 
using time_point_t = std::chrono::time_point< clock_t >
 

Enumerations

enum  category {
  ints1e , ints4c2e , ints3c2e , io ,
  la , guess , mo , cube_evaluation ,
  diis , grid_init , grid_points , dft_xc ,
  dft , dft_nlc , xc_func_init , xc_func_end ,
  rho , gto , fock , jkmat ,
  jmat , df , gto_dist , gto_mask ,
  gto_shell , gto_s , gto_p , gto_gen ,
  ecp , assoc_legendre , fft , xdm ,
  solvent , isosurface_function , isosurface_normals , isosurface_properties ,
  mc_octree , mc_primal , mc_surface , global ,
  _group_count
}
 

Functions

time_point_t start (category cat)
 
duration_t stop (category cat)
 
double total (category cat)
 
void clear_all ()
 
const char * category_name (category)
 
void print_timings ()
 

Detailed Description

routines for global timers, timers of sections and more

Typedef Documentation

◆ clock_t

using occ::timing::clock_t = typedef std::chrono::high_resolution_clock

◆ duration_t

using occ::timing::duration_t = typedef std::chrono::duration<double>

◆ time_point_t

using occ::timing::time_point_t = typedef std::chrono::time_point<clock_t>

Enumeration Type Documentation

◆ category

Enumerator
ints1e 
ints4c2e 
ints3c2e 
io 
la 
guess 
mo 
cube_evaluation 
diis 
grid_init 
grid_points 
dft_xc 
dft 
dft_nlc 
xc_func_init 
xc_func_end 
rho 
gto 
fock 
jkmat 
jmat 
df 
gto_dist 
gto_mask 
gto_shell 
gto_s 
gto_p 
gto_gen 
ecp 
assoc_legendre 
fft 
xdm 
solvent 
isosurface_function 
isosurface_normals 
isosurface_properties 
mc_octree 
mc_primal 
mc_surface 
global 
_group_count 

Function Documentation

◆ category_name()

const char * occ::timing::category_name ( category  )

◆ clear_all()

void occ::timing::clear_all ( )

◆ print_timings()

void occ::timing::print_timings ( )

◆ start()

time_point_t occ::timing::start ( category  cat)

◆ stop()

duration_t occ::timing::stop ( category  cat)

◆ total()

double occ::timing::total ( category  cat)