profiler help

chefsride

Member
I have it set up so I can run profiler but what I am trying to do now is that each time I run profiler I want it to change the description and filename each time I run the profiler for a particular program. What I am really looking for is each time I run it to go and look in a specific folder to see if there are any .out files. In this case the .out files will be called test 1.out test 2.out and so. So when I run the program the third time it will look in this directory and know that the last .out file was called test 2 and create a new .out file called test 3. I am new to progress and just started using profiler. Can anyone give me any suggestions to how I might go about this problem.
 
There is an undocumented handle PROFILER in progress 9.1D and documented in 10 for profiling:

profiler:directory
profiler:file-name
profiler:enabled
profiler:trace-filter
profiler:listings

These are some of the attributes that you can access, search the knowledge base or check out the $DLC/src/samples/profiler directory for the profiler viewer and examples of starting and stopping the profiler during a running process.

William.
 
Back
Top