procstats.py: moved statistic reporting operations to separate functions

Grouped operations for collecting and printing measurement values in
separate functions.
This allows easier deactivation of not needed reporting topics