mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Timer: Add LOG_DELAY_EXPIRE timer type
This commit is contained in:
parent
56b6219fb9
commit
2d0fa13e18
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,7 @@ const char* TimerNames[] = {
|
|||
"TimerMgrExpireTimer",
|
||||
"ThreadHeartbeat",
|
||||
"UnknownProtocolExpire",
|
||||
"LogDelayExpire",
|
||||
};
|
||||
|
||||
const char* timer_type_to_string(TimerType type) { return TimerNames[type]; }
|
||||
|
|
|
@ -49,8 +49,9 @@ enum TimerType : uint8_t {
|
|||
TIMER_TIMERMGR_EXPIRE,
|
||||
TIMER_THREAD_HEARTBEAT,
|
||||
TIMER_UNKNOWN_PROTOCOL_EXPIRE,
|
||||
TIMER_LOG_DELAY_EXPIRE,
|
||||
};
|
||||
constexpr int NUM_TIMER_TYPES = int(TIMER_UNKNOWN_PROTOCOL_EXPIRE) + 1;
|
||||
constexpr int NUM_TIMER_TYPES = int(TIMER_LOG_DELAY_EXPIRE) + 1;
|
||||
|
||||
extern const char* timer_type_to_string(TimerType type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue