diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-12 19:01:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-03-12 19:01:02 +0300 |
commit | a752bc148e8704d594cf532074ecd3641061d0f2 (patch) | |
tree | 0de4d02a67e00fa8ada76c250e8a4da3c1d11ce8 /source/blender/blenkernel/BKE_global.h | |
parent | 815852e9503e27f98cd17f589e1a29af2319f936 (diff) |
Depsgraph: Make timing profile a command line option
This way we can add even more statistics, even one which will be print
to the console.
Would be nice if we also have verbosity level control.
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r-- | source/blender/blenkernel/BKE_global.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index f3d44164b1e..04b80cd34d4 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -125,12 +125,16 @@ enum { G_DEBUG_DEPSGRAPH_BUILD = (1 << 8), /* depsgraph construction messages */ G_DEBUG_DEPSGRAPH_EVAL = (1 << 9), /* depsgraph evaluation messages */ G_DEBUG_DEPSGRAPH_TAG = (1 << 10), /* depsgraph tagging messages */ - G_DEBUG_DEPSGRAPH_NO_THREADS = (1 << 11), /* single threaded depsgraph */ - G_DEBUG_DEPSGRAPH = (G_DEBUG_DEPSGRAPH_BUILD | G_DEBUG_DEPSGRAPH_EVAL | G_DEBUG_DEPSGRAPH_TAG), - G_DEBUG_SIMDATA = (1 << 12), /* sim debug data display */ - G_DEBUG_GPU_MEM = (1 << 13), /* gpu memory in status bar */ - G_DEBUG_GPU = (1 << 14), /* gpu debug */ - G_DEBUG_IO = (1 << 15), /* IO Debugging (for Collada, ...)*/ + G_DEBUG_DEPSGRAPH_TIME = (1 << 11), /* single threaded depsgraph */ + G_DEBUG_DEPSGRAPH_NO_THREADS = (1 << 12), /* single threaded depsgraph */ + G_DEBUG_DEPSGRAPH = (G_DEBUG_DEPSGRAPH_BUILD | + G_DEBUG_DEPSGRAPH_EVAL | + G_DEBUG_DEPSGRAPH_TAG | + G_DEBUG_DEPSGRAPH_TIME), + G_DEBUG_SIMDATA = (1 << 13), /* sim debug data display */ + G_DEBUG_GPU_MEM = (1 << 14), /* gpu memory in status bar */ + G_DEBUG_GPU = (1 << 15), /* gpu debug */ + G_DEBUG_IO = (1 << 16), /* IO Debugging (for Collada, ...)*/ }; #define G_DEBUG_ALL (G_DEBUG | G_DEBUG_FFMPEG | G_DEBUG_PYTHON | G_DEBUG_EVENTS | G_DEBUG_WM | G_DEBUG_JOBS | \ |