Depsgraph: Bring timing statistics to the new dependency graph
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Dec 2017 15:14:15 +0000 (16:14 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Dec 2017 15:33:22 +0000 (16:33 +0100)
commit885bb5b137b5ea71869b741e6ee7acc1602ab5c6
treec2f6170e2540106681a265a1aeab8b6dab622100
parentd988eae6f983c5ac148786689f75b95c4fa16dee
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.
source/blender/depsgraph/CMakeLists.txt
source/blender/depsgraph/DEG_depsgraph_debug.h
source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc [new file with mode: 0644]
source/blender/depsgraph/intern/eval/deg_eval.cc
source/blender/depsgraph/intern/eval/deg_eval_stats.cc [new file with mode: 0644]
source/blender/depsgraph/intern/eval/deg_eval_stats.h [new file with mode: 0644]
source/blender/depsgraph/intern/nodes/deg_node.cc
source/blender/depsgraph/intern/nodes/deg_node.h
source/blender/makesrna/intern/rna_depsgraph.c