> + /* Window ELement*/
> + #define WEL(__el__) pipe->rwin.__el__
> + #define U2MILI(__usec__) (__usec__/1000)
> + #define S2MILI(__sec__) (__sec__ *1000)
> + int i;
> + int count;
> + int first_good_index;
> + int rl_win_ms = rl_window_size * 1000;
> +
> +
> + unsigned long long now_total, start_total;
> +
> + struct timeval tv;
> +
> + /* first get values from our beloved replicated friends */
> + count = rl_get_all_hist_counters(pipe);
You should use the ```counter``` field of the pipe.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/728/files#r48743615
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel