mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Review cleanup
This commit is contained in:
parent
89a9c96673
commit
a7d4364334
11 changed files with 88 additions and 41 deletions
|
@ -421,14 +421,19 @@ double check_pseudo_time(const Packet* pkt)
|
|||
return current_pseudo;
|
||||
}
|
||||
|
||||
iosource::PktSrc* current_packet_source()
|
||||
{
|
||||
return dynamic_cast<iosource::PktSrc*>(current_iosrc);
|
||||
}
|
||||
|
||||
} // namespace detail
|
||||
|
||||
extern double current_packet_timestamp()
|
||||
double current_packet_timestamp()
|
||||
{
|
||||
return detail::current_pseudo;
|
||||
}
|
||||
|
||||
extern double current_packet_wallclock()
|
||||
double current_packet_wallclock()
|
||||
{
|
||||
// We stop time when we are suspended.
|
||||
if ( run_state::is_processing_suspended() )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue