2015-07-25 12:36, Ravi Kerur
> static int
> set_tsc_freq_from_sysctl(void)
> {
> size_t sz;
> int tmp;
> + uint64_t tsc_hz;
>
> sz = sizeof(tmp);
> tmp = 0;
> @@ -94,42 +77,23 @@ set_tsc_freq_from_sysctl(void)
> else if (tmp != 1)
> RTE_LOG(WARNI
2015-07-25 12:36, Ravi Kerur:
> +static void
> +set_tsc_freq_fallback(void)
> +{
> + RTE_LOG(WARNING, EAL, "WARNING: clock_gettime cannot use "
> + "CLOCK_MONOTONIC_RAW and HPET is not available"
Not generic enough for BSD.
We can say "TSC frequency estimated roughly"
> +
Changes in v9
Rebase to latest code.
Changes in v8
Reorder eal_common_timer.c compilation.
Changes in v7
None
Changes in v6
Added new line between Copyright and header file inclusion
in eal_common_timer.c.
Changes in v5
Rebase to latest code.
Changes in v4
Removed extern declaration of eal_tsc
3 matches
Mail list logo