Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

On the slides in the PROFILER presentation, the statistics for the two END statements are different. Why is that?

0
Posted

On the slides in the PROFILER presentation, the statistics for the two END statements are different. Why is that?

0

END statements may show variation in CPU times because activities that occur during the execution of an END statement are very complicated. The time an END statement takes depends on activities that are external to the program, such as NATURAL housekeeping activities, including popping stacks and restructuring/relocating local data areas, and NATURAL Buffer Pool activities, such as searching for the next program, loading the next program, and initializing the next program. PROFILER does not stop measuring CPU time for the END statement until the first executable statement of the next program is encountered.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123