Skip to content

Commit dd5197f

Browse files
committed
Update test_MPSC.cpp
1 parent 038c1b4 commit dd5197f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_MPSC.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "daking/MPSC_queue.hpp"
99

1010
using daking::MPSC_queue;
11-
using daking::low_jitter;
11+
using daking::stable;
1212

1313
// Use default template parameters for testing
1414
using TestQueue = MPSC_queue<int>;
@@ -63,8 +63,8 @@ TEST(MPSCQueueBasicTest, EmplaceMove) {
6363

6464
TEST(MPSCQueueMemoryTest, GlobalResourceSharingAndDestruction) {
6565
// Two instances with the same template parameters share global resources
66-
auto* q1 = new MPSC_queue<double, low_jitter<128>>();
67-
auto* q2 = new MPSC_queue<double, low_jitter<128>>();
66+
auto* q1 = new MPSC_queue<double, stable<128>>();
67+
auto* q2 = new MPSC_queue<double, stable<128>>();
6868

6969
// Allocate some global nodes
7070
q1->reserve_global_chunk(5);
@@ -80,7 +80,7 @@ TEST(MPSCQueueMemoryTest, GlobalResourceSharingAndDestruction) {
8080
}
8181

8282
TEST(MPSCQueueMemoryTest, ReserveGlobalChunk) {
83-
using Q = MPSC_queue<long, low_jitter<64>>;
83+
using Q = MPSC_queue<long, stable<64>>;
8484
Q q; // Create an instance to register global manager
8585
size_t initial_size = q.global_node_size_apprx();
8686
EXPECT_EQ(initial_size, 64);
@@ -227,7 +227,7 @@ struct CountingAllocator : Counter {
227227
};
228228

229229
TEST(MPSCQueueAllocatorTest, CustomAllocatorUsage) {
230-
using AllocQueue = MPSC_queue<int, low_jitter<256, 64>, CountingAllocator<int>>;
230+
using AllocQueue = MPSC_queue<int, stable<256, 64>, CountingAllocator<int>>;
231231
AllocQueue* queue = new AllocQueue();
232232
const size_t n = 1000;
233233
for (size_t i = 0; i < n; ++i) {

0 commit comments

Comments
 (0)