diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-28 11:09:02 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-28 11:09:02 +0100 |
commit | dce4fbc640fc41241c77aaf31da51b8fcc0f11d9 (patch) | |
tree | a0bdf4412bc7556c0b1c24f1e5f401c1960eb8c4 /tests/fifo.lua | |
parent | caf556e2dcb3df4992dd386a2b37535df42fc880 (diff) | |
download | lanes-dce4fbc640fc41241c77aaf31da51b8fcc0f11d9.tar.gz lanes-dce4fbc640fc41241c77aaf31da51b8fcc0f11d9.tar.bz2 lanes-dce4fbc640fc41241c77aaf31da51b8fcc0f11d9.zip |
C++ migration: less kludgy Linda name management with a std::variant
Diffstat (limited to 'tests/fifo.lua')
-rw-r--r-- | tests/fifo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fifo.lua b/tests/fifo.lua index 3d6e140..498f540 100644 --- a/tests/fifo.lua +++ b/tests/fifo.lua | |||
@@ -52,7 +52,7 @@ for key,count in pairs(fifo_linda:count(A.channel, B.channel)) do | |||
52 | print("channel " .. key .. " contains " .. count .. " entries.") | 52 | print("channel " .. key .. " contains " .. count .. " entries.") |
53 | -- print(i, key_count[1], key_count[2]) | 53 | -- print(i, key_count[1], key_count[2]) |
54 | end | 54 | end |
55 | print "Dumping linda stats.. [3]" -- count everything | 55 | print "Dumping linda stats.. [4]" -- count everything |
56 | for key,contents in pairs(fifo_linda:dump()) do | 56 | for key,contents in pairs(fifo_linda:dump()) do |
57 | print("channel " .. key .. ": limit=".. contents.limit, " first=" .. contents.first, " count=" .. contents.count) | 57 | print("channel " .. key .. ": limit=".. contents.limit, " first=" .. contents.first, " count=" .. contents.count) |
58 | for k,v in pairs(contents.fifo) do | 58 | for k,v in pairs(contents.fifo) do |