projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Trace use scope macro instead of begin-end
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
adaptor
/
common
/
adaptor-impl.cpp
diff --git
a/dali/internal/adaptor/common/adaptor-impl.cpp
b/dali/internal/adaptor/common/adaptor-impl.cpp
index
b7de74f
..
1ab6e70
100644
(file)
--- a/
dali/internal/adaptor/common/adaptor-impl.cpp
+++ b/
dali/internal/adaptor/common/adaptor-impl.cpp
@@
-917,17
+917,15
@@
void Adaptor::ProcessCoreEvents()
{
if(mCore)
{
{
if(mCore)
{
+ DALI_TRACE_SCOPE(gTraceFilter, "DALI_PROCESS_CORE_EVENTS");
+
if(mPerformanceInterface)
{
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_START);
}
if(mPerformanceInterface)
{
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_START);
}
- DALI_TRACE_BEGIN(gTraceFilter, "DALI_PROCESS_CORE_EVENTS");
-
mCore->ProcessEvents();
mCore->ProcessEvents();
- DALI_TRACE_END(gTraceFilter, "DALI_PROCESS_CORE_EVENTS");
-
if(mPerformanceInterface)
{
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_END);
if(mPerformanceInterface)
{
mPerformanceInterface->AddMarker(PerformanceInterface::PROCESS_EVENTS_END);