Merge "Avoid get same timestamps in log testcase"
This commit is contained in:
commit
3f6b16395d
1 changed files with 1 additions and 1 deletions
|
|
@ -952,7 +952,7 @@ static inline uint32_t get4LE(const char* src) {
|
||||||
void __android_log_btwrite_multiple__helper(int count) {
|
void __android_log_btwrite_multiple__helper(int count) {
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
log_time ts(CLOCK_MONOTONIC);
|
log_time ts(CLOCK_MONOTONIC);
|
||||||
|
usleep(100);
|
||||||
log_time ts1(CLOCK_MONOTONIC);
|
log_time ts1(CLOCK_MONOTONIC);
|
||||||
|
|
||||||
// We fork to create a unique pid for the submitted log messages
|
// We fork to create a unique pid for the submitted log messages
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue