[Bug 207068] hwpmc wrap around/sign extension

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 12 03:25:10 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207068

--- Comment #8 from joss.upton at yahoo.com ---
(In reply to Konstantin Belousov from comment #7)
Not sure why you can't reproduce, but I'm doing the equivalent of the shell
script below.  Note the ",usr" and the lowercase p.

  On a 4 core machine:
   while true; do
    for a in 1 2 3 4 5 6 7 8; do
    pmcstat -p CPU_CLK_UNHALTED_CORE,usr perl loop.pl &
    done
    sleep 10
    killall perl
   done

This ensures that the PMCs are csw in/out very often (every hz).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list