Stellar output statistics
This commit is contained in:
@@ -20,7 +20,7 @@ struct dumpfile_io
|
||||
|
||||
pcap_t *pcap;
|
||||
struct lock_free_queue *queue[MAX_THREAD_NUM];
|
||||
struct packet_stat stat;
|
||||
struct io_stat stat;
|
||||
uint64_t io_thread_need_exit;
|
||||
uint64_t io_thread_is_runing;
|
||||
};
|
||||
@@ -193,7 +193,7 @@ void dumpfile_io_free(struct dumpfile_io *handle)
|
||||
}
|
||||
}
|
||||
|
||||
struct packet_stat *dumpfile_io_stat(struct dumpfile_io *handle)
|
||||
struct io_stat *dumpfile_io_get_stat(struct dumpfile_io *handle)
|
||||
{
|
||||
return &handle->stat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user