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

Method sample

engine/tests/core/memory_guard_test.cpp:61–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60 void rss_file(uint64_t bytes) { put("status", "Name:\tstrata\nRssFile:\t" + std::to_string(bytes / 1024) + " kB\n"); }
61 std::optional<HostMemoryReading> sample(uint64_t explicit_limit = 0) const { return sample_host_memory(paths(), explicit_limit); }
62};
63
64} // namespace

Callers 4

mainFunction · 0.45
mainFunction · 0.45
run_watchFunction · 0.45

Calls 1

sample_host_memoryFunction · 0.85

Tested by

no test coverage detected