https://github.com/kayaklee/libhalog/blob/master/test/clib/hv_sample_lifo.cpp
https://github.com/kayaklee/libhalog/blob/master/test/clib/hv_sample_fifo.cpp
https://github.com/kayaklee/libhalog/blob/master/test/clib/hv_sample_lifo.cpp
https://github.com/kayaklee/libhalog/blob/master/test/clib/hv_sample_fifo.cpp