MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / prof_getpid

Function prof_getpid

deps/memkind/src/jemalloc/src/prof.c:1418–1425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1416#endif
1417
1418static int
1419prof_getpid(void) {
1420#ifdef _WIN32
1421 return GetCurrentProcessId();
1422#else
1423 return getpid();
1424#endif
1425}
1426
1427static bool
1428prof_dump_maps(bool propagate_err) {

Callers 2

prof_dump_mapsFunction · 0.70
prof_dump_filenameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected