On Tue, 8 May 2012 08:33:18 -0500, K Zafirop <[email protected]> wrote:

>We would like to convert CPU seconds copnsumed by an address space in 1 hour 
>(CPUSECs) to Service Units (SU).


Here is how SHOWMVS calculates SU/Second:

*                                                                       
*        Service units per second (using RMCTADJC)                      
*                                                                       
*        Source: IRARMCPU module in SYS1.NUCLEUS(IEAVNP10)              
*                                                                       
HARD20   L     R6,WKCELL3              restore CPU no            RS0101 
         L     R3,=F'16000000'         16,000,000                       
         M     R2,=F'10000'            10K                              
         L     R14,CVTOPCTP            RESOURCE MANAGER CONTROL TABLE   
         D     R2,RMCTADJC-RMCT(,R14)  adjustment factor for CPU        
         CVD   R3,WKCELL3              R3=SU*10000                      
         MVC   WORK256(11),=X'4020202020214B20202020' 99999.9999        
         ED    WORK256(11),WKCELL3+3   EDIT                             
         STRING '  This system can deliver',(WORK256,11),              X
               ' service units per second',                            X
               INTO=LINE                                                

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to