Searched refs:current_rss_mb (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_libcdep.cpp | 43 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() 71 if (soft_rss_limit_mb < current_rss_mb && !reached_soft_rss_limit) { 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() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_libcdep.cc | 80 uptr current_rss_mb = GetRSS() >> 20; in BackgroundThread() local 83 if (prev_reported_rss * 11 / 10 < current_rss_mb) { in BackgroundThread() 84 Printf("%s: RSS: %zdMb\n", SanitizerToolName, current_rss_mb); in BackgroundThread() 85 prev_reported_rss = current_rss_mb; in BackgroundThread() 99 if (hard_rss_limit_mb && hard_rss_limit_mb < current_rss_mb) { in BackgroundThread() 101 SanitizerToolName, hard_rss_limit_mb, current_rss_mb); in BackgroundThread() 106 if (soft_rss_limit_mb < current_rss_mb && !reached_soft_rss_limit) { in BackgroundThread() 109 SanitizerToolName, soft_rss_limit_mb, current_rss_mb); in BackgroundThread() 112 } else if (soft_rss_limit_mb >= current_rss_mb && in BackgroundThread()
|