Added statistics collection infrastructure in Bochs and
implemented important CPU statistics which were used for Bochs CPU model performance analysis.
old statistics code from paging.cc and cpu.cc is replaced with new infrastructure.

In order to enale statitics collection in Bochs CPU:

- Enable statistics @ compilation time in cpu/cpustats.h
- Dump statistics periodically by adding -dumpstats N into Bochs command line


git-svn-id: http://svn.code.sf.net/p/bochs/code/trunk@12501 6c8e4198-a580-4521-a02f-c9ae86df1db9
fixed comment

git-svn-id: http://svn.code.sf.net/p/bochs/code/trunk@12502 6c8e4198-a580-4521-a02f-c9ae86df1db9
Fixed crash when using a "fixed" type VPC image.


git-svn-id: http://svn.code.sf.net/p/bochs/code/trunk@12503 6c8e4198-a580-4521-a02f-c9ae86df1db9
fixed diagnostic message

git-svn-id: http://svn.code.sf.net/p/bochs/code/trunk@12504 6c8e4198-a580-4521-a02f-c9ae86df1db9
rework in CPUID code (fixed code duplication). Re-enable perfmon reporting in CPUID because Win8/Win10 installation doesn't want to start without perfmon reported. TODO: implement basic perfmon support (at least only fixed counters) because win7-64 doesn't install with perfmon reported but not implemented

git-svn-id: http://svn.code.sf.net/p/bochs/code/trunk@12505 6c8e4198-a580-4521-a02f-c9ae86df1db9