| 812 | |
| 813 | uint64_t Dflash2Drafter::ring_log_bytes() const { return cur_.bytes(); } |
| 814 | uint64_t Dflash2Drafter::ring_stash_bytes() const { |
| 815 | uint64_t b = 0; |
| 816 | for (const Lineage& l : stash_) b += l.bytes(); |
| 817 | return b; |
| 818 | } |
| 819 | |
| 820 | // The log is OFF until this has allocated its pinned staging: a drafter that never ran alloc() (a --parallel slot's clone) keeps the old behaviour instead of |
| 821 | // copying into a null staging buffer. Callable again by a clone's allocation, on the drafter's device. |