Profiling is now stateful