contrib/nitrpg: make stats periodized