Automatic Differentiation
 
Loading...
Searching...
No Matches
stan::math::profile_info Class Reference

Detailed Description

Class used for storing profiling information.

Definition at line 21 of file profiling.hpp.

#include <profiling.hpp>

Public Member Functions

 profile_info ()
 
bool is_active () const noexcept
 
template<typename T >
void fwd_pass_start ()
 
template<typename T >
void fwd_pass_stop ()
 
void rev_pass_start ()
 
void rev_pass_stop ()
 
size_t get_chain_stack_used () const noexcept
 
size_t get_nochain_stack_used () const noexcept
 
size_t get_num_no_AD_fwd_passes () const noexcept
 
size_t get_num_AD_fwd_passes () const noexcept
 
size_t get_num_fwd_passes () const noexcept
 
double get_fwd_time () const noexcept
 
size_t get_num_rev_passes () const noexcept
 
double get_rev_time () const noexcept
 

Private Attributes

bool active_
 
double fwd_pass_time_
 
double rev_pass_time_
 
size_t n_fwd_AD_passes_
 
size_t n_fwd_no_AD_passes_
 
size_t n_rev_passes_
 
size_t chain_stack_size_sum_
 
size_t nochain_stack_size_sum_
 
std::chrono::time_point< std::chrono::steady_clock > fwd_pass_tp_
 
std::chrono::time_point< std::chrono::steady_clock > rev_pass_tp_
 
size_t start_chain_stack_size_
 
size_t start_nochain_stack_size_
 

The documentation for this class was generated from the following file: