Lines Matching refs:elapsed
65 struct timeval elapsed = {0, 0};
68 timersub(&now.boottime, &events_.front().boottime, &elapsed);
71 timersub(&now.monotonic, &events_.front().monotonic, &elapsed);
77 timersub(&now.boottime, &events_.front().boottime, &elapsed);
80 if (timercmp(&elapsed, &interval, < )) {
94 struct timeval elapsed = {0, 0};
97 timersub(&now.boottime, &event.boottime, &elapsed);
100 timersub(&now.monotonic, &event.monotonic, &elapsed);
106 timersub(&now.boottime, &event.boottime, &elapsed);
109 if (timercmp(&elapsed, &interval, <= )) {