This is implemented by evmone in https://github.com/ethereum/evmone/commit/a236b9828f9ae1ac257d7c0cb56f654e3a45c7ea#diff-edccf78e9152726b4c97cee57b2b1433R104-R124
Stats about EVM executions are agregated by 1000 blocks.
- start block
- end block
- number of executions (samples)
- total memory
- memory size per execution