diff options
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_debug.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_debug.h | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_debug.h b/source/blender/depsgraph/DEG_depsgraph_debug.h index 0d19b8e1e97..63ebe21d073 100644 --- a/source/blender/depsgraph/DEG_depsgraph_debug.h +++ b/source/blender/depsgraph/DEG_depsgraph_debug.h @@ -39,45 +39,11 @@ extern "C" { #endif -struct GHash; -struct ID; - struct Depsgraph; -/* ************************************************ */ -/* Statistics */ - -typedef struct DepsgraphStatsTimes { - float duration_last; -} DepsgraphStatsTimes; - -typedef struct DepsgraphStatsComponent { - struct DepsgraphStatsComponent *next, *prev; - - char name[64]; - DepsgraphStatsTimes times; -} DepsgraphStatsComponent; - -typedef struct DepsgraphStatsID { - struct ID *id; - - DepsgraphStatsTimes times; - ListBase components; -} DepsgraphStatsID; - -typedef struct DepsgraphStats { - struct GHash *id_stats; -} DepsgraphStats; - -struct DepsgraphStats *DEG_stats(void); - -void DEG_stats_verify(void); - -struct DepsgraphStatsID *DEG_stats_id(struct ID *id); - /* ------------------------------------------------ */ -void DEG_stats_simple(const struct Depsgraph *graph, +void DEG_stats_simple(const struct Depsgraph *graph, size_t *r_outer, size_t *r_operations, size_t *r_relations); |