MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / get

Method get

src/prof/src/jemalloc.rs:66–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64
65impl JemallocStats {
66 pub fn get() -> anyhow::Result<JemallocStats> {
67 epoch::advance()?;
68 Ok(JemallocStats {
69 active: stats::active::read()?,
70 allocated: stats::allocated::read()?,
71 metadata: stats::metadata::read()?,
72 resident: stats::resident::read()?,
73 retained: stats::retained::read()?,
74 })
75 }
76}
77
78/// Metrics for jemalloc.

Callers 15

runFunction · 0.45
scan_new_bytesMethod · 0.45
handle_connectionMethod · 0.45
get_connectionMethod · 0.45
peek_byteMethod · 0.45
decode_textMethod · 0.45
decode_text_into_rowMethod · 0.45
into_protoMethod · 0.45
any_timezoneFunction · 0.45
handle_getFunction · 0.45
insertMethod · 0.45
check_bytesMethod · 0.45

Calls 2

advanceFunction · 0.85
readFunction · 0.85

Tested by

no test coverage detected