OSDN Git Service

Fix a Floating point exception for periodic timers
authorPavlin Radoslavov <pavlin@google.com>
Wed, 20 Apr 2016 00:30:19 +0000 (17:30 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Fri, 22 Apr 2016 23:03:09 +0000 (16:03 -0700)
commit8e4577f7b48aad4c4a36a0d5787139a36ca2be94
tree01979efbb79e680da069c2e9419edb9390c3f172
parent4d602cc8c972c781ba23e7945a2dcd20fee40de3
Fix a Floating point exception for periodic timers

Fix a Floating point exception for periodic timers that are
scheduled with interval of 0ms, and add a corresponding unit test.
Also, fix a typo when printing "Action counts" statistics.

Bug: 28278593
Change-Id: Ic381efc573ed9954c36980c26a89318d2de40b29
osi/src/alarm.c
osi/test/alarm_test.cpp