MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / Stats

Method Stats

src/wasm-v8.cc:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 std::atomic<size_t> freed[CATEGORY_COUNT][CARDINALITY_COUNT];
73
74 Stats() {
75 for (int i = 0; i < CATEGORY_COUNT; ++i) {
76 for (int j = 0; j < CARDINALITY_COUNT; ++j) {
77 made[i][j] = freed[i][j] = 0;
78 }
79 }
80 }
81
82 ~Stats() {
83 // Hack for func data weakly owned by V8 heap.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected