A simple performance monitor for c++ scopes.