Lines Matching refs:current_rss_mb
38 const uptr current_rss_mb = GetRSS() >> 20; in BackgroundThread() local
41 if (prev_reported_rss * 11 / 10 < current_rss_mb) { in BackgroundThread()
42 Printf("%s: RSS: %zdMb\n", SanitizerToolName, current_rss_mb); in BackgroundThread()
43 prev_reported_rss = current_rss_mb; in BackgroundThread()
55 if (hard_rss_limit_mb && hard_rss_limit_mb < current_rss_mb) { in BackgroundThread()
57 SanitizerToolName, hard_rss_limit_mb, current_rss_mb); in BackgroundThread()
62 if (soft_rss_limit_mb < current_rss_mb && !reached_soft_rss_limit) { in BackgroundThread()
65 SanitizerToolName, soft_rss_limit_mb, current_rss_mb); in BackgroundThread()
67 } else if (soft_rss_limit_mb >= current_rss_mb && in BackgroundThread()
74 current_rss_mb > rss_during_last_reported_profile * 1.1) { in BackgroundThread()
75 Printf("\n\nHEAP PROFILE at RSS %zdMb\n", current_rss_mb); in BackgroundThread()
77 rss_during_last_reported_profile = current_rss_mb; in BackgroundThread()