The cache statistics framework from my masters thesis