MCPcopy Create free account
hub / github.com/Niko1221/Strata / ring_stash_bytes

Method ring_stash_bytes

engine/src/core/dflash2.cpp:814–818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

812
813uint64_t Dflash2Drafter::ring_log_bytes() const { return cur_.bytes(); }
814uint64_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.

Callers 1

mainFunction · 0.45

Calls 1

bytesMethod · 0.45

Tested by 1

mainFunction · 0.36