46 GPUd()
CfFragment(tpccf::TPCTime totalSectorLen, tpccf::TPCFragmentTime maxSubSectorLen) :
CfFragment(0, false, 0, totalSectorLen, maxSubSectorLen) {}
65 GPUdi() tpccf::TPCTime last()
const
70 GPUdi() bool contains(tpccf::TPCTime t)
const
72 return first() <= t && t < last();
76 GPUdi() bool isOverlap(tpccf::TPCFragmentTime t)
const
81 GPUdi() tpccf::TPCFragmentTime lengthWithoutOverlap()
const
86 GPUdi() tpccf::TPCFragmentTime firstNonOverlapTimeBin()
const
91 GPUdi() tpccf::TPCFragmentTime lastNonOverlapTimeBin()
const
96 GPUdi() tpccf::TPCFragmentTime toLocal(tpccf::TPCTime t)
const
101 GPUdi() tpccf::TPCTime toGlobal(tpccf::TPCFragmentTime t)
const
107 GPUd() CfFragment(uint32_t index_,
bool hasBacklog_, tpccf::TPCTime start_, tpccf::TPCTime totalSectorLen, tpccf::TPCFragmentTime maxSubSectorLen)
109 this->index = index_;
110 this->hasBacklog = hasBacklog_;
111 this->start = start_;
114 this->length =
hasFuture ? maxSubSectorLen : remainder;
115 this->totalSectorLength = totalSectorLen;
116 this->maxSubSectorLength = maxSubSectorLen;