void CProfiler::EndProfile() { CCntTest::ProfileEnd(0); TCntProfile profile[1]; CCntTest::ProfileResult(profile,0,1); _LIT(KProfileFormat,"Total %d.%03d sec (%d hits)\n"); RDebug::Print(KProfileFormat,profile[0].iTime/1000000, profile[0].iTime%1000000, profile[0].iCount); iLog->LogLine(KProfileFormat,profile[0].iTime/1000000, profile[0].iTime%1000000, profile[0].iCount); }