--- a/kerneltest/e32test/system/d_mstim.cpp Wed Dec 23 11:43:31 2009 +0000
+++ b/kerneltest/e32test/system/d_mstim.cpp Thu Jan 07 13:38:45 2010 +0200
@@ -860,11 +860,16 @@
case RMsTim::EControlGetInfo:
{
SMsTimerInfo info;
- info.iMin=TicksToMicroseconds(m.iMin);
- info.iMax=TicksToMicroseconds(m.iMax);
info.iCount=m.iCount;
Int64 avg=m.iTotal/m.iCount;
info.iAvg=TicksToMicroseconds((TInt)avg);
+#ifdef __SMP__
+ info.iMin=info.iAvg;
+ info.iMax=info.iAvg;
+#else
+ info.iMin=TicksToMicroseconds(m.iMin);
+ info.iMax=TicksToMicroseconds(m.iMax);
+#endif
r=Kern::ThreadRawWrite(iThread,a2,&info,sizeof(info));
break;