nim-works / loony

A high throughput MPMC lock-free queue based on a paper by Giersch, Nolte et al implemented in pure Nim.

Home Page:https://nim-works.github.io/loony/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugging helpers

shayanhabibi opened this issue · comments

Using some kind of flag like -d:loonyDebug want to be able to count and relay the number of enqueues and dequeues performed with the use of a queue; allocations and deallocations of nodes; index tracking/alert when reaching overflow etc. I don't mind if it affects performance.