Page MenuHomeFreeBSD

Add support for more than 2 perf counters into hwpmc_mips(4)
AbandonedPublic

Authored by sobomax on Mar 15 2016, 4:09 AM.
Tags
None
Referenced Files
F163541311: D5644.id.diff
Fri, Jul 24, 7:20 AM
Unknown Object (File)
Mon, Jul 20, 2:30 AM
Unknown Object (File)
Sun, Jul 19, 1:35 AM
Unknown Object (File)
Wed, Jul 15, 8:05 AM
Unknown Object (File)
Mon, Jul 13, 3:35 AM
Unknown Object (File)
Sat, Jul 4, 12:26 AM
Unknown Object (File)
Mon, Jun 29, 1:29 AM
Unknown Object (File)
Fri, Jun 26, 1:21 AM
Subscribers

Details

Reviewers
None
Summary

o Beef up hwpmc_mips(4) to support more than 2 performance counters on contemporary MIPSes (i.e. 74K and up);

o automatically probe and detect the number of supported counters;

o cleanup and diambiguate access to the PerfCntN and PerfCtlN registers.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sobomax retitled this revision from to Add support for more than 2 perf counters into hwpmc_mips(4).
sobomax updated this object.
sobomax edited the test plan for this revision. (Show Details)
sobomax set the repository for this revision to rS FreeBSD src repository - subversion.
sobomax added a subscriber: adrian.
sobomax changed the repository for this revision from rS FreeBSD src repository - subversion to rP FreeBSD ports repository.

Use consistent names for the control register access macros and functions.