Home
last modified time | relevance | path

Searched refs:PerfMonitor (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/main/
Dperformance_monitor.c51 ctx->PerfMonitor.Monitors = _mesa_NewHashTable(); in _mesa_init_performance_monitors()
52 ctx->PerfMonitor.NumGroups = 0; in _mesa_init_performance_monitors()
53 ctx->PerfMonitor.Groups = NULL; in _mesa_init_performance_monitors()
59 if (unlikely(!ctx->PerfMonitor.Groups)) in init_groups()
77 rzalloc_array(NULL, unsigned, ctx->PerfMonitor.NumGroups); in new_performance_monitor()
80 ralloc_array(NULL, BITSET_WORD *, ctx->PerfMonitor.NumGroups); in new_performance_monitor()
85 for (i = 0; i < ctx->PerfMonitor.NumGroups; i++) { in new_performance_monitor()
86 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[i]; in new_performance_monitor()
117 _mesa_HashDeleteAll(ctx->PerfMonitor.Monitors, in _mesa_free_performance_monitors()
119 _mesa_DeleteHashTable(ctx->PerfMonitor.Monitors); in _mesa_free_performance_monitors()
[all …]
Dmtypes.h4535 struct gl_perf_monitor_state PerfMonitor; member
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_perfmon.c54 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
55 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
87 for (gid = 0; gid < ctx->PerfMonitor.NumGroups; gid++) { in init_perf_monitor()
88 const struct gl_perf_monitor_group *g = &ctx->PerfMonitor.Groups[gid]; in init_perf_monitor()
296 type = ctx->PerfMonitor.Groups[gid].Counters[cid].Type; in st_GetPerfMonitorResult()
346 struct gl_perf_monitor_state *perfmon = &st->ctx->PerfMonitor; in st_InitPerfMonitorGroups()
456 struct gl_perf_monitor_state *perfmon = &st->ctx->PerfMonitor; in st_destroy_perfmon()