blob: f3c417a2ac2ccab9f32fc55b56ab715c47e61000 [file] [log] [blame]
Brian3afd6fc2014-04-02 20:41:49 -07001#ifndef AOS_COMMON_UTIL_PHASED_LOOP_H_
2#define AOS_COMMON_UTIL_PHASED_LOOP_H_
brians343bc112013-02-10 01:53:46 +00003
4#include <time.h>
5#include <string>
6
7namespace aos {
8namespace time {
9
10// Will not be accurate if ms isn't a factor of 1000.
11// offset is in us.
12void PhasedLoopXMS(int ms, int offset);
brians343bc112013-02-10 01:53:46 +000013
14} // namespace time
15} // namespace aos
16
Brian3afd6fc2014-04-02 20:41:49 -070017#endif // AOS_COMMON_UTIL_PHASED_LOOP_H_