MCPcopy Create free account
hub / github.com/apache/arrow / jemalloc_peak_reset

Function jemalloc_peak_reset

cpp/src/arrow/memory_pool_jemalloc.cc:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203Status jemalloc_peak_reset() {
204 int err = mallctl("thread.peak.reset", nullptr, nullptr, nullptr, 0);
205 return err ? arrow::internal::IOErrorFromErrno(err, "Failed resetting thread.peak.")
206 : Status::OK();
207}
208
209Result<std::string> jemalloc_stats_string(const char* opts) {
210 std::string stats;

Callers

nothing calls this directly

Calls 2

IOErrorFromErrnoFunction · 0.85
OKFunction · 0.70

Tested by

no test coverage detected