Add some basic timing instrumentation to be able to determine how long different functions are taking. src/include/timer.hpp has a paragraph explaining how to use this instrumentation in its current state.