Commit 2d44be19 authored by Stephen Hemminger's avatar Stephen Hemminger

timers are in user hz

The kernel timers are exposed in user hz not kernel hz
parent 6a34d291
...@@ -420,7 +420,7 @@ const char *print_ms_timer(int timeout) ...@@ -420,7 +420,7 @@ const char *print_ms_timer(int timeout)
const char *print_hz_timer(int timeout) const char *print_hz_timer(int timeout)
{ {
int hz = get_hz(); int hz = get_user_hz();
return print_ms_timer(((timeout*1000) + hz-1)/hz); return print_ms_timer(((timeout*1000) + hz-1)/hz);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment