commit | 315ae2d4c4396fa4f19f5a2be0d73afb9cfa7b31 | [log] [tgz] |
---|---|---|
author | Yan Wang <yawanng@google.com> | Tue Jul 16 15:29:08 2019 -0700 |
committer | Yan Wang <yawanng@google.com> | Wed Jul 17 15:47:54 2019 -0700 |
tree | 9709dd02de97377349c53eee645e100d58585e68 | |
parent | ede8b187e99c9b68841d036d0045fee5bd1e1e82 [diff] |
Add support of trace duration for host python compiler. The basic idea is add timestamp for MmFilemapAddToPageCache. Treat the first receiving MmFilemapAddToPageCache timestamp as the start time. The end time is the sum of start time and duration. Any MmFilemapAddToPageCache after end time is filtered out. Test: pytest trace2db_test.py Bug: 137398235 Change-Id: Ib9c439f3ae0ca666eacb08492361217d89adec34