diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-18 10:56:50 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-07-23 10:26:15 -0300 |
| commit | 2a76b0a8e24d291b2331a4dd05e70a80ef57426b (patch) | |
| tree | 723ee60eb5531984ca29929971cf8083056e42c4 /lib/compiler.h | |
| parent | dfd15ebfa6b648cedc340bc46f41a3bbb5076440 (diff) | |
topotest: fix Lou's framework command wait
Fix two main issues:
* Don't use float to figure out if we spent the time user asked;
* Don't depend on system clock to find we reached the end of time;
The fix is basically pre caculating the amount of wait cycles we are
going to peform and use a counter.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/compiler.h')
0 files changed, 0 insertions, 0 deletions
