>        CPU:    0 HR  00 MIN  17.17 SEC    SRB:    0 HR  00 MIN  01.86 SEC 

>  dblwd1 at this point is 00000000 B57E2F00


I found an old POPS on the internet and a comment for the STCK instruction says 
bit 31 represents 1.048576 seconds. Since bit 31 is 0 (first fullword), When 
TIMEUSED is executed for current TCB, less than 1 second cpu time is used.

>>>>> CPUTIME at this point is 74  Which doesn't really 
>>>>> make any sense to me as I would expect it to be  somewhere around 17.


Your conversion is wrong and needs to be modified but this TCB is using less 
than 1 second. The wrong TCB is active when the TIMEUSED is executed. You need 
to look for another method to get the CPU time.

Jon.


  

Reply via email to