| 2577 | } |
| 2578 | |
| 2579 | uint32_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 | |
| 2587 | uint32_t WasmInstance::getMemorySize() const noexcept { |
| 2588 | uint32_t totalSize = 0; |