aperf/mperf

From: Andriy Gapon <avg_at_freebsd.org>
Date: Tue, 16 Nov 2010 16:37:12 +0200
Many modern processors provide APERF and MPERF MSRs which allow to easily and
reliable calculate average CPU performance level over some interval of time.
This also allows to notice things like performance boost, which is generally
hidden from software.
What would be a proper place to add code that would measure APERF/MPERF ratio?
When should trigger such a measurement and over what interval?
Ideas?

Thanks a lot!
-- 
Andriy Gapon
Received on Tue Nov 16 2010 - 13:37:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC