Promom

mfguser

New Member
Hi all,

I am executing a report in MFGPRO that is taking a lot time to execute.
I am doing the analysis in the direction of code analysis
It has lot on called .p and .i.

Is there a way in progress to list/track how much time is spend by the report on the called programs, which program loop is taking a lot of time.

Can PROMON help me in this, if so how does this function.

Any help is higly appreciated.

Thanks & Regards,
 
Start a session with -yx then you get output which gives you exactly this.
If the session ends then a file called proc.mon is save in your workdir.
Maybe also an idea to use the profiler. Which does the same, but gives you information on code level as well.
Look for profiler in the samples.

Regards,

Casper.
 
If you are running 10.1C or better ProTop can show you the stack trace.

Otherwise I would suggest the profiler as the next best option. Profiler data will show you where the time is going in your program on a program by program and line by line basis. Investigating Suspicious Code goes into one approach for easily using the Profiler. There is also a GUI tool and some documentation included in the $DLC samples directory.
 
IMO, -yx is instantly usable and understandable and immensely helpful. Add it to the startup, run your thing, look at PROC.MON, problem solved, most likely.

The Profiler is even more helpful (goes to the level of individual lines); but far less instantly usable and understandable.
 
Back
Top