An implementation of the counter stack[1] data structure/algorithm for generating approximate cache miss ratio curves (MRCs).
[1] Wires, J., Ingram, S., Drudi, Z., Harvey, N. J., Warfield, A., & Data, C. (2014, October). Characterizing storage workloads with counter stacks. In 11th USENIX Symposium on Operating Systems Design and Implementation (OSDI 14), Broomfield, CO.