| 110 | static double inv_cycles_per_byte; |
| 111 | |
| 112 | static void init_port_ts(uint64_t cpu_clock) |
| 113 | { |
| 114 | double cycles_per_byte = (double)(cpu_clock) / (double)(port_speed_bytes); |
| 115 | inv_cycles_per_byte = 1.0 / cycles_per_byte; |
| 116 | } |
| 117 | |
| 118 | static uint64_t get_port_ts(void) |
| 119 | { |