MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / track_operation

Method track_operation

graphlite/src/exec/lock_tracker.rs:19–24  ·  view source on GitHub ↗

ROADMAP v0.6.0 - Lock contention tracking for performance observability

(&self, operation: F)

Source from the content-addressed store, hash-verified

17
18 #[allow(dead_code)] // ROADMAP v0.6.0 - Lock contention tracking for performance observability
19 pub fn track_operation<T, F>(&self, operation: F) -> T
20 where
21 F: FnOnce() -> T,
22 {
23 operation()
24 }
25
26 #[allow(dead_code)] // ROADMAP v0.6.0 - Lock wait time measurement for query profiling
27 pub fn execute_with_lock_tracking<T, F>(&self, operation: F) -> T

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected