From 2e8e51dcea5dec866953333dcf951f060fb46b03 Mon Sep 17 00:00:00 2001 From: Rekai Gonzalez-Alberquilla Date: Wed, 26 Apr 2017 17:44:33 +0100 Subject: base: Iterable CircularQueue implementation The former implementation of CircleBuf is functional but a bit too tailored to match a use-case. This patches introduces a new iterable circular queue, which adds some more functionality so it can also be used for the newer LSQ implementation, where iteration and iterators are a very desirable feature. Additional contributors: Gabor Dozsa. Change-Id: I5cfb95c8abc1f5e566a114acdbf23fc52a38ce5e Signed-off-by: Giacomo Gabrielli Reviewed-on: https://gem5-review.googlesource.com/c/13127 Maintainer: Andreas Sandberg Reviewed-by: Daniel Carvalho --- src/base/SConscript | 1 + 1 file changed, 1 insertion(+) (limited to 'src/base/SConscript') diff --git a/src/base/SConscript b/src/base/SConscript index d1ebbc9d4..29f87eb98 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -87,6 +87,7 @@ GTest('addr_range.test', 'addr_range.test.cc') GTest('addr_range_map.test', 'addr_range_map.test.cc') GTest('bitunion.test', 'bitunion.test.cc') GTest('circlebuf.test', 'circlebuf.test.cc') +GTest('circular_queue.test', 'circular_queue.test.cc') DebugFlag('Annotate', "State machine annotation debugging") DebugFlag('AnnotateQ', "State machine annotation queue debugging") -- cgit v1.2.3