36 uint64_t k_clock_frequency = 62500000;
37 TLOG_DEBUG(TLVL_FRAME_RECEIVED) <<
"Received HSI frame timestamp value of " << current_ts <<
" ticks (..."
38 << std::fixed << std::setprecision(8) << (static_cast<double>(current_ts % (k_clock_frequency*1000)) /
static_cast<double>(k_clock_frequency)) <<
" sec)";
41 TLOG() <<
"*** Data Integrity ERROR *** Current HSIFrame timestamp " << current_ts <<
" is before previous timestamp " <<
m_previous_ts;
44 if (current_ts == 0) {
45 TLOG() <<
"*** Data Integrity ERROR *** Current HSIFrame timestamp " << current_ts <<
" is 0";
void add_preprocess_task(Task &&task)
void conf(const appmodel::DataHandlerModule *conf) override
std::atomic< uint64_t > m_last_processed_daq_ts
timestamp_t m_previous_ts
void frame_error_check(frameptr)
void timestamp_check(frameptr)
std::uint64_t timestamp_t
void conf(const appmodel::DataHandlerModule *conf) override
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones.
uint64_t get_timestamp() const
#define TLOG_DEBUG(lvl,...)