Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/riscv/
H A Dsbi_pmu_test.c279 unsigned long counter_value_pre, counter_value_post; in test_pmu_event() local
283 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event()
291 __GUEST_ASSERT(counter_value_post > counter_value_pre, in test_pmu_event()
293 counter_value_post, counter_value_pre); in test_pmu_event()
302 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event()
307 __GUEST_ASSERT(counter_value_pre > counter_value_post, in test_pmu_event()
309 counter_value_post, counter_value_pre); in test_pmu_event()
327 unsigned long counter_value_pre, counter_value_post; in test_pmu_event_snapshot() local
332 counter_value_pre = read_counter(counter, ctrinfo_arr[counter]); in test_pmu_event_snapshot()
341 __GUEST_ASSERT(counter_value_post > counter_value_pre, in test_pmu_event_snapshot()
[all …]