timer: check TSC reliability
authorIvan Boule <ivan.boule@6wind.com>
Thu, 31 May 2012 14:41:57 +0000 (16:41 +0200)
committerDavid Marchand <david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:14 +0000 (11:01 +0100)
commitfb022b85bae4e262922a3ab035adadb03c57387e
tree8fa4777fcc55b4f1894e4ac6595fbc1e63b1970e
parent73a2bc5dba483a09802ce2af90548672238d3c88
timer: check TSC reliability

Read flags from /proc/cpuinfo and warn if constant_tsc or nonstop_tsc is
not found.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Ivan Boule <ivan.boule@6wind.com>
lib/librte_eal/linuxapp/eal/eal_timer.c