+
+#ifdef TRACE_ENABLED
+ if(gTraceFilter && gTraceFilter->IsTraceEnabled())
+ {
+ mEndTimeNanoSceonds = GetNanoseconds();
+ std::ostringstream oss;
+ oss << std::fixed << std::setprecision(3);
+ oss << "[";
+ oss << "d:" << static_cast<float>(mEndTimeNanoSceonds - mStartTimeNanoSceonds) / 1000000.0f << "ms ";
+ oss << "m:" << isMaskTask << " ";
+ oss << "i:" << frameIndex << " ";
+ oss << "b:" << pixelBuffers.size() << " ";
+ if(!pixelBuffers.empty())
+ {
+ oss << "s:" << pixelBuffers[0].GetWidth() << "x" << pixelBuffers[0].GetHeight() << " ";
+ oss << "p:" << pixelBuffers[0].IsAlphaPreMultiplied() << " ";
+ }
+ oss << "u:" << (!!(animatedImageLoading) ? animatedImageLoading.GetUrl() : url.GetEllipsedUrl()) << "]";
+ // DALI_TRACE_END(gTraceFilter, "DALI_IMAGE_LOADING_TASK"); ///< TODO : Open it if we can control trace log level
+ DALI_LOG_RELEASE_INFO("END: DALI_IMAGE_LOADING_TASK %s", oss.str().c_str());
+ }
+#endif