Lines Matching full:elapsed
2019 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
2042 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
2050 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2064 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2075 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
2078 cycles = trifilter(elapsed); in measure_semaphore_response()
2094 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
2110 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
2136 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
2146 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
2147 elapsed[i] = sema[i] - elapsed[i]; in measure_idle_dispatch()
2149 cycles = trifilter(elapsed); in measure_idle_dispatch()
2165 u32 elapsed[TF_COUNT + 1], cycles; in measure_busy_dispatch() local
2182 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_busy_dispatch()
2211 elapsed[i - 1] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_busy_dispatch()
2223 elapsed[i - 1] = sema[i] - elapsed[i]; in measure_busy_dispatch()
2226 cycles = trifilter(elapsed); in measure_busy_dispatch()
2268 u32 elapsed[TF_COUNT + 1], cycles; in measure_inter_request() local
2297 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_inter_request()
2337 elapsed[i - 1] = sema[i + 1] - sema[i]; in measure_inter_request()
2339 cycles = trifilter(elapsed); in measure_inter_request()
2360 u32 elapsed[TF_COUNT + 1], cycles; in measure_context_switch() local
2381 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_context_switch()
2432 elapsed[i - 1] = sema[2 * i + 2] - sema[2 * i + 1]; in measure_context_switch()
2434 cycles = trifilter(elapsed); in measure_context_switch()
2453 u32 elapsed[TF_COUNT], cycles; in measure_preemption() local
2477 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_preemption()
2525 elapsed[i - 1] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_preemption()
2535 elapsed[i - 1] = sema[2 * i + 0] - elapsed[i - 1]; in measure_preemption()
2537 cycles = trifilter(elapsed); in measure_preemption()
2543 elapsed[i - 1] = sema[2 * i + 1] - sema[2 * i + 0]; in measure_preemption()
2545 cycles = trifilter(elapsed); in measure_preemption()
2573 u32 elapsed[TF_COUNT], cycles; in measure_completion() local
2589 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_completion()
2626 elapsed[i - 1] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_completion()
2634 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_completion()
2636 elapsed[i] = elapsed[i] - sema[i + 1]; in measure_completion()
2639 cycles = trifilter(elapsed); in measure_completion()