MCPcopy Create free account
hub / github.com/ioi/isolate / final_stats

Function final_stats

isolate.c:241–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239/*** Messages and exits ***/
240
241static void
242final_stats(struct rusage *rus)
243{
244 total_ms = get_run_time_ms(rus);
245 wall_ms = get_wall_time_ms();
246
247 meta_printf("time:%d.%03d\n", total_ms/1000, total_ms%1000);
248 meta_printf("time-wall:%d.%03d\n", wall_ms/1000, wall_ms%1000);
249 meta_printf("max-rss:%ld\n", rus->ru_maxrss);
250 meta_printf("csw-voluntary:%ld\n", rus->ru_nvcsw);
251 meta_printf("csw-forced:%ld\n", rus->ru_nivcsw);
252
253 cg_stats();
254}
255
256static void NONRET
257box_exit(int rc)

Callers 2

box_exitFunction · 0.85
box_keeperFunction · 0.85

Calls 4

get_run_time_msFunction · 0.85
get_wall_time_msFunction · 0.85
meta_printfFunction · 0.85
cg_statsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…