Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
scoped_timer Class Reference

#include <time.h>

Public Member Functions

 scoped_timer (double *value=NULL)
 
 ~scoped_timer ()
 
double get_start () const
 
double get_time () const
 

Protected Attributes

doublevalue_
 
double time_start_
 

Detailed Description

Definition at line 22 of file time.h.

Constructor & Destructor Documentation

◆ scoped_timer()

scoped_timer::scoped_timer ( double value = NULL)
inlineexplicit

Definition at line 24 of file time.h.

References time_dt(), and time_start_.

◆ ~scoped_timer()

scoped_timer::~scoped_timer ( )
inline

Definition at line 29 of file time.h.

References get_time(), NULL, and value_.

Member Function Documentation

◆ get_start()

double scoped_timer::get_start ( ) const
inline

Definition at line 36 of file time.h.

References time_start_.

Referenced by Progress::add_skip_time().

◆ get_time()

double scoped_timer::get_time ( ) const
inline

Member Data Documentation

◆ time_start_

double scoped_timer::time_start_
protected

Definition at line 48 of file time.h.

Referenced by get_start(), get_time(), and scoped_timer().

◆ value_

double* scoped_timer::value_
protected

Definition at line 47 of file time.h.

Referenced by ~scoped_timer().


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