Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
McEngineStats Struct Reference

#include <qle/pricingengines/mcmultilegbaseengine.hpp>

+ Inheritance diagram for McEngineStats:
+ Collaboration diagram for McEngineStats:

Public Member Functions

 McEngineStats ()
 
void reset ()
 

Public Attributes

boost::timer::cpu_timer other_timer
 
boost::timer::cpu_timer path_timer
 
boost::timer::cpu_timer calc_timer
 

Detailed Description

Definition at line 40 of file mcmultilegbaseengine.hpp.

Constructor & Destructor Documentation

◆ McEngineStats()

Definition at line 41 of file mcmultilegbaseengine.hpp.

41 {
42 other_timer.start();
43 other_timer.stop();
44 path_timer.stop();
45 path_timer.start();
46 calc_timer.start();
47 calc_timer.stop();
48 }
boost::timer::cpu_timer calc_timer
boost::timer::cpu_timer path_timer
boost::timer::cpu_timer other_timer

Member Function Documentation

◆ reset()

void reset ( )

Definition at line 50 of file mcmultilegbaseengine.hpp.

50 {
51 other_timer.stop();
52 path_timer.stop();
53 calc_timer.stop();
54 }

Member Data Documentation

◆ other_timer

boost::timer::cpu_timer other_timer

Definition at line 56 of file mcmultilegbaseengine.hpp.

◆ path_timer

boost::timer::cpu_timer path_timer

Definition at line 57 of file mcmultilegbaseengine.hpp.

◆ calc_timer

boost::timer::cpu_timer calc_timer

Definition at line 58 of file mcmultilegbaseengine.hpp.