Lines Matching defs:time
38 struct timeval time;
56 * @param is_last True if this is the last time progress will be
72 if (!ph_start.time.tv_sec
73 || !(diff = msdiff(&ph_start.time, now)))
76 /* Switch to total time taken for our last update. */
80 if (!(diff = msdiff(&ph_list[oldest_hpos].time, now)))
141 if (!ph_start.time.tv_sec) {
144 /* Try to guess the real starting time when the sender started
145 * to send us data by using the time we last received some data
147 if (msdiff(&ph_list[newest_hpos].time, &now) <= 1500) {
148 ph_start.time = ph_list[newest_hpos].time;
151 ph_start.time.tv_sec = now.tv_sec;
152 ph_start.time.tv_usec = now.tv_usec;
160 if (msdiff(&ph_list[newest_hpos].time, &now) < 1000)
165 ph_list[newest_hpos].time.tv_sec = now.tv_sec;
166 ph_list[newest_hpos].time.tv_usec = now.tv_usec;