Home
last modified time | relevance | path

Searched refs:pmu_fixed_ctrs (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dpmu.c208 counter_arr = env->pmu_fixed_ctrs[1].counter_virt; in riscv_pmu_icount_update_priv()
209 snapshot_prev = env->pmu_fixed_ctrs[1].counter_virt_prev; in riscv_pmu_icount_update_priv()
211 counter_arr = env->pmu_fixed_ctrs[1].counter; in riscv_pmu_icount_update_priv()
212 snapshot_prev = env->pmu_fixed_ctrs[1].counter_prev; in riscv_pmu_icount_update_priv()
217 snapshot_new = env->pmu_fixed_ctrs[1].counter_virt_prev; in riscv_pmu_icount_update_priv()
219 snapshot_new = env->pmu_fixed_ctrs[1].counter_prev; in riscv_pmu_icount_update_priv()
248 counter_arr = env->pmu_fixed_ctrs[0].counter_virt; in riscv_pmu_cycle_update_priv()
249 snapshot_prev = env->pmu_fixed_ctrs[0].counter_virt_prev; in riscv_pmu_cycle_update_priv()
251 counter_arr = env->pmu_fixed_ctrs[0].counter; in riscv_pmu_cycle_update_priv()
252 snapshot_prev = env->pmu_fixed_ctrs[0].counter_prev; in riscv_pmu_cycle_update_priv()
[all …]
H A Dcpu.h405 PMUFixedCtrState pmu_fixed_ctrs[2]; member
H A Dcsr.c1045 uint64_t *counter_arr_virt = env->pmu_fixed_ctrs[inst].counter_virt; in riscv_pmu_ctr_get_fixed_counters_val()
1046 uint64_t *counter_arr = env->pmu_fixed_ctrs[inst].counter; in riscv_pmu_ctr_get_fixed_counters_val()