gettimeofday_ms
tstop = gettimeofday_ms() + 5000;
while (!stop && gettimeofday_ms() < tstop)
int64_t tstop = gettimeofday_ms() + waittime_ms;
while (gettimeofday_ms() < tstop) {
tstop = gettimeofday_ms() + cfg_runtime_ms;
} while (gettimeofday_ms() < tstop);
cfg_random_seed = (unsigned int)gettimeofday_ms();
tstop = gettimeofday_ms() + cfg_timeout_ms;
tleft = tstop - gettimeofday_ms();
int64_t tstop = gettimeofday_ms() + cfg_waittime_ms;
gettimeofday_ms() < tstop) {
tstop = gettimeofday_ms() + cfg_runtime_ms;
} while (gettimeofday_ms() < tstop);
tstop = gettimeofday_ms() + cfg_runtime_ms + cfg_receiver_wait_ms;
} while (gettimeofday_ms() < tstop);
treport = gettimeofday_ms() + 1000;
tnow = gettimeofday_ms();
tnow = gettimeofday_ms();
tnow = gettimeofday_ms();
tnow = gettimeofday_ms();
tnow = gettimeofday_ms();