Runtime > Debug Runtime > The Kernel > The Cicode Profiler

The Cicode Profiler

The Cicode Profiler lets you gather information on how Cicode is performing in your project. This information includes the name of the function, the number of times the function was called (including from inside other functions), and the percentage of time the function took up during the profile period.

A high time and percentage value may indicate the Cicode function (and Cicode functions that may also call it) need to be reviewed and optimized.

Note: Contact Schneider Electric Customer Support for assistance with optimizing your Cicode functions and those functions belonging to system include projects.

The information is presented in the following:

To activate the Cicode Profiler, you can do one of the following:

  1. Use the 'Profile' Kernel command (see Kernel Command Reference).
  2. Define type 4 when using Cicode function CodeSetMode
  3. Set the INI parameter [Code]ProfileEnabled. Refer to the Parameters help for more information.

See Also

Published June 2018