MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / add

Method add

src/codeCache.h:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 void add(CodeCache* lib) {
242 int index = loadAcquire(_count);
243 _libs[index] = lib;
244 _used_memory += lib->usedMemory();
245 storeRelease(_count, index + 1);
246 }
247};
248
249#endif // _CODECACHE_H

Callers

nothing calls this directly

Calls 3

loadAcquireFunction · 0.85
storeReleaseFunction · 0.85
usedMemoryMethod · 0.45

Tested by

no test coverage detected