src/tcpkali_run.c
static int
every(double delta_time, double now, double *checkpoint_time) {
    if((now - *checkpoint_time) < delta_time) {
        return 0;
    } else {
        *checkpoint_time = now;
        return 1;
    }
}
/*
 * Return non-zero value every time we're more than (delta_time)
 * away from the checkpoint time; updates the checkpoint time.
 */
Return non-zero value every time we're more than (delta_time)
away from the checkpoint time; updates the checkpoint time.
Return non - zero value every time we ' re more than ( delta_time ) away from the checkpoint time ; updates the checkpoint time .
static int
every(double delta_time, double now, double *checkpoint_time) {
    if((now - *checkpoint_time) < delta_time) {
        return 0;
    } else {
        *checkpoint_time = now;
        return 1;
    }
}
static int every ( double delta_time , double now , double * checkpoint_time ) { if ( ( now - * checkpoint_time ) < delta_time ) { return 0 ; } else { * checkpoint_time = now ; return 1 ; } }
Return non-zero value every time we're more than (delta_time)
 away from the checkpoint time; updates the checkpoint time.
Return non - zero value every time we ' re more than ( delta_time ) away from the checkpoint time ; updates the checkpoint time .