A small library on top of XhProf, with support for profiling and tracing