Merge in SNORT/snort3 from ~OSTEPANO/snort3:tsc_clock_fix to master
Squashed commit of the following:
commit
a81dca2f2738af9abb57fcaa69a1ea5508274594
Author: Oleksandr Stepanov <ostepano@cisco.com>
Date: Mon Jan 20 10:49:01 2025 -0500
main: aquire TSC time scale at the startup
ControlMgmt::socket_init(SnortConfig::get_conf());
#endif
+#ifdef USE_TSC_CLOCK
+ // Call clock_scale once to determine internal ticks to time scale
+ clock_scale();
+#endif
+
SnortConfig::get_conf()->thread_config->implement_thread_affinity(
STHREAD_TYPE_MAIN, get_instance_id());