Skip to content

Commit

Permalink
Disable profiling report
Browse files Browse the repository at this point in the history
The profiling report is currently broken (something changed in the
tools converting the markup; SVGs in pdflatex).
  • Loading branch information
sjoelund committed Feb 2, 2016
1 parent 65a2e7c commit 7af6b51
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions UsersGuide/source/profiler.rst
Expand Up @@ -53,18 +53,23 @@ We simulate as usual, but set measureTime=true to activate the profiling:
setCommandLineOptions("--profiling=blocks+html")
simulate(ProfilingTest)
.. omc-mos ::
:hidden:
.. error ::
Profiling output should go here, but is currently broken on the build server.
.. comment
.. omc-mos ::
:hidden:
:target: ProfilingTest_prof.999.svg
system("pandoc -o ProfilingTest_prof.rst ProfilingTest_prof.html")
system("sed -i= 's/:target: ProfilingTest_prof.*/:width: 32px/' ProfilingTest_prof.rst")
system("mv ProfilingTest_prof.rst ../source/ProfilingTest_prof.inc")
system("rm ProfilingTest_prof.html")
system("cp ProfilingTest_prof* ../source/")
system("cp ProfilingTest_prof.xml ProfilingTest_res.mat ProfilingTest_prof.data ../build/html/")
:target: ProfilingTest_prof.999.svg
system("pandoc -o ProfilingTest_prof.rst ProfilingTest_prof.html")
system("sed -i= 's/:target: ProfilingTest_prof.*/:width: 32px/' ProfilingTest_prof.rst")
system("mv ProfilingTest_prof.rst ../source/ProfilingTest_prof.inc")
system("rm ProfilingTest_prof.html")
system("cp ProfilingTest_prof* ../source/")
system("cp ProfilingTest_prof.xml ProfilingTest_res.mat ProfilingTest_prof.data ../build/html/")
.. include :: ProfilingTest_prof.inc
.. include :: ProfilingTest_prof.inc
Genenerated JSON for the Example
================================
Expand Down

0 comments on commit 7af6b51

Please sign in to comment.