Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Count all intercepted allocations/deallocations in order to build a small leak-checker.
authorAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 9 Apr 2021 01:28:02 +0000 (03:28 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Fri, 9 Apr 2021 09:10:25 +0000 (11:10 +0200)
commit6b9d22415cc883df71086ea19d220cbfba0a3230
tree646b5acc9a3b9ca820ce6dd49b069d0339f9d4c3
parentb767d52e2925cbf484695330970710d146d9a311
Count all intercepted allocations/deallocations in order to build a small leak-checker.
This allows to check for leaks, but also to provide debug information on the involved buffers (file, line, size) when a crash happens
todo: evaluate memory cost and slowdown for real apps (disabled by default, needs --cfg=smpi/display-allocs or -analyze flag to be activated)
src/smpi/bindings/smpi_mpi.cpp
src/smpi/include/smpi_config.hpp
src/smpi/include/smpi_utils.hpp
src/smpi/internals/smpi_config.cpp
src/smpi/internals/smpi_shared.cpp
src/smpi/internals/smpi_utils.cpp