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.

If PROFILER doesn insert “probes” into source code, how does it collect its information about program execution?

0
Posted

If PROFILER doesn insert “probes” into source code, how does it collect its information about program execution?

0

PROFILER attaches itself to the NATURAL Dispatcher. As each statement is executed, PROFILER will note the CPU time and statement number, then pass the statement on to NATURAL to be executed. When the next statement appears, PROFILER calculates the CPU time for the previous statement and notes the current statement information. Periodically, PROFILER stores the statistical information in an ADABAS file. This method allows PROFILER to monitor EVERY statement execution, not just a few, provides more accurate statistics, and does not require a single change to NATURAL source code.

What is your question?

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

Experts123