Lines Matching refs:uptime
61 t->uptime = 0; in throughput_init()
87 if (t->uptime && downat < t->uptime) { in throughput_uptime()
94 t->uptime = downat; in throughput_uptime()
96 return t->uptime ? downat - t->uptime : 0; in throughput_uptime()
136 if (t->uptime) { in throughput_log()
164 int uptime, divisor; in throughput_sampler() local
169 uptime = throughput_uptime(t); in throughput_sampler()
170 divisor = uptime < t->SamplePeriod ? uptime + 1 : t->SamplePeriod; in throughput_sampler()
189 if (t->callback.fn != NULL && uptime >= t->SamplePeriod) in throughput_sampler()
208 time(&t->uptime); in throughput_start()
273 time(&t->uptime); in throughput_clear()