Add instrumentation to scheduler & add fixes
This MR adds the IHTAInstrumentation
instrumentation to the scheduler and fixes some bugs from the adaptation in upstream repos.
Note, this does not change the profiler used or add any more log messages.