53 uint64_t k_clock_frequency = 62500000;
54 TLOG_DEBUG(
TLVL_FRAME_RECEIVED) <<
"Received DAPHNEStream frame timestamp value of " <<
m_current_ts <<
" ticks (..." << std::fixed << std::setprecision(8) << (static_cast<double>(
m_current_ts % (k_clock_frequency*1000)) /
static_cast<double>(k_clock_frequency)) <<
" sec)";
64 TLOG() <<
"*** Data Integrity ERROR *** Timestamp continuity is completely broken! "
65 <<
"Something is wrong with the FE source or with the configuration!";
void add_preprocess_task(Task &&task)
TaskRawDataProcessorModel(std::unique_ptr< FrameErrorRegistry > &error_registry, bool post_processing_enabled)
std::atomic< uint64_t > m_last_processed_daq_ts
timestamp_t m_previous_ts
std::atomic< int > m_ts_error_ctr
void frame_error_check(frameptr)
types::DAPHNEStreamSuperChunkTypeAdapter * frameptr
void conf(const appmodel::DataHandlerModule *conf) override
Set the emulator mode, if active, timestamps of processed packets are overwritten with new ones.
void timestamp_check(frameptr)
#define TLOG_DEBUG(lvl,...)
uint64_t get_timestamp() const