Calculate average transactions per second

Use OnTxAccepted notifications to track the time every transaction gets
accepted in the memory pool. With the use of a map, the average tps can be
estimated at the end of every simulation.