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

Method sample

engine/src/platform/vram_guard.cpp:334–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334VramSnapshot VramGuard::sample() {
335 Impl& m = *p_;
336 if (!m.enabled) return VramSnapshot{};
337 std::lock_guard<std::mutex> g(m.mu);
338 m.last = m.read();
339 return m.last;
340}
341
342uint64_t VramGuard::spare_for_growth() {
343 Impl& m = *p_;

Callers 6

pcie_balance_windowMethod · 0.45
mainFunction · 0.45
dotsFunction · 0.45
code_corpusFunction · 0.45
make_reasoningFunction · 0.45
make_longctxFunction · 0.45

Calls 1

readMethod · 0.45

Tested by 1

mainFunction · 0.36