C++ skeleton with measurement calls