Add print_freq parameter to control printing frequency of event loop progress
The event loop progress is nice to see when running for short periods in the terminal, however when writing log files it can generate a lot of output, so it would be nice to limit how often it prints. e.g. every 5000
events rather than every 100
. I added a new global parameter print_freq
(default value 100
) that makes this configurable.