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

/linux-4.4.14/drivers/gpu/drm/msm/
H A Dmsm_gpu.c375 gpu->activetime += elapsed; update_sw_cntrs()
392 gpu->activetime = gpu->totaltime = 0; msm_gpu_perfcntr_start()
404 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime, msm_gpu_perfcntr_sample() argument
417 *activetime = gpu->activetime; msm_gpu_perfcntr_sample()
420 gpu->activetime = gpu->totaltime = 0; msm_gpu_perfcntr_sample()
H A Dmsm_gpu.h75 uint32_t totaltime, activetime; /* sw counters */ member in struct:msm_gpu
159 int msm_gpu_perfcntr_sample(struct msm_gpu *gpu, uint32_t *activetime,
H A Dmsm_perf.c91 uint32_t activetime = 0, totaltime = 0; refill_buf() local
101 ret = msm_gpu_perfcntr_sample(gpu, &activetime, &totaltime, refill_buf()
106 val = totaltime ? 1000 * activetime / totaltime : 0; refill_buf()

Completed in 73 milliseconds