Question about simple profiling implementation