Blender
V3.3
|
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | DEG_debug_flags_set (struct Depsgraph *depsgraph, int flags) |
int | DEG_debug_flags_get (const struct Depsgraph *depsgraph) |
void | DEG_debug_name_set (struct Depsgraph *depsgraph, const char *name) |
const char * | DEG_debug_name_get (struct Depsgraph *depsgraph) |
void | DEG_stats_simple (const struct Depsgraph *graph, size_t *r_outer, size_t *r_operations, size_t *r_relations) |
void | DEG_debug_relations_graphviz (const struct Depsgraph *graph, FILE *fp, const char *label) |
void | DEG_debug_stats_gnuplot (const struct Depsgraph *graph, FILE *fp, const char *label, const char *output_filename) |
bool | DEG_debug_compare (const struct Depsgraph *graph1, const struct Depsgraph *graph2) |
bool | DEG_debug_graph_relations_validate (struct Depsgraph *graph, struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer) |
bool | DEG_debug_consistency_check (struct Depsgraph *graph) |
Public API for Querying and Filtering Depsgraph
Definition in file DEG_depsgraph_debug.h.
Compare two dependency graphs.
Definition at line 55 of file depsgraph_debug.cc.
References BLI_assert, blender::deg::Depsgraph::operations, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by DEG_debug_graph_relations_validate().
Perform consistency check on the graph.
Definition at line 90 of file depsgraph_debug.cc.
References BLI_assert, blender::deg::Relation::from, graph, blender::deg::Node::inlinks, node, blender::deg::OperationNode::num_links_pending, blender::deg::Depsgraph::operations, blender::deg::Node::outlinks, blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::deg::Relation::to, and blender::deg::Node::type.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
int DEG_debug_flags_get | ( | const struct Depsgraph * | depsgraph | ) |
Referenced by blender::deg::graph_id_tag_update().
Definition at line 31 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::flags.
bool DEG_debug_graph_relations_validate | ( | struct Depsgraph * | graph, |
struct Main * | bmain, | ||
struct Scene * | scene, | ||
struct ViewLayer * | view_layer | ||
) |
Check that dependencies in the graph are really up to date.
Definition at line 73 of file depsgraph_debug.cc.
References BLI_assert_msg, DEG_debug_compare(), DEG_get_mode(), DEG_graph_build_from_view_layer(), DEG_graph_free(), DEG_graph_new(), graph, and scene.
const char* DEG_debug_name_get | ( | struct Depsgraph * | depsgraph | ) |
Definition at line 49 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::name.
Referenced by depsgraph_name_for_logging().
Definition at line 43 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::name.
Referenced by engine_depsgraph_init(), render_init_depsgraph(), scene_ensure_depsgraph_p(), and seq_prefetch_init_depsgraph().
void DEG_debug_stats_gnuplot | ( | const struct Depsgraph * | graph, |
FILE * | fp, | ||
const char * | label, | ||
const char * | output_filename | ||
) |
void DEG_stats_simple | ( | const struct Depsgraph * | graph, |
size_t * | r_outer, | ||
size_t * | r_operations, | ||
size_t * | r_relations | ||
) |
Obtain simple statistics about the complexity of the depsgraph.
[out] | r_outer | The number of outer nodes in the graph. |
[out] | r_operations | The number of operation nodes in the graph. |
[out] | r_relations | The number of relations between (executable) nodes in the graph. |