Rule Builder > Debugging and Profiling > Profiling > Profiler Toolbar and Menu

To view the Profiler toolbar:

To hide the Profiler toolbar:

The Profiler toolbar contains two buttons as shown in Table 16.7:

Table 16.7   Profiler Toolbar Buttons
Button 
Purpose 

images/profileRules_buttona.png

To open the Profiler panels with the focus on the Rule Profiler panel. 

images/profileObjects_buttona.png

To open the Profiler panels with the focus on the Object Profiler panel. 

There is also a Profile menu in the Rule Builder menu bar.

Notes
By default, when you profile a rule application, the duration of an event is measured by comparing the result of the Java method System.currentTimeMillis between the event end time and its start time.

This is known to be inaccurate for the following reasons:

  • Time used by other processes that happen to occur during the event is counted.
  • Time spent in other threads in the same Java Virtual Machine is also counted.

You can use the ilog.rules.profiler.IlrProfilerManager.Clock interface to specify an alternative procedure for measuring time.

 public class IlrProfilerManager {
    public interface Clock {
        long getCurrentTimeMillis();
    }
    static public void setDefaultClock(Clock clock);
 }

For details refer to the Java API Reference Manual.

See Also

Profile Menu


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT