From: Bowon Ryu Date: Wed, 15 Mar 2023 11:02:05 +0000 (+0900) Subject: Add trace log to check text performance X-Git-Tag: dali_2.2.19~10 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=commitdiff_plain;h=fff10a9ef11e606e67fe12c366dae5741937ff37 Add trace log to check text performance Change-Id: Id001ff9d537794c8f1a0fce125d71be6566378b2 Signed-off-by: Bowon Ryu --- diff --git a/dali-toolkit/internal/text/multi-language-support-impl.cpp b/dali-toolkit/internal/text/multi-language-support-impl.cpp index 2ba2793..79de1e1 100644 --- a/dali-toolkit/internal/text/multi-language-support-impl.cpp +++ b/dali-toolkit/internal/text/multi-language-support-impl.cpp @@ -22,6 +22,7 @@ #include #include #include +#include // INTERNAL INCLUDES #include @@ -37,6 +38,8 @@ namespace Debug::Filter* gLogFilter = Debug::Filter::New(Debug::NoLogging, true, "LOG_MULTI_LANGUAGE_SUPPORT"); #endif +DALI_INIT_TRACE_FILTER(gTraceFilter, DALI_TRACE_FONT_PERFORMANCE_MARKER, false); + const Dali::Toolkit::Text::Character UTF32_A = 0x0041; } // namespace @@ -423,6 +426,8 @@ void MultilanguageSupport::ValidateFonts(const Vector& return; } + DALI_TRACE_SCOPE(gTraceFilter, "DALI_TEXT_FONTS_VALIDATE"); + // Find the first index where to insert the font run. FontRunIndex fontIndex = 0u; if(0u != startIndex)