aboutsummaryrefslogtreecommitdiff
path: root/APEX_1.4/framework/src/ThreadPool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'APEX_1.4/framework/src/ThreadPool.cpp')
-rw-r--r--APEX_1.4/framework/src/ThreadPool.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/APEX_1.4/framework/src/ThreadPool.cpp b/APEX_1.4/framework/src/ThreadPool.cpp
index 96b74761..beee57ae 100644
--- a/APEX_1.4/framework/src/ThreadPool.cpp
+++ b/APEX_1.4/framework/src/ThreadPool.cpp
@@ -267,7 +267,8 @@ void CpuWorkerThread::execute()
#if PHYSX_PROFILE_SDK
if (mApexPvdClient!=NULL)
{
- task->runProfiled();
+ PX_PROFILE_ZONE(task->getName(), task->getContextId());
+ task->run();
}
else
{