equal
deleted
inserted
replaced
858 m.iCompletionDfc.Cancel(); |
858 m.iCompletionDfc.Cancel(); |
859 break; |
859 break; |
860 case RMsTim::EControlGetInfo: |
860 case RMsTim::EControlGetInfo: |
861 { |
861 { |
862 SMsTimerInfo info; |
862 SMsTimerInfo info; |
863 info.iMin=TicksToMicroseconds(m.iMin); |
|
864 info.iMax=TicksToMicroseconds(m.iMax); |
|
865 info.iCount=m.iCount; |
863 info.iCount=m.iCount; |
866 Int64 avg=m.iTotal/m.iCount; |
864 Int64 avg=m.iTotal/m.iCount; |
867 info.iAvg=TicksToMicroseconds((TInt)avg); |
865 info.iAvg=TicksToMicroseconds((TInt)avg); |
|
866 #ifdef __SMP__ |
|
867 info.iMin=info.iAvg; |
|
868 info.iMax=info.iAvg; |
|
869 #else |
|
870 info.iMin=TicksToMicroseconds(m.iMin); |
|
871 info.iMax=TicksToMicroseconds(m.iMax); |
|
872 #endif |
868 |
873 |
869 r=Kern::ThreadRawWrite(iThread,a2,&info,sizeof(info)); |
874 r=Kern::ThreadRawWrite(iThread,a2,&info,sizeof(info)); |
870 break; |
875 break; |
871 } |
876 } |
872 case RMsTim::EControlBeginRandomTest: |
877 case RMsTim::EControlBeginRandomTest: |