Describe the problem you're solving
I'm using the profiler code as a basis for measuring co-routines (seastar). This means I'm using a version of ThreadCallGraph that's stack based rather than thread_local.
Describe the solution you'd like
The member variables of NodeMatrix don't get initialised to zero when using a stack based version of ThreadCallGraph and should be set to 0 in the header file (profiler.hpp) to avoid this problem.