A zero-cost instrumentation framework for C++ honoring hard real-time requisites