Lines Matching refs:track
40 * This structure is used for keeping track of how much resources have
52 void init_resource_track(struct resource_track *track)
56 track->brk_start = sbrk(0);
57 gettimeofday(&track->time_start, 0);
59 track->user_start = r.ru_utime;
60 track->system_start = r.ru_stime;
70 static void print_resource_track(struct resource_track *track)
79 (int) (((char *) sbrk(0)) - ((char *) track->brk_start)),
80 timeval_subtract(&time_end, &track->time_start),
81 timeval_subtract(&r.ru_utime, &track->user_start),
82 timeval_subtract(&r.ru_stime, &track->system_start));