MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to get the CPU time of a block of Assembler code?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mkusamy
Beginner


Joined: 07 Nov 2008
Posts: 9
Topics: 6

PostPosted: Thu Dec 04, 2008 10:43 am    Post subject: How to get the CPU time of a block of Assembler code? Reply with quote

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
View user's profile Send private message Send e-mail
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 315
Topics: 49
Location: Germany

PostPosted: Fri Dec 05, 2008 3:28 am    Post subject: Reply with quote

Use macro TIMEUSED.

regards,
bauer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group