coverage: implement profiling to output Scilab values 50/20650/8
authorClément DAVID <clement.david@esi-group.com>
Wed, 5 Dec 2018 19:23:26 +0000 (20:23 +0100)
committerClément DAVID <clement.david@esi-group.com>
Mon, 14 Jan 2019 11:00:19 +0000 (12:00 +0100)
commit137f82385ee047d5c52eb1550d21dd012ec8c383
tree41795420258d5f1fe8507449fc7fd9c1a8cb205a
parent700451edaf15ffb8c84a79af75231d1f4709cece
coverage: implement profiling to output Scilab values

 * `profileEnable()` instrument the Scilab code
 * `profileDisable()` de-instrument the Scilab code
 * `profileGetInfo()` output the counters as a Scilab data-structure
 * Plot and Show are not ported

Change-Id: Ifa603daf58cc5464ccc517fc23653a503ee0d436
27 files changed:
SEP/SEP_133_profiling.odt [new file with mode: 0644]
scilab/CHANGES.md
scilab/modules/ast/includes/types/macro.hxx
scilab/modules/ast/src/cpp/ast/runvisitor.cpp
scilab/modules/coverage/Makefile.am
scilab/modules/coverage/Makefile.in
scilab/modules/coverage/coverage.vcxproj
scilab/modules/coverage/coverage.vcxproj.filters
scilab/modules/coverage/help/en_US/addchapter.sce
scilab/modules/coverage/help/en_US/profile.xml [new file with mode: 0644]
scilab/modules/coverage/help/en_US/profileDisable.xml [new file with mode: 0644]
scilab/modules/coverage/help/en_US/profileEnable.xml [new file with mode: 0644]
scilab/modules/coverage/help/en_US/profileGetInfo.xml [new file with mode: 0644]
scilab/modules/coverage/includes/Counter.hxx
scilab/modules/coverage/includes/CoverModule.hxx
scilab/modules/coverage/includes/CoverResult.hxx
scilab/modules/coverage/includes/coverage_gw.hxx
scilab/modules/coverage/sci_gateway/cpp/coverage_gw.cpp
scilab/modules/coverage/sci_gateway/cpp/sci_profileDisable.cpp [new file with mode: 0644]
scilab/modules/coverage/sci_gateway/cpp/sci_profileEnable.cpp [new file with mode: 0644]
scilab/modules/coverage/sci_gateway/cpp/sci_profileGetInfo.cpp [new file with mode: 0644]
scilab/modules/coverage/src/cpp/CoverModule.cpp
scilab/modules/coverage/src/cpp/CoverResult.cpp
scilab/modules/coverage/src/cpp/InstrumentVisitor.cpp
scilab/modules/coverage/tests/unit_tests/profileDisable.tst [new file with mode: 0644]
scilab/modules/coverage/tests/unit_tests/profileEnable.tst [new file with mode: 0644]
scilab/modules/coverage/tests/unit_tests/profileGetInfo.tst [new file with mode: 0644]