Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH v3] linux-gen: cpu: optimize aarch64 odp_cpu_cycles() implementation #1879

Merged
merged 2 commits into from
Aug 23, 2023

Commits on Aug 23, 2023

  1. test: bench_misc: add new tests

    Add new tests for CPU API functions odp_cpu_hz_id(), odp_cpu_hz_max_id(),
    and odp_cpu_cycles_resolution().
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
    MatiasElo committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3e81aad View commit details
    Browse the repository at this point in the history
  2. linux-gen: cpu: optimize aarch64 odp_cpu_cycles() implementation

    Implement odp_cpu_cycles() function using 'cntvct_el0' virtual counter
    register on aarch64. With a 1 GHz time counter the ODP CPU cycle count
    wraps every 78 hours.
    
    Signed-off-by: Matias Elo <matias.elo@nokia.com>
    Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
    MatiasElo committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    bf216ac View commit details
    Browse the repository at this point in the history