Understanding profiling