kerneltest/e32test/system/d_mstim.cpp
changeset 44 36bfc973b146
parent 43 96e5fb8b040d
--- a/kerneltest/e32test/system/d_mstim.cpp	Thu Dec 17 09:24:54 2009 +0200
+++ 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;