X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=blobdiff_plain;f=drl%2Festimate.c;h=3ed7b3fa121016caf040a1f6934b03ac14c914e7;hp=047d5f3d4984d5d4fcbe10b1a045f692605d88b5;hb=98532885e230a587b3cea807cefa0c4176434f9b;hpb=fa999b096a66f3b3547652d123d1b7185f2f9cbe diff --git a/drl/estimate.c b/drl/estimate.c index 047d5f3..3ed7b3f 100644 --- a/drl/estimate.c +++ b/drl/estimate.c @@ -243,7 +243,7 @@ static uint32_t allocate_fps(identity_t *ident, double total_weight) { gettimeofday(&tv, NULL); time_now = (double) tv.tv_sec + (double) ((double) tv.tv_usec / (double) 1000000); - printlog(LOG_WARN, "%.2f %d %.2f %.2f %.2f %d %d %d %d %d %d ", time_now, local_rate, idealweight, + printlog(LOG_WARN, "%.2f %d %.2f %.2f %.2f %d %d %d %d %d %d ", time_now, ftable->inst_rate, idealweight, ident->localweight, total_weight, ftable->num_flows, ftable->num_flows_5k, ftable->num_flows_10k, ftable->num_flows_20k, ftable->num_flows_50k, ftable->avg_rate); printcounter = PRINT_COUNTER_RESET;