commit | c11e1662d70bb5455a51c7b103cbe19876b58f44 | [log] [tgz] |
---|---|---|
author | Matthew Xie <mattx@google.com> | Tue Oct 28 11:05:26 2014 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Tue Oct 28 20:14:49 2014 +0000 |
tree | f03b6e7583e29b7bca24091be5a10f1a4faf24d8 | |
parent | f89382760380cc3a2dd5d56366344eed2c00e561 [diff] |
Make sure now_us returns a value bigger than the previous one On some platforms clock_gettime may sometimes return a current time that is earlier than a previous time. While it rarely happens, we need cover the case anyway. Bug: 18154020 Change-Id: I3846487aa45d0b11aeb63fa68af8826b864248fa