View previous topic :: View next topic |
Author |
Message |
mkusamy Beginner
Joined: 07 Nov 2008 Posts: 9 Topics: 6
|
Posted: Thu Dec 04, 2008 10:43 am Post subject: How to get the CPU time of a block of Assembler code? |
|
|
Lets take, An assembler program contains 1000 lines of code and i need to get the actual CPU time taken for a block of lines from 200 to 600.
We shall use TIME/STCK at top and bottom of the block of code to get the system time and this time difference will give the Elapsed time but not the actual CPU time.
I believe, during execution, any program's CPU time is being maintained somewhere else.
Do we have any macro or SVC to get CPU time?
Thanks in advance!! |
|
Back to top |
|
|
bauer Intermediate
Joined: 10 Oct 2003 Posts: 315 Topics: 49 Location: Germany
|
Posted: Fri Dec 05, 2008 3:28 am Post subject: |
|
|
Use macro TIMEUSED.
regards,
bauer |
|
Back to top |
|
|
|
|