Searched refs:snapshot_prev (Results 1 – 1 of 1) sorted by relevance
195 uint64_t *snapshot_prev, *snapshot_new; in riscv_pmu_icount_update_priv() local209 snapshot_prev = env->pmu_fixed_ctrs[1].counter_virt_prev; in riscv_pmu_icount_update_priv()212 snapshot_prev = env->pmu_fixed_ctrs[1].counter_prev; in riscv_pmu_icount_update_priv()226 delta = current_icount - snapshot_prev[env->priv]; in riscv_pmu_icount_update_priv()235 uint64_t *snapshot_prev, *snapshot_new; in riscv_pmu_cycle_update_priv() local249 snapshot_prev = env->pmu_fixed_ctrs[0].counter_virt_prev; in riscv_pmu_cycle_update_priv()252 snapshot_prev = env->pmu_fixed_ctrs[0].counter_prev; in riscv_pmu_cycle_update_priv()262 delta = current_ticks - snapshot_prev[env->priv]; in riscv_pmu_cycle_update_priv()