Merge "Avoid get same timestamps in log testcase"

am: 3f6b16395d

Change-Id: I4efdeba6449682016c643b70159594b9b5617533
This commit is contained in:
Tom Cherry 2019-06-24 14:30:26 -07:00 committed by android-build-merger
commit 9d4c75764d

View file

@ -952,7 +952,7 @@ static inline uint32_t get4LE(const char* src) {
void __android_log_btwrite_multiple__helper(int count) {
#ifdef __ANDROID__
log_time ts(CLOCK_MONOTONIC);
usleep(100);
log_time ts1(CLOCK_MONOTONIC);
// We fork to create a unique pid for the submitted log messages