Lines Matching refs:ru
50 static struct rusage ru;
100 SAFE_GETRUSAGE(cleanup, RUSAGE_SELF, &ru);
101 tst_resm(TINFO, "initial.self = %ld", ru.ru_maxrss);
107 maxrss_init = ru.ru_maxrss;
108 SAFE_GETRUSAGE(cleanup, RUSAGE_SELF, &ru);
109 tst_resm(TINFO, "child.self = %ld", ru.ru_maxrss);
110 exit(is_in_delta(maxrss_init - ru.ru_maxrss));
127 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
128 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss);
129 if (is_in_delta(ru.ru_maxrss - 102400))
138 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
139 tst_resm(TINFO, "child.children = %ld", ru.ru_maxrss);
140 exit(ru.ru_maxrss == 0);
157 SAFE_GETRUSAGE(cleanup, RUSAGE_SELF, &ru);
158 tst_resm(TINFO, "initial.self = %ld", ru.ru_maxrss);
164 maxrss_init = ru.ru_maxrss;
167 SAFE_GETRUSAGE(cleanup, RUSAGE_SELF, &ru);
168 tst_resm(TINFO, "child.self = %ld", ru.ru_maxrss);
169 exit(is_in_delta(maxrss_init + 51200 - ru.ru_maxrss));
186 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
187 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss);
206 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
207 tst_resm(TINFO, "post_wait.children = %ld", ru.ru_maxrss);
208 if (is_in_delta(ru.ru_maxrss - 307200))
220 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
221 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss);
222 maxrss_init = ru.ru_maxrss;
237 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
238 tst_resm(TINFO, "pre_wait.children = %ld", ru.ru_maxrss);
239 if (is_in_delta(ru.ru_maxrss - maxrss_init))
249 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
250 tst_resm(TINFO, "post_wait.children = %ld", ru.ru_maxrss);
251 if (is_in_delta(ru.ru_maxrss - 409600))
263 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
264 tst_resm(TINFO, "initial.children = %ld", ru.ru_maxrss);
266 maxrss_init = ru.ru_maxrss;
281 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
282 tst_resm(TINFO, "after_zombie.children = %ld", ru.ru_maxrss);
283 if (is_in_delta(ru.ru_maxrss - maxrss_init))
299 SAFE_GETRUSAGE(cleanup, RUSAGE_SELF, &ru);
300 maxrss_self = ru.ru_maxrss;
301 SAFE_GETRUSAGE(cleanup, RUSAGE_CHILDREN, &ru);
302 maxrss_child = ru.ru_maxrss;