15 #include "interface.h"
20 const shared_ptr<
XMeasure> &measure) :
27 shared_ptr<XMeasure> measure(m_measure.lock());
28 shared_ptr<XNode> ptr;
29 measure->iterate_commit_if([=, &ptr](
Transaction &tr)->
bool{
31 (name.c_str(),
false, ref(tr), measure);
40 XDriver::XBufferUnderflowRecordError::XBufferUnderflowRecordError(
const char *file,
int line) :
41 XRecordError(i18n(
"Buffer Underflow."), file, line) {}
43 XDriver::XDriver(
const char *name,
bool runtime,
Transaction &tr_meas,
const shared_ptr<XMeasure> &meas) :
44 XNode(name, runtime) {
49 const XTime &time_awared,
const XTime &time_recorded) {
50 tr[ *
this].m_awaredTime = time_awared;
51 tr[ *
this].m_recordTime = time_recorded;
52 tr.mark(tr[ *
this].onRecord(),
this);