Skip to content

Commit

Permalink
Updated profiler manual
Browse files Browse the repository at this point in the history
Removed all references to non-existent (obsolete?) measureTime input argument of the simulate() API function
  • Loading branch information
casella authored and adeas31 committed May 6, 2019
1 parent 5d4eef3 commit 3f37f1a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions UsersGuide/source/profiler.rst
Expand Up @@ -14,10 +14,9 @@ When running a simulation for performance analysis, execution times of
user-defined functions as well as linear, non-linear and mixed equation
systems are recorded.

To start a simulation in this mode, just use the measureTime flag of the
simulate command.

>>> simulate(modelname, measureTime = true)
To start a simulation in this mode, turn on profiling with the following
command line flag
>>> setCommandLineOptions("--profiling=all")

The generated report is in HTML format (with images in the SVG format),
stored in a file modelname\_prof.html, but the XML database and measured
Expand Down Expand Up @@ -46,7 +45,7 @@ Below we use the performance profiler on the simple model A:
der(y) = time;
end ProfilingTest;
We simulate as usual, but set measureTime=true to activate the profiling:
We simulate as usual, after setting the profiling flag:

.. omc-mos ::
Expand Down

0 comments on commit 3f37f1a

Please sign in to comment.