examples: add cache effectiveness stats to gencache.stp