Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_query_perfcnt.c37 struct v3d_perfmon_state *perfmon; member
131 kperfmon_destroy(struct v3d_context *v3d, struct v3d_perfmon_state *perfmon) in kperfmon_destroy() argument
135 destroyreq.id = perfmon->kperfmon_id; in kperfmon_destroy()
139 perfmon->kperfmon_id, strerror(errno)); in kperfmon_destroy()
190 assert(pquery->perfmon); in v3d_destroy_query_perfcnt()
192 if (v3d->active_perfmon == pquery->perfmon) { in v3d_destroy_query_perfcnt()
196 if (pquery->perfmon->kperfmon_id) in v3d_destroy_query_perfcnt()
197 kperfmon_destroy(v3d, pquery->perfmon); in v3d_destroy_query_perfcnt()
199 v3d_fence_unreference(&pquery->perfmon->last_job_fence); in v3d_destroy_query_perfcnt()
200 free(pquery->perfmon); in v3d_destroy_query_perfcnt()
[all …]
/third_party/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c421 struct v3d_simulator_perfmon *perfmon = file->perfmons[perfid - 1]; in v3d_get_simulator_perfmon() local
424 return perfmon; in v3d_get_simulator_perfmon()
431 struct v3d_simulator_perfmon *perfmon; in v3d_simulator_perfmon_switch() local
436 perfmon = v3d_get_simulator_perfmon(fd, file->active_perfid); in v3d_simulator_perfmon_switch()
437 if (perfmon) in v3d_simulator_perfmon_switch()
439 perfmon->ncounters, in v3d_simulator_perfmon_switch()
440 perfmon->values); in v3d_simulator_perfmon_switch()
442 perfmon = v3d_get_simulator_perfmon(fd, perfid); in v3d_simulator_perfmon_switch()
443 if (perfmon) in v3d_simulator_perfmon_switch()
445 perfmon->ncounters, in v3d_simulator_perfmon_switch()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_query.c123 for (uint32_t i = 0; i < pool->perfmon.nperfmons; i++) { in kperfmon_create()
124 assert(i * DRM_V3D_MAX_PERF_COUNTERS < pool->perfmon.ncounters); in kperfmon_create()
127 .ncounters = MIN2(pool->perfmon.ncounters - in kperfmon_create()
132 &pool->perfmon.counters[i * DRM_V3D_MAX_PERF_COUNTERS], in kperfmon_create()
154 for (uint32_t i = 0; i < pool->perfmon.nperfmons; i++) { in kperfmon_destroy()
230 pool->perfmon.ncounters = pq_info->counterIndexCount; in v3dv_CreateQueryPool()
232 pool->perfmon.counters[i] = pq_info->pCounterIndices[i]; in v3dv_CreateQueryPool()
234 pool->perfmon.nperfmons = DIV_ROUND_UP(pool->perfmon.ncounters, in v3dv_CreateQueryPool()
237 assert(pool->perfmon.nperfmons <= V3DV_MAX_PERFMONS); in v3dv_CreateQueryPool()
266 for (uint32_t j = 0; j < pool->perfmon.nperfmons; j++) in v3dv_CreateQueryPool()
[all …]
Dv3dv_private.h191 bool perfmon; member
1457 } perfmon; member
Dv3dv_device.c142 .KHR_performance_query = device->caps.perfmon, in get_device_extensions()
826 device->caps.perfmon = in physical_device_init()
1326 physical_device->caps.perfmon; in v3dv_GetPhysicalDeviceFeatures2()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_query_acc_perfmon.c52 pm_add_signal(struct etna_pm_query *pq, struct etna_perfmon *perfmon, in pm_add_signal() argument
55 struct etna_perfmon_signal *signal = etna_pm_query_signal(perfmon, cfg->source); in pm_add_signal()
112 if (!etna_pm_cfg_supported(ctx->screen->perfmon, cfg)) in perfmon_allocate()
119 pm_add_signal(pq, ctx->screen->perfmon, cfg); in perfmon_allocate()
Detnaviv_perfmon.h118 etna_pm_query_signal(struct etna_perfmon *perfmon,
122 etna_pm_cfg_supported(struct etna_perfmon *perfmon, in etna_pm_cfg_supported() argument
125 struct etna_perfmon_signal *signal = etna_pm_query_signal(perfmon, cfg->source); in etna_pm_cfg_supported()
Detnaviv_perfmon.c426 etna_pm_query_signal(struct etna_perfmon *perfmon, in etna_pm_query_signal() argument
431 domain = etna_perfmon_get_dom_by_name(perfmon, source->domain); in etna_pm_query_signal()
441 screen->perfmon = etna_perfmon_create(screen->pipe); in etna_pm_query_setup()
443 if (!screen->perfmon) in etna_pm_query_setup()
449 if (!etna_pm_cfg_supported(screen->perfmon, cfg)) in etna_pm_query_setup()
Detnaviv_screen.h81 struct etna_perfmon *perfmon; member
Detnaviv_screen.c95 if (screen->perfmon) in etna_screen_destroy()
96 etna_perfmon_del(screen->perfmon); in etna_screen_destroy()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_query.c200 if (ctx->perfmon) in vc4_begin_query()
225 ctx->perfmon = query->hwperfmon; in vc4_begin_query()
238 if (ctx->perfmon != query->hwperfmon) in vc4_end_query()
245 ctx->perfmon = NULL; in vc4_end_query()
Dvc4_job.c92 if (vc4->perfmon) in vc4_job_create()
93 job->perfmon = vc4->perfmon; in vc4_job_create()
457 if (job->perfmon) in vc4_job_submit()
458 submit.perfmonid = job->perfmon->id; in vc4_job_submit()
500 if (job->perfmon) in vc4_job_submit()
501 job->perfmon->last_seqno = submit.seqno; in vc4_job_submit()
Dvc4_context.h299 struct vc4_hwperfmon *perfmon; member
386 struct vc4_hwperfmon *perfmon; member
/third_party/mesa3d/src/mesa/main/
Dperformance_monitor.c340 struct gl_perf_monitor_state *perfmon = &ctx->PerfMonitor; in _mesa_free_perfomance_monitor_groups() local
343 for (gid = 0; gid < perfmon->NumGroups; gid++) { in _mesa_free_perfomance_monitor_groups()
344 FREE((void *)perfmon->Groups[gid].Counters); in _mesa_free_perfomance_monitor_groups()
346 FREE((void *)perfmon->Groups); in _mesa_free_perfomance_monitor_groups()
355 struct gl_perf_monitor_state *perfmon = &ctx->PerfMonitor; in init_groups() local
371 struct gl_perf_monitor_group *g = &groups[perfmon->NumGroups]; in init_groups()
432 perfmon->NumGroups++; in init_groups()
434 perfmon->Groups = groups; in init_groups()
/third_party/python/Tools/freeze/
Dextensions_win32.ini64 [perfmon] section
65 dsp=%PYTHONEX%\win32\perfmon.dsp argument
/third_party/libdrm/etnaviv/
Detnaviv_drmif.h198 void etna_perfmon_del(struct etna_perfmon *perfmon);
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_drmif.h213 void etna_perfmon_del(struct etna_perfmon *perfmon);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64.td79 def FeaturePerfMon : SubtargetFeature<"perfmon", "HasPerfMon", "true",
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARM.td150 def FeaturePerfMon : SubtargetFeature<"perfmon", "HasPerfMon", "true",
/third_party/mesa3d/docs/relnotes/
D22.0.0.rst738 - etnaviv: add two new HI related perfmon counter
1075 - mesa/st/perfmon: rebalance CALLOC_STRUCT/FREE
1117 - mesa/st: merge perfmon object from st into mesa
1118 - mesa/st: merge perfmon counters/groups objects from st into mesa
1119 - mesa/st: merge perfmon groups init/cleanup from st into mesa
1120 - mesa/st: move perfmon code from st into mesa
1121 - mesa/st: cleanup last bits of st perfmon code.
D20.1.0.rst1089 - etnaviv: move generic perfmon functionality into own file
1090 - etnaviv: convert perfmon queries to acc queries
D21.3.0.rst2299 - v3d: print error on perfmon destroy error
/third_party/mesa3d/docs/
Denvvars.rst318 ``perfmon``
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenSubtargetInfo.inc315 …{ "perfmon", "Enable support for Performance Monitor extensions", ARM::FeaturePerfMon, { { { 0x0UL…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenSubtargetInfo.inc260 …{ "perfmon", "Enable ARMv8 PMUv3 Performance Monitors extension", AArch64::FeaturePerfMon, { { { 0…