Searched refs:cq (Results 1 - 2 of 2) sorted by relevance

/gem5/src/base/
H A Dcircular_queue.test.cc49 CircularQueue<uint32_t> cq(cq_size);
51 ASSERT_EQ(cq.capacity(), cq_size);
52 ASSERT_EQ(cq.size(), 0);
53 ASSERT_TRUE(cq.empty());
61 CircularQueue<uint32_t> cq(cq_size);
62 ASSERT_EQ(cq.head(), cq.tail() + 1);
74 CircularQueue<uint32_t> cq(cq_size);
77 cq.push_back(first_element);
78 ASSERT_EQ(cq
[all...]
H A Dcircular_queue.hh159 iterator(CircularQueue* cq, uint32_t idx, uint32_t round) argument
160 : _cq(cq), _idx(idx), _round(round) {}
290 * the iterator round equals the cq round unless the head is at the
291 * zero position and the round is one more than the cq round.

Completed in 7 milliseconds