Adding thread local profiling strategy