Lines Matching +full:pages +full:- +full:count
4 * SPDX-License-Identifier: Apache-2.0
43 /* A semaphore with an initial count, used to allow only one thread to
62 m.metairq_latency = k_cycle_get_32() - m.timestamp; in metairq_fn()
103 int64_t d = (int32_t) (array[i] - *mean); in calc_stats()
114 * metairq latency for the very first event of 7-8us. Maybe in record_latencies()
115 * it needs to fault in the our code pages in the host? in record_latencies()
117 if (IS_ENABLED(CONFIG_QEMU_TARGET) && m->seq == 0) { in record_latencies()
125 if (m->seq >= MAX_EVENTS) { in record_latencies()
129 int t = m->target; in record_latencies()
136 stats.mirq_latencies[atomic_inc(&stats.num_mirq)] = m->metairq_latency; in record_latencies()
139 * a semaphore with an initial count of 1 to ensure that only in record_latencies()
144 if (m->seq == MAX_EVENTS - 1) { in record_latencies()
154 LOG_INF(" ---------- Latency (cyc) ----------"); in record_latencies()
199 while (k_cycle_get_32() - start < m.proc_cyc) { in thread_fn()
205 uint32_t dur = k_cycle_get_32() - start; in thread_fn()
217 start - m.timestamp, m.proc_cyc, dur); in thread_fn()
221 record_latencies(&m, start - m.timestamp); in thread_fn()
234 int prio = (-NUM_THREADS/2) + i; in main()