mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Deprecate the internal int/uint types in favor of the cstdint types they were based on
This commit is contained in:
parent
18e4976c6c
commit
54752ef9a1
218 changed files with 1331 additions and 1323 deletions
16
src/Stats.h
16
src/Stats.h
|
@ -102,13 +102,13 @@ extern ProfileLogger* segment_logger;
|
|||
extern SampleLogger* sample_logger;
|
||||
|
||||
// Connection statistics.
|
||||
extern uint64 killed_by_inactivity;
|
||||
extern uint64_t killed_by_inactivity;
|
||||
|
||||
// Content gap statistics.
|
||||
extern uint64 tot_ack_events;
|
||||
extern uint64 tot_ack_bytes;
|
||||
extern uint64 tot_gap_events;
|
||||
extern uint64 tot_gap_bytes;
|
||||
extern uint64_t tot_ack_events;
|
||||
extern uint64_t tot_ack_bytes;
|
||||
extern uint64_t tot_gap_events;
|
||||
extern uint64_t tot_gap_bytes;
|
||||
|
||||
class PacketProfiler {
|
||||
public:
|
||||
|
@ -127,9 +127,9 @@ protected:
|
|||
double update_freq;
|
||||
double last_Utime, last_Stime, last_Rtime;
|
||||
double last_timestamp, time;
|
||||
uint64 last_mem;
|
||||
uint64 pkt_cnt;
|
||||
uint64 byte_cnt;
|
||||
uint64_t last_mem;
|
||||
uint64_t pkt_cnt;
|
||||
uint64_t byte_cnt;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue