Unfortunately, there are no statistics "Absolute time in JIT" which you can receive. The CLR detects the performance counter "% time in Jit", which is periodically updated, but it is as accurate as the selection.
You can easily access this performance counter using the Performance Monitor Windows tool or using tools such as the RedGate ANTS Profiler, which is how I was first open to it. If you need programmatic access to it, you can use WMI or the .NET PerformanceCounter class.
source share