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 

assembler routine for CPU time

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


Joined: 04 Nov 2003
Posts: 22
Topics: 15

PostPosted: Thu Jun 10, 2004 7:16 am    Post subject: assembler routine for CPU time Reply with quote

Need some help on assembler routine.

We have a a transaction ( in IMS environment). This transaction involves around 20-25 programs, and each program has around 25-30 paragraphs.
Now we are going to add the DISPLAY statements at the start and end of each paragraph. Once we run the transaction, then we need to collect the CPU time taken by each paragraph.

How to collect the CPU statistics for each para, using assembler routines.

Or any idea on how we can capture the CPU statistics for each para.

Thanks in advance
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Sat Jun 19, 2004 3:29 am    Post subject: Reply with quote

Hi nivedita,

pls check the ibm assember documentation, using assember macro TIMEUSED.

Using this assembler routine you can get the cpu time since start of task.

Other possibility: MVS Control Blocks, but I'm not sure about the correct controlblock / field. I have to check the dokumentation.

Pls let me know, if PL/1 sample for macro TIMEUSED is helpful. But I think, you need cobol sample ?!



regards,
bauer
Back to top
View user's profile Send private message
nivedita
Beginner


Joined: 04 Nov 2003
Posts: 22
Topics: 15

PostPosted: Sun Jun 20, 2004 10:52 pm    Post subject: Reply with quote

Yes, I need COBOL sample... But I got some assembler routine which can be called from cobol application...

Thanks for your help... your suggestion helped me out....

Once again thanks.

Nivedita
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