interval to double

Anderssen Magnus magnus.anderssen at orange.ch
Fri Jun 22 06:35:12 PDT 2001


Hi,

I need to compare an amount of packet with what becomes an interval. Let me
explain:

I have:
- a packet counter
- an interval
- a threshold of packet per second.

When I multiplie the interval with the threshold the result is an interval.
I want to compare the result with the counter (of count type).

Is there a converter (interval->count/int) or a smarter way to do it?

Thanks in advance.

Magnus.





More information about the Bro mailing list