]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: MemoryModel: speed-up and clean get_mapped_heap()
authorRonen Friedman <rfriedma@redhat.com>
Tue, 18 Jun 2024 11:30:29 +0000 (06:30 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 18 Jun 2024 14:53:41 +0000 (09:53 -0500)
commitbdc5782a27680b412de4b1231eadcc0cedf7306f
treeb3f3b7caa8cc8e0915dabfcf206a1220a072b3fa
parentcf62ba80110379156660e3e5b0a2905ac43aa499
common: MemoryModel: speed-up and clean get_mapped_heap()

Main points:
- using charconv as a faster alternative to strtoll functions;
- only parsing the addresses for relevant lines;
- lines ending with '[heap]' are OK

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/MemoryModel.cc