cntfrq_el0精度问题

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
performance

Research direction

Start by reviewing how mperf accesses or measures cntfrq_el0 and PMCCNTR_EL0. The issue asks whether cntfrq_el0 provides cycle-level precision and whether PMCCNTR_EL0 requires kernel-side enablement or root access; the expected behavior and any code location are not specified.

Written by the indexing model from the issue text.

Description

咨询一下,cntfrq_el0的精度是不是达不到cycle的级别,想要达到cycle的级别还得用PMCCNTR_EL0
但是PMCCNTR_EL0需要root权限才行是吧?好像需要先在内核态使能才行

Dominant language
C++
Stars
197
Forks
32
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MegEngine/mperf

All issues in MegEngine/mperf

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.