Expand description
Comprehensive metrics collection for threading system performance.
This module provides detailed metrics about thread creation, scheduling, context switches, resource usage, and system performance.
Structs§
- Metrics
Collector - Metrics collector that aggregates and manages all metrics.
- Metrics
Report - Complete metrics report.
- System
Metrics - System-wide metrics.
- System
Metrics Snapshot - Snapshot of system metrics for reporting.
- Thread
Metrics - Per-thread metrics tracking.
Statics§
- GLOBAL_
METRICS - Global metrics collector instance.
Functions§
- cleanup_
metrics - Cleanup metrics collection.
- init_
metrics_ collector - Initialize the global metrics collector.