Use nanotime instread of binuptime.
This change is for old and legacy platforms and does not impact any armv7 and later.
Might be MFCed to 13.0 once armv6 support is finally dropped in 14.0
Details
Details
- Reviewers
andrew mw - Commits
- rG25bcd81b8d12: armv6/legacy: optimize cpu_getcount performance
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Is this code path used? The only armv6 CPU se support is the bcm2835 which is an arm1176 so should be handled by reading the appropriate register.
Comment Actions
It's not used on any official FreeBSD platform. However, with some out-of-tree BSPs this portion of code becomes active.