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:49:34 +0000 (15:49 -0400)
commit69f60d21c627ad2fcae6d25fecf91e639c6ded33
tree61bdc2742006fece37b0fa8d935defa0be002617
parent78d8fb4ff7f6bfd6bf84994bd94a0edec6de0825
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/consumer-timer.c
This page took 0.026383 seconds and 4 git commands to generate.