• Daniel Black's avatar
    MDEV-30411: Fix my_timer_init() to match the code in as my_timer_cycles() · 55cf4194
    Daniel Black authored
    make the compile-time logic in my_timer_cycles() also #define
    MY_TIMER_ROUTINE_CYCLES to indicate which implementation it is using.
    Then, make my_timer_init() use MY_TIMER_ROUTINE_CYCLES.
    
    This leaves us with just one set of compile-time #if's which determine
    how we read time in #cycles.
    
    Reviewer (and commit message author): Sergei Petrunia <sergey@mariadb.com>
    55cf4194
my_rdtsc.c 26.2 KB