target: Make profiling function more readable