Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into wip-pcp2pdf-integration
Merge branch 'wip-pcp2pdf-integration' of github.com:mbaldessari/pcp into wip-pcp2pdf-integration
Split frequency calculation in a separate function