MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getMemorySize

Method getMemorySize

Source/Wasm/WasmRuntime.cpp:2579–2585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2577}
2578
2579uint32_t WasmRuntime::getMemorySize() const noexcept {
2580 uint32_t totalSize = 0;
2581 for (const auto& instance : _instances) {
2582 totalSize += instance->getMemorySize();
2583 }
2584 return totalSize;
2585}
2586
2587uint32_t WasmInstance::getMemorySize() const noexcept {
2588 uint32_t totalSize = 0;

Callers 1

updateMethod · 0.80

Calls 1

get_memory_sizeMethod · 0.80

Tested by

no test coverage detected