|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
#include <gtest/gtest.h>#include <kcenon/monitoring/core/event_bus.h>#include <kcenon/monitoring/core/event_types.h>#include <atomic>#include <chrono>#include <latch>#include <thread>#include <vector>#include <kcenon/monitoring/core/performance_monitor.h>
Go to the source code of this file.
Classes | |
| class | MonitoringThreadSafetyTest |
| class | PerformanceProfilerThreadSafetyTest |
| class | PerformanceMonitorThreadSafetyTest |
Functions | |
| TEST_F (MonitoringThreadSafetyTest, ConcurrentEventPublication) | |
| TEST_F (MonitoringThreadSafetyTest, MultipleEventTypesConcurrent) | |
| TEST_F (MonitoringThreadSafetyTest, MultipleSubscribersConcurrent) | |
| TEST_F (MonitoringThreadSafetyTest, DynamicSubscriptionChanges) | |
| TEST_F (MonitoringThreadSafetyTest, EventPriorityConcurrent) | |
| TEST_F (MonitoringThreadSafetyTest, HighVolumeStressTest) | |
| TEST_F (MonitoringThreadSafetyTest, MemorySafetyTest) | |
| TEST_F (PerformanceProfilerThreadSafetyTest, ConcurrentSampleRecording) | |
| TEST_F (PerformanceProfilerThreadSafetyTest, ConcurrentReadWrite) | |
| TEST_F (PerformanceProfilerThreadSafetyTest, ConcurrentLockFreeModeToggle) | |
| TEST_F (PerformanceMonitorThreadSafetyTest, ConcurrentThresholdModification) | |
| TEST_F (PerformanceMonitorThreadSafetyTest, ConcurrentProfilingOperations) | |
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| ConcurrentEventPublication | ) |
Definition at line 40 of file thread_safety_tests.cpp.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| DynamicSubscriptionChanges | ) |
Definition at line 260 of file thread_safety_tests.cpp.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| EventPriorityConcurrent | ) |
Definition at line 321 of file thread_safety_tests.cpp.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| HighVolumeStressTest | ) |
Definition at line 381 of file thread_safety_tests.cpp.
References kcenon::monitoring::logging_metric_event::logging_stats::error_count, and kcenon::monitoring::logging_metric_event::logging_stats::total_logs.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| MemorySafetyTest | ) |
Definition at line 435 of file thread_safety_tests.cpp.
References kcenon::monitoring::event_bus_config::auto_start, kcenon::monitoring::system_resource_event::resource_stats::cpu_usage_percent, kcenon::monitoring::event_bus_config::max_queue_size, and kcenon::monitoring::event_bus_config::worker_thread_count.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| MultipleEventTypesConcurrent | ) |
Definition at line 103 of file thread_safety_tests.cpp.
References kcenon::monitoring::thread_pool_metric_event::thread_pool_stats::active_threads, kcenon::monitoring::system_resource_event::resource_stats::cpu_usage_percent, kcenon::monitoring::system_resource_event::resource_stats::memory_used_bytes, and kcenon::monitoring::thread_pool_metric_event::thread_pool_stats::queued_tasks.
| TEST_F | ( | MonitoringThreadSafetyTest | , |
| MultipleSubscribersConcurrent | ) |
Definition at line 187 of file thread_safety_tests.cpp.
References kcenon::monitoring::system_resource_event::resource_stats::cpu_usage_percent.
| TEST_F | ( | PerformanceMonitorThreadSafetyTest | , |
| ConcurrentProfilingOperations | ) |
Definition at line 689 of file thread_safety_tests.cpp.
References kcenon::monitoring::timer.
| TEST_F | ( | PerformanceMonitorThreadSafetyTest | , |
| ConcurrentThresholdModification | ) |
Definition at line 648 of file thread_safety_tests.cpp.
| TEST_F | ( | PerformanceProfilerThreadSafetyTest | , |
| ConcurrentLockFreeModeToggle | ) |
Definition at line 604 of file thread_safety_tests.cpp.
| TEST_F | ( | PerformanceProfilerThreadSafetyTest | , |
| ConcurrentReadWrite | ) |
Definition at line 549 of file thread_safety_tests.cpp.
| TEST_F | ( | PerformanceProfilerThreadSafetyTest | , |
| ConcurrentSampleRecording | ) |
Definition at line 508 of file thread_safety_tests.cpp.