preparing functions.h to be profiled with finer granularity