v.24.7Improvement

Reduce inaccuracy of input_wait_elapsed_us/elapsed_us in system.processors_profile_log

Reduce inaccuracy of input_wait_elapsed_us/elapsed_us in the system.processors_profile_log. #66239 (Azat Khuzhin).
Improves the accuracy of input_wait_elapsed_us and elapsed_us metrics in the system.processors_profile_log table.

Why it matters

The change addresses the issue of inaccuracy in measuring the input wait time and total elapsed time of processors. This enhancement provides users with more precise profiling data, enabling better performance analysis and troubleshooting.

How to use it

Users will benefit from more accurate timing metrics in system.processors_profile_log automatically after upgrading to the ClickHouse version that includes this fix. No additional configuration is required.