summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author chenqiwu <chenqiwu@xiaomi.com> 2019-12-12 18:53:51 +0800
committer chenqiwu <chenqiwu@xiaomi.com> 2019-12-19 13:47:22 +0800
commitaf8b2d90017d12135af95c880b7a553c83f45d29 (patch)
tree36b6f0905a515c62bb6ada1785451683226938f6 /libs/gui/DisplayEventReceiver.cpp
parent1cde07957aa09be82c56d883ad10cec81f0cade7 (diff)
dumpstate: allow printf the duration of command to bugreport
Google bring change b86f33be to ignore printting the duration of command shorter than 500ms to bugreport. However, it is not convenient for developers to grep|sort the dumpstate sections. I think the right thing to do is: (1) Keep the logcat logging the same: if (elapsed >= .5f || verbose_) { MYLOGD("Duration of '%s': %.2fs\n", title_.c_str(), elapsed); } (2) printf the duration of command if logcat_only_ is false. Change-Id: I947fdd514eb31b6a6058dd841d15ba41aba063ac Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions