DescriptionAdded metrics to track the time between task switches done via the shelf.
TEST=TaskSwitchTimeTrackerTest.HasLastActionTimeShouldBeFalseAfterConstruction
TEST=TaskSwitchTimeTrackerTest.HasLastActionTimeShouldBeTrueAfterOnTaskSwitch
TEST=TaskSwitchTimeTrackerTest.RecordAfterTwoTaskSwitches
TEST=TaskSwitchMetricsRecorderTest.VerifyTaskSwitchesFromTheShelfAreRecorded
BUG=469359, 471356
Committed: https://crrev.com/9444f5f41b7cdea355dac95e0de83573b4e31a3d
Cr-Commit-Position: refs/heads/master@{#329884}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressed tdanderson@'s comments from patch set 1. #
Total comments: 10
Patch Set 3 : Addressed oshima@'s comments from patch set 2. #
Total comments: 2
Patch Set 4 : Addressed oshima@'s nit from patch set 3. #
Total comments: 6
Patch Set 5 : Addressed asvitkine@ comments in patch set 4. #Patch Set 6 : Added ASH_EXPORT to TaskSwitchTimeTracker. #
Messages
Total messages: 22 (6 generated)
|