X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=drl%2Festimate.c;fp=drl%2Festimate.c;h=bfe22c5cbb6477a0999d3ffb150f8712713266b4;hb=9891ed21bcd3ff9f72a92e867ac7e8e0b9abb533;hp=3ed7b3fa121016caf040a1f6934b03ac14c914e7;hpb=da2e1847da1c3ece4b1a8685de49d972aed48178;p=distributedratelimiting.git diff --git a/drl/estimate.c b/drl/estimate.c index 3ed7b3f..bfe22c5 100644 --- a/drl/estimate.c +++ b/drl/estimate.c @@ -243,9 +243,11 @@ 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, 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); + printlog(LOG_WARN, "%.2f %d %.2f %.2f %.2f %d %d %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, + ftable->max_flow_rate, ftable->max_flow_rate_flow_hash); + printcounter = PRINT_COUNTER_RESET; } else { printcounter -= 1;