Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
interrupt_collector.h File Reference

Hardware and software interrupt statistics monitoring collector. More...

#include <atomic>
#include <chrono>
#include <cstdint>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
#include "../interfaces/metric_types_adapter.h"
#include "../plugins/collector_plugin.h"
Include dependency graph for interrupt_collector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::cpu_interrupt_info
 Per-CPU interrupt statistics. More...
 
struct  kcenon::monitoring::interrupt_metrics
 Aggregated interrupt statistics for the system. More...
 
class  kcenon::monitoring::interrupt_info_collector
 Interrupt data collector using platform abstraction layer. More...
 
class  kcenon::monitoring::interrupt_collector
 Hardware and software interrupt statistics monitoring collector. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 
namespace  kcenon::monitoring::platform
 

Detailed Description

Hardware and software interrupt statistics monitoring collector.

This file provides interrupt statistics monitoring using platform-specific APIs. Interrupt monitoring is essential for diagnosing hardware-related performance issues, detecting interrupt storms, and analyzing IRQ balancing problems.

Platform APIs:

  • Linux: /proc/stat (intr line), /proc/softirqs for soft interrupt breakdown
  • macOS: host_statistics() for basic interrupt counts
  • Windows: Not implemented (future: Performance counters)

Definition in file interrupt_collector.h.