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
Unknown Object (File)
Sat, Apr 20, 4:19 AM
Unknown Object (File)
Mar 1 2024, 8:15 PM
Unknown Object (File)
Feb 23 2024, 4:54 AM
Unknown Object (File)
Feb 18 2024, 11:34 PM
Unknown Object (File)
Feb 5 2024, 9:39 PM
Unknown Object (File)
Dec 22 2023, 8:53 PM
Unknown Object (File)
Dec 16 2023, 3:25 AM
Unknown Object (File)
Dec 6 2023, 12:25 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
rP FreeBSD ports repository
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.