67 boost::mutex::scoped_lock lock(
m_mutex);
102 static unsigned int n = 0;
103 const unsigned int n_iter = 10000;
104 if (n % n_iter == 0) {
106 <<
"Time-unreliable data detected. Dumped to file. "
107 <<
"This message has a suppression factor of " << n_iter;
124 LOG_DEBUG <<
"Discarding data which timestamp is before the run start time. "
126 <<
"seq_num: " << seq_num <<
", "
128 <<
"time stamp secs: " << header->
timeStamp().
sec() <<
", "
140 LOG_DEBUG <<
"Discarding data which run number ("
142 <<
") is different from the one of the current run: "
156 boost::mutex::scoped_lock lock(
m_mutex);
160 container_t::const_iterator
const it =
m_container.find(idx);
165 insert_value = it->second->insert(datagram);
174 insert_value = pframe->
insert(datagram);
176 container_t::value_type
const pair(idx, pframe);
void chrono_set(chronometrable &chr)
static const useconds_t sc_sleep
static const int sc_expusec
bool hasExpiredWrt(Timer const &t) const
bool hasValidTimeStamp() const
const CLBCommonHeader * getCLBCommonHeader() const
void putDataGram(CLBDataGram *p)
bool write(const CLBDataGram *data, unsigned int detector_id)
bool insert(CLBDataGram *datagram)
PuzzledFrame * getEmptyPuzzledFrame()
void setDetectorId(unsigned int detector_id)
buffers_collector_t m_empty_buffers
void setTimer(const Timer &exp)
std::size_t m_max_dump_size
bool insert(CLBDataGram *datagram)
void setDataType(unsigned int datatype)
static const int sc_expsec
unsigned int m_timeslice_duration
void add(std::string const &tag)
void setFrameIndex(frame_idx_t frame_idx)
boost::atomic< bool > m_running
void put_nolock(void *pointer)
static InBufferCollector & getCollector()
void getFrame(Frame &frame)
unsigned int m_detector_id
void getFrame(Frame &frame)
void setSeqNumber(unsigned int seqnumber)