Blender
V3.3
|
#include <deg_debug.h>
Public Member Functions | |
DepsgraphDebug () | |
bool | do_time_debug () const |
void | begin_graph_evaluation () |
void | end_graph_evaluation () |
Public Attributes | |
int | flags |
string | name |
bool | is_ever_evaluated |
Protected Attributes | |
double | graph_evaluation_start_time_ |
AveragedTimeSampler< MAX_FPS_COUNTERS > | fps_samples_ |
Static Protected Attributes | |
static constexpr const int | MAX_FPS_COUNTERS = 64 |
Definition at line 19 of file deg_debug.h.
blender::deg::DepsgraphDebug::DepsgraphDebug | ( | ) |
Definition at line 21 of file deg_debug.cc.
void blender::deg::DepsgraphDebug::begin_graph_evaluation | ( | ) |
Definition at line 31 of file deg_debug.cc.
References blender::deg::AveragedTimeSampler< MaxSamples >::add_sample(), do_time_debug(), fps_samples_, graph_evaluation_start_time_, is_ever_evaluated, and PIL_check_seconds_timer().
Referenced by blender::deg::deg_evaluate_on_refresh().
bool blender::deg::DepsgraphDebug::do_time_debug | ( | ) | const |
Definition at line 26 of file deg_debug.cc.
References G, and G_DEBUG_DEPSGRAPH_TIME.
Referenced by begin_graph_evaluation(), blender::deg::deg_evaluate_on_refresh(), and end_graph_evaluation().
void blender::deg::DepsgraphDebug::end_graph_evaluation | ( | ) |
Definition at line 46 of file deg_debug.cc.
References do_time_debug(), fps_samples_, blender::deg::AveragedTimeSampler< MaxSamples >::get_averaged(), graph_evaluation_start_time_, is_ever_evaluated, and PIL_check_seconds_timer().
Referenced by blender::deg::deg_evaluate_on_refresh().
int blender::deg::DepsgraphDebug::flags |
Definition at line 29 of file deg_debug.h.
Referenced by DEG_debug_flags_get(), and DEG_debug_flags_set().
|
protected |
Definition at line 48 of file deg_debug.h.
Referenced by begin_graph_evaluation(), and end_graph_evaluation().
|
protected |
Definition at line 46 of file deg_debug.h.
Referenced by begin_graph_evaluation(), and end_graph_evaluation().
bool blender::deg::DepsgraphDebug::is_ever_evaluated |
Definition at line 37 of file deg_debug.h.
Referenced by begin_graph_evaluation(), and end_graph_evaluation().
|
staticconstexprprotected |
Definition at line 41 of file deg_debug.h.
string blender::deg::DepsgraphDebug::name |
Definition at line 33 of file deg_debug.h.
Referenced by DEG_debug_name_get(), and DEG_debug_name_set().