diff options
author | Denis Brockus <dbrockus@google.com> | 2023-08-17 09:16:44 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-09-20 15:58:43 +0000 |
commit | b41be1ea27d1d4d8a8d4afd90f665fa3538ef15e (patch) | |
tree | a87ec0f3595b9d5702357c3c127fc60d7f926fe6 | |
parent | 5f1024c7a08d8ea97295d00774ea5fc181a09d2e (diff) | |
download | libchrome-gestures-b41be1ea27d1d4d8a8d4afd90f665fa3538ef15e.tar.gz |
SplitCorrectingFilterInterpreter instrument event debug
BUG=b:286851905
TEST=USE="coverage" FEATURES="test noclean" emerge-brya chromeos-base/gesture
Change-Id: I9d6b484861f5a5b59d0894e75afd918ecb787293
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/4789377
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Tested-by: Denis Brockus <dbrockus@chromium.org>
-rw-r--r-- | src/split_correcting_filter_interpreter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/split_correcting_filter_interpreter.cc b/src/split_correcting_filter_interpreter.cc index e1dcc30..2895d48 100644 --- a/src/split_correcting_filter_interpreter.cc +++ b/src/split_correcting_filter_interpreter.cc @@ -25,6 +25,9 @@ SplitCorrectingFilterInterpreter::SplitCorrectingFilterInterpreter( void SplitCorrectingFilterInterpreter::SyncInterpretImpl( HardwareState& hwstate, stime_t* timeout) { + const char name[] = "SplitCorrectingFilterInterpreter::SyncInterpretImpl"; + LogHardwareStatePre(name, hwstate); + // Update internal state if (enabled_.val_) { RemoveMissingUnmergedContacts(hwstate); @@ -36,6 +39,7 @@ void SplitCorrectingFilterInterpreter::SyncInterpretImpl( // Use internal state to update hwstate UpdateHwState(hwstate); } + LogHardwareStatePost(name, hwstate); next_->SyncInterpret(hwstate, timeout); } |