diff options
| author | Sandeep Patil <sspatil@google.com> | 2018-12-29 21:05:38 -0800 |
|---|---|---|
| committer | Sandeep Patil <sspatil@google.com> | 2019-01-07 09:43:37 -0800 |
| commit | fa2d8d55417d5e4acdd7dbabb1078643308af894 (patch) | |
| tree | 249b327faa6b729ea9a0b9f7ca66e392279e949f /trusty/coverage/coverage.cpp | |
| parent | c24f1e3c6391e24ecab098d4206dadf2a06264ba (diff) | |
libmeminfo: Add SmapsRollup
This adds the tests and SmapsRollup() parsing function in
ProcMemInfo. Adds tests to check the return value as well as
the correctness.
Bug: 111694435
Test: libmeminfo_test 1 --gtest_filter=TestProcMemInfo.*
Test: libmeminfo_benchmark --benchmark_filter=BM_SmapsRollup_
Result:
----------------------------------------------------------
Benchmark Time CPU Iterations
----------------------------------------------------------
BM_SmapsRollup_old 4751 ns 4730 ns 149458
BM_SmapsRollup_new 4858 ns 4837 ns 144636
----------------------------------------------------------
Change-Id: Ia051fe53a7622e3091502ff7166efafae35e7935
Signed-off-by: Sandeep Patil <sspatil@google.com>
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions
