c++performancevalgrindpurifyquantify

Does Valgrind have an API like Purify/Quantify that lets you disable data recording?


Something like this Purify/Quantify function: quantify_stop_recording_data()


Solution

  • The client program can use callgrind specific client requests to control the callgrind tool (enable and disable profiling), unfortunately the memcheck client requests (for obvious reasons1) don't allow the same sort of control.

    1 memory error checking is dependant on having traced the entire memory state up to the current point in time