CPU_USAGE_REPORT() Problem

Nasim Zehra nasimz at lums.edu.pk
Fri Jul 17 07:03:41 UTC 2009


Hi,
  i am having five tasks and i want cpu usage report table.
just after five tasks creation ,i am having table like that
 ID        NAME     SECONDS   PERCENT
0x09010001   IDLE     0.000000    0.000
0x0A010001   UI1      0.001260  100.000
0x0A010002   TA1      0.000000    0.000
0x0A010003   TA2      0.000000    0.000
0x0A010004   TA3      0.000000    0.000
0x0A010005   TA4      0.000000    0.000
0x0A010006   TA5      0.000000    0.000

----OK bcz idle is by defaul..rest of having 0 exec time..good......But don't know what UI1 is ??????

ok then after execution of all the tasks i am having table like that

ID        NAME     SECONDS   PERCENT
0x09010001   IDLE     0.000000    0.000
0x0A010001   UI1      0.000787    0.024
0x0A010002   TA1      2.216917   70.157
0x0A010004   TA3      0.001027    0.032
0x0A010006   TA5      0.000000    0.000

--still made at UI1..what is it? and where TA2 AND TA4 have gone?????
although i  tried to solve this problem by defining array of task name and id of size 7 instead of five.I know it is ridiculus to do this...it should have no effect on this problem.any solution?


nasim


More information about the users mailing list