|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Integration tests for lock-free collector components (Sprint 3-4) More...
#include <gtest/gtest.h>#include <kcenon/monitoring/core/thread_local_buffer.h>#include <kcenon/monitoring/core/central_collector.h>#include <thread>#include <vector>
Go to the source code of this file.
Classes | |
| class | LockFreeCollectorTest |
Functions | |
| TEST_F (LockFreeCollectorTest, BasicSampleRecording) | |
| TEST_F (LockFreeCollectorTest, BufferAutoFlush) | |
| TEST_F (LockFreeCollectorTest, MultiThreadedCollection) | |
| TEST_F (LockFreeCollectorTest, LRUEviction) | |
| TEST_F (LockFreeCollectorTest, GetAllProfiles) | |
| TEST_F (LockFreeCollectorTest, ClearCollector) | |
| TEST_F (LockFreeCollectorTest, ProfileNotFound) | |
Integration tests for lock-free collector components (Sprint 3-4)
Definition in file test_lock_free_collector.cpp.
| TEST_F | ( | LockFreeCollectorTest | , |
| BasicSampleRecording | ) |
Definition at line 27 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::flush(), kcenon::monitoring::thread_local_buffer::record(), and kcenon::monitoring::thread_local_buffer::size().

| TEST_F | ( | LockFreeCollectorTest | , |
| BufferAutoFlush | ) |
Definition at line 63 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::is_full(), kcenon::monitoring::thread_local_buffer::record(), kcenon::monitoring::thread_local_buffer::record_auto_flush(), and kcenon::monitoring::thread_local_buffer::size().

| TEST_F | ( | LockFreeCollectorTest | , |
| ClearCollector | ) |
Definition at line 179 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::flush(), and kcenon::monitoring::thread_local_buffer::record().

| TEST_F | ( | LockFreeCollectorTest | , |
| GetAllProfiles | ) |
Definition at line 154 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::flush(), and kcenon::monitoring::thread_local_buffer::record().

| TEST_F | ( | LockFreeCollectorTest | , |
| LRUEviction | ) |
Definition at line 134 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::flush(), and kcenon::monitoring::thread_local_buffer::record_auto_flush().

| TEST_F | ( | LockFreeCollectorTest | , |
| MultiThreadedCollection | ) |
Definition at line 87 of file test_lock_free_collector.cpp.
References kcenon::monitoring::thread_local_buffer::flush(), and kcenon::monitoring::thread_local_buffer::record_auto_flush().

| TEST_F | ( | LockFreeCollectorTest | , |
| ProfileNotFound | ) |
Definition at line 203 of file test_lock_free_collector.cpp.