Home
last modified time | relevance | path

Searched refs:spend (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c168 /* Calculate the time spend on the hw */
176 /* When the fence is not even scheduled it can't have spend time */ in amdgpu_ctx_fence_time()
181 /* When it is still running account how much already spend */ in amdgpu_ctx_fence_time()
418 ktime_t spend; in amdgpu_ctx_fini() local
420 spend = amdgpu_ctx_fini_entity(adev, ctx->entities[i][j]); in amdgpu_ctx_fini()
421 atomic64_add(ktime_to_ns(spend), &mgr->time_spend[i]); in amdgpu_ctx_fini()
983 ktime_t spend; in amdgpu_ctx_mgr_usage() local
988 spend = amdgpu_ctx_entity_time(ctx, centity); in amdgpu_ctx_mgr_usage()
989 usage[hw_ip] = ktime_add(usage[hw_ip], spend); in amdgpu_ctx_mgr_usage()

Completed in 2 milliseconds