Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-12-21 18:14:15 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-21 18:33:22 +0300
commit885bb5b137b5ea71869b741e6ee7acc1602ab5c6 (patch)
treec2f6170e2540106681a265a1aeab8b6dab622100 /source/blender/depsgraph/DEG_depsgraph_debug.h
parentd988eae6f983c5ac148786689f75b95c4fa16dee (diff)
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.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_debug.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph_debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_debug.h b/source/blender/depsgraph/DEG_depsgraph_debug.h
index e920e34dad3..bc93fcc94cb 100644
--- a/source/blender/depsgraph/DEG_depsgraph_debug.h
+++ b/source/blender/depsgraph/DEG_depsgraph_debug.h
@@ -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. */