Get CPU Usage--- The Updates
The dino image is by Azul Karel from Pixabay (Image 6208027)

Get CPU Usage--- The Updates

So…?

I wrote the initial Get CPU Routine and got some feedback.? (See my prior writing for the link to that video).


Two of the suggestions were:?

A> Remove the SaveArea Logic from the routine because the SaveArea is not used which will improve the performance.?

B> David Staudacher wrote a version that used the Extract CPU Time instruction. ? Which the manual states is faster.?

I thought it would be interesting to see how much faster those routines were.?

Speed Testing 3 Get CPU Usage Routines

The video above, is using the Get CPU Usage routines to measure themselves.?


Also, I figured out why the original routine which was named CPUTIME would NOT work when invoked statically. (Hint: I got a suggestion on where to look).? I did the following video to explain what I did wrong:? Why Static Call to CPUTIME Got Invalid Results

要查看或添加评论,请登录

Chris P. Fried的更多文章

  • Spaces Converted to Zeros in COBOL

    Spaces Converted to Zeros in COBOL

    Several times during my z/OS career, I had to explain how SPACES in a zoned-decimal field could be treated as zeros by…

    1 条评论
  • To DYNAM or Not to DYNAM

    To DYNAM or Not to DYNAM

    It is my opinion that Dynamic calls are easier to work with than static calls. I have a preference for using the CALL…

  • How to Measure CPU Usage

    How to Measure CPU Usage

    I wanted a way to measure the impact of coding a piece of code multiple different ways. Just how much slower is adding…

    5 条评论

社区洞察

其他会员也浏览了