Profile externally loaded mechanisms (#1691)
- Add support for profiling externally loaded mechanisms. - Move the profiler calls out of the generated C++ code into the `arb::mechanism` methods. - Remove the `--profile` flag from the modcc flags. - Replace `_` delimiter with `:` in profiler. - Replace `const char*` with `const std::string&` for profiler region representation. - Profiler may now contain empty regions that were registered but not profiled, so add some code to filer those out when generating final profile.
Showing
- CMakeLists.txt 0 additions, 3 deletionsCMakeLists.txt
- arbor/benchmark_cell_group.cpp 1 addition, 1 deletionarbor/benchmark_cell_group.cpp
- arbor/communication/communicator.cpp 2 additions, 2 deletionsarbor/communication/communicator.cpp
- arbor/fvm_lowered_cell_impl.hpp 13 additions, 13 deletionsarbor/fvm_lowered_cell_impl.hpp
- arbor/include/arbor/mechanism.hpp 21 additions, 2 deletionsarbor/include/arbor/mechanism.hpp
- arbor/include/arbor/profile/profiler.hpp 1 addition, 1 deletionarbor/include/arbor/profile/profiler.hpp
- arbor/lif_cell_group.cpp 1 addition, 1 deletionarbor/lif_cell_group.cpp
- arbor/mc_cell_group.cpp 3 additions, 3 deletionsarbor/mc_cell_group.cpp
- arbor/profile/profiler.cpp 25 additions, 11 deletionsarbor/profile/profiler.cpp
- arbor/simulation.cpp 9 additions, 9 deletionsarbor/simulation.cpp
- arbor/spike_source_cell_group.cpp 1 addition, 1 deletionarbor/spike_source_cell_group.cpp
- doc/cpp/profiler.rst 6 additions, 6 deletionsdoc/cpp/profiler.rst
- modcc/modcc.cpp 0 additions, 4 deletionsmodcc/modcc.cpp
- modcc/printer/cprinter.cpp 0 additions, 29 deletionsmodcc/printer/cprinter.cpp
- modcc/printer/printeropt.hpp 0 additions, 4 deletionsmodcc/printer/printeropt.hpp
- test/unit/test_abi.cpp 4 additions, 0 deletionstest/unit/test_abi.cpp
- test/unit/test_domain_decomposition.cpp 2 additions, 1 deletiontest/unit/test_domain_decomposition.cpp
Please register or sign in to comment