|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Unit tests for hot-path optimization helpers. More...
#include <gtest/gtest.h>#include <kcenon/monitoring/utils/hot_path_helper.h>#include <atomic>#include <memory>#include <string>#include <thread>#include <unordered_map>#include <vector>
Go to the source code of this file.
Classes | |
| class | HotPathHelperTest |
Functions | |
| TEST_F (HotPathHelperTest, GetOrCreateNewEntry) | |
| TEST_F (HotPathHelperTest, GetOrCreateExistingEntry) | |
| TEST_F (HotPathHelperTest, GetOrCreateMultipleKeys) | |
| TEST_F (HotPathHelperTest, GetOrCreateWithInitNewEntry) | |
| TEST_F (HotPathHelperTest, GetOrCreateWithInitExistingEntry) | |
| TEST_F (HotPathHelperTest, GetOrCreateAndUpdateNewEntry) | |
| TEST_F (HotPathHelperTest, GetOrCreateAndUpdateExistingEntry) | |
| TEST_F (HotPathHelperTest, ConcurrentGetOrCreate) | |
| TEST_F (HotPathHelperTest, ConcurrentDifferentKeys) | |
| TEST_F (HotPathHelperTest, ConcurrentMixedReadWrite) | |
| TEST_F (HotPathHelperTest, HotPathOptimizationVerification) | |
Unit tests for hot-path optimization helpers.
Definition in file test_hot_path_helper.cpp.
| TEST_F | ( | HotPathHelperTest | , |
| ConcurrentDifferentKeys | ) |
Definition at line 197 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| ConcurrentGetOrCreate | ) |
Definition at line 167 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| ConcurrentMixedReadWrite | ) |
Definition at line 228 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateAndUpdateExistingEntry | ) |
Definition at line 146 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create_and_update().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateAndUpdateNewEntry | ) |
Definition at line 133 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create_and_update().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateExistingEntry | ) |
Definition at line 57 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateMultipleKeys | ) |
Definition at line 76 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateNewEntry | ) |
Definition at line 47 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateWithInitExistingEntry | ) |
Definition at line 108 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create_with_init().

| TEST_F | ( | HotPathHelperTest | , |
| GetOrCreateWithInitNewEntry | ) |
Definition at line 94 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create_with_init().

| TEST_F | ( | HotPathHelperTest | , |
| HotPathOptimizationVerification | ) |
Definition at line 267 of file test_hot_path_helper.cpp.
References kcenon::monitoring::hot_path::get_or_create().
