/* A simple helper function to print the raw timer counter value and the counter value converted to seconds  */
static void print_timer_counter(uint64_t counter_value)
/* A simple helper function to print the raw timer counter value and the counter value converted to seconds  */
static void print_timer_counter(uint64_t counter_value)
{
    printf("Counter: 0x%08x%08x\n", (uint32_t) (counter_value >> 32),
                                    (uint32_t) (counter_value));
    printf("Time   : %.8f s\n", (double) counter_value / TIMER_SCALE);
}