Module spacetimedb::callgrind_flag

source ·

Functions§

  • Invoke a function, enabling callgrind on all threads. If not running under valgrind, this simply invokes the function.
  • Invoke a function, allowing callgrind instrumentation. For instrumentation to be active, callgrind must be enabled globally, and the executable must be running under callgrind. If not running under callgrind, this just invokes the passed function.