Depsgraph: Bring timing statistics to the new dependency graph

This statistics is only collected when debug_value is different from 0.

Stored in depsgraph node itself, so we can always have access to average data
and other stats which requires persistent storage. This way we also don't waste
time trying to find stats from a separately stored hash map.
This commit is contained in:
2017-12-21 16:14:15 +01:00
parent d988eae6f9
commit 885bb5b137
9 changed files with 333 additions and 9 deletions

View File

@@ -55,6 +55,11 @@ void DEG_debug_relations_graphviz(const struct Depsgraph *graph,
FILE *stream,
const char *label);
void DEG_debug_stats_gnuplot(const struct Depsgraph *graph,
FILE *stream,
const char *label,
const char *output_filename);
/* ************************************************ */
/* Compare two dependency graphs. */