base/utils/time.zeek
Time-related functions.
Summary
Constants
Time value representing the 0 timestamp. |
Functions
Given an interval, returns a string representing the minutes and seconds in the interval (for example, “3m34s”). |
|
Calculate the packet lag, i.e. |
Detailed Interface
Constants
Functions
- duration_to_mins_secs
-
Given an interval, returns a string representing the minutes and seconds in the interval (for example, “3m34s”).
- get_packet_lag
-
Calculate the packet lag, i.e. the difference between wall clock and the timestamp of the currently processed packet. If Zeek is not processing a packet, the function returns a 0 interval value.