Home
last modified time | relevance | path

Searched refs:current_rss_mb (Results 1 – 1 of 1) sorted by relevance

/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_libcdep.cpp43 const uptr current_rss_mb = GetRSS() >> 20; in BackgroundThread() local
46 if (prev_reported_rss * 11 / 10 < current_rss_mb) { in BackgroundThread()
47 Printf("%s: RSS: %zdMb\n", SanitizerToolName, current_rss_mb); in BackgroundThread()
48 prev_reported_rss = current_rss_mb; in BackgroundThread()
64 if (hard_rss_limit_mb && hard_rss_limit_mb < current_rss_mb) { in BackgroundThread()
66 SanitizerToolName, hard_rss_limit_mb, current_rss_mb); in BackgroundThread()
74 SanitizerToolName, soft_rss_limit_mb, current_rss_mb); in BackgroundThread()
77 } else if (soft_rss_limit_mb >= current_rss_mb && in BackgroundThread()
85 current_rss_mb > rss_during_last_reported_profile * 1.1) { in BackgroundThread()
86 Printf("\n\nHEAP PROFILE at RSS %zdMb\n", current_rss_mb); in BackgroundThread()
[all …]