MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / open_batch

Method open_batch

modules/engine/runtime/src/io/ram/ram_service.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74IOBatchId RAMService::open_batch(uint64_t n) SKR_NOEXCEPT
75{
76 uint64_t seq = (uint64_t)skr_atomicu64_add_relaxed(&batch_sequence, 1);
77 return skr::static_pointer_cast<IIOBatch>(ram_batch_pool->allocate(this, seq, n));
78}
79
80BlocksRAMRequestId RAMService::open_request() SKR_NOEXCEPT
81{

Callers 4

InstallImplMethod · 0.45
InstallImplMethod · 0.45
requestMethod · 0.45

Calls 2

allocateMethod · 0.45

Tested by

no test coverage detected