[Bf-blender-cvs] [dfd3b8f26ff] profiler-editor: add global variable

Jacques Lucke noreply at git.blender.org
Thu Apr 29 11:30:46 CEST 2021


Commit: dfd3b8f26ff524628b51b6c18075f8578b6f8406
Author: Jacques Lucke
Date:   Mon Apr 26 17:54:21 2021 +0200
Branches: profiler-editor
https://developer.blender.org/rBdfd3b8f26ff524628b51b6c18075f8578b6f8406

add global variable

===================================================================

M	source/blender/blenlib/intern/profile.cc

===================================================================

diff --git a/source/blender/blenlib/intern/profile.cc b/source/blender/blenlib/intern/profile.cc
index ad42435ec4d..e9f409c8649 100644
--- a/source/blender/blenlib/intern/profile.cc
+++ b/source/blender/blenlib/intern/profile.cc
@@ -35,6 +35,7 @@ static RawVector<ProfileTaskBegin> recorded_task_begins;
 static RawVector<ProfileTaskEnd> recorded_task_ends;
 static thread_local RawStack<uint64_t> threadlocal_id_stack;
 static thread_local uint64_t threadlocal_thread_id = get_unique_session_id();
+bool bli_profiling_is_enabled = false;
 
 namespace blender::profile {



More information about the Bf-blender-cvs mailing list