MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / get_runtime_stats

Function get_runtime_stats

python/src/runtime.rs:169–171  ·  view source on GitHub ↗

Get runtime statistics for monitoring

()

Source from the content-addressed store, hash-verified

167
168/// Get runtime statistics for monitoring
169pub(crate) fn get_runtime_stats() -> Option<RuntimeStats> {
170 GRAPHBIT_RUNTIME.get().map(|runtime| runtime.stats())
171}
172
173/// Check if runtime is initialized
174pub(crate) fn is_runtime_initialized() -> bool {

Callers 2

get_system_infoFunction · 0.85
health_checkFunction · 0.85

Calls 2

statsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected