[compiler-rt] [scudo] Add time of last page release to getStats() (PR #164004)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 17 22:50:19 PDT 2025
================
@@ -1486,7 +1495,7 @@ uptr SizeClassAllocator64<Config>::releaseToOSMaybe(RegionInfo *Region,
Region->ReleaseInfo.BytesInFreeListAtLastCheckpoint = BytesInFreeList;
Region->ReleaseInfo.LastReleasedBytes = Recorder.getReleasedBytes();
}
- Region->ReleaseInfo.LastReleaseAtNs = getMonotonicTimeFast();
+ Region->ReleaseInfo.LastReleaseAtNs = getMonotonicTime();
----------------
ChiaHungDuan wrote:
I think it's fine to keep this with the fast version as long as we have the precise one in getStats
https://github.com/llvm/llvm-project/pull/164004
More information about the llvm-commits
mailing list