diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-10-09 17:38:05 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2015-10-09 17:38:05 +0000 |
commit | b401db6d739987508854ee26d674a66ca8cda673 (patch) | |
tree | cdf27fc0d9109f6c9301c15b1fba6e98236d0471 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 21a7f23666e7717fe2a1164de79b45dca4a443ef (diff) | |
download | bcm5719-llvm-b401db6d739987508854ee26d674a66ca8cda673.tar.gz bcm5719-llvm-b401db6d739987508854ee26d674a66ca8cda673.zip |
[OMPT] Initialize task fields only if needed
Because __kmp_task_init_ompt is called for every initial task in each thread
and always generated task ids, this was a big performance issue on bigger
systems even without any tool attached. After changing the initialization
interface to ompt_tool, we can now rely on already knowing whether a tool is
attached and OMPT is enabled at this point.
Patch by Jonas Hahnfeld
Differential Revision: http://reviews.llvm.org/D13494
llvm-svn: 249855
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions