]> git.lttng.org Git - lttng-tools.git/commit
Fix live timer calculation error
authorMikael Beckius <mikael.beckius@windriver.com>
Wed, 21 Oct 2015 19:48:29 +0000 (15:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Oct 2015 19:52:44 +0000 (15:52 -0400)
commitb6898a3c5765a64e2d843028808d9aaf5b008b6a
treee9d97b50332b81a65fcf55f0e7640e221243fc08
parent560b62499c1c1f1bec6ba6fe208d6073dff49394
Fix live timer calculation error

There is an calculation error for live timer. Variable
switch_timer_interval is based on microsecond, and it is not
right to assign switch_timer_interval mod 1000000 to var tv_nsec
which is based on nanosecond.

Signed-off-by: Mikael Beckius <mikael.beckius@windriver.com>
Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer-timer.c
This page took 0.030065 seconds and 4 git commands to generate.