185 |
185 |
186 averageTimeDecimal.AppendNum( averageTimeDecimalValue ); |
186 averageTimeDecimal.AppendNum( averageTimeDecimalValue ); |
187 |
187 |
188 if (totalTimeValue <= 0xFFFFFFFF) |
188 if (totalTimeValue <= 0xFFFFFFFF) |
189 { |
189 { |
|
190 //Define the ptr on stack to avoid compiling warnning for wiscw udeb |
|
191 TPtrC ptr( iDescription[index] ); |
190 WriteFormat( _L( "<PERFLOG>%S-%S, usage = %u, last time = %u.%S ms, total time = %u.%S ms, average time = %u.%S ms</PERFLOG>" ), |
192 WriteFormat( _L( "<PERFLOG>%S-%S, usage = %u, last time = %u.%S ms, total time = %u.%S ms, average time = %u.%S ms</PERFLOG>" ), |
191 iTitle, |
193 iTitle, |
192 &iDescription[index], |
194 &ptr, |
193 iTotalUsage[index], |
195 iTotalUsage[index], |
194 lastTimeValue, |
196 lastTimeValue, |
195 &lastTimeDecimal, |
197 &lastTimeDecimal, |
196 I64LOW(totalTimeValue), |
198 I64LOW(totalTimeValue), |
197 &totalTimeDecimal, |
199 &totalTimeDecimal, |
198 averageTimeValue, |
200 averageTimeValue, |
199 &averageTimeDecimal ); |
201 &averageTimeDecimal ); |
200 } |
202 } |
201 else |
203 else |
202 { |
204 { |
|
205 //Define the ptr on stack to avoid compiling warnning for wiscw udeb |
|
206 TPtrC ptr( iDescription[index] ); |
203 WriteFormat( _L( "<PERFLOG>%S-%S, usage = %u, last time = %u.%S ms, total time = %u%u.%S ms, average time = %u.%S ms</PERFLOG>" ), |
207 WriteFormat( _L( "<PERFLOG>%S-%S, usage = %u, last time = %u.%S ms, total time = %u%u.%S ms, average time = %u.%S ms</PERFLOG>" ), |
204 iTitle, |
208 iTitle, |
205 &iDescription[index], |
209 &ptr, |
206 iTotalUsage[index], |
210 iTotalUsage[index], |
207 lastTimeValue, |
211 lastTimeValue, |
208 &lastTimeDecimal, |
212 &lastTimeDecimal, |
209 I64HIGH(totalTimeValue), |
213 I64HIGH(totalTimeValue), |
210 I64LOW(totalTimeValue), |
214 I64LOW(totalTimeValue), |