• Home
  • Raw
  • Download

Lines Matching full:query

35    struct intel_perf_query_info *query = rzalloc(perf, struct intel_perf_query_info);  in intel_query_alloc()  local
36 query->perf = perf; in intel_query_alloc()
37 query->kind = INTEL_PERF_QUERY_TYPE_OA; in intel_query_alloc()
38 query->n_counters = 0; in intel_query_alloc()
39 query->oa_metrics_set_id = 0; /* determined at runtime, via sysfs */ in intel_query_alloc()
40 query->counters = rzalloc_array(query, struct intel_perf_query_counter, ncounters); in intel_query_alloc()
41 query->oa_format = intel_perf_get_oa_format(perf); in intel_query_alloc()
45 query->gpu_time_offset = 0; in intel_query_alloc()
46 query->gpu_clock_offset = query->gpu_time_offset + 1; in intel_query_alloc()
47 query->pec_offset = query->gpu_clock_offset + 1; in intel_query_alloc()
48 query->perfcnt_offset = query->pec_offset + 64; in intel_query_alloc()
49 query->rpstat_offset = query->perfcnt_offset + 2; in intel_query_alloc()
51 query->gpu_time_offset = 0; in intel_query_alloc()
52 query->gpu_clock_offset = query->gpu_time_offset + 1; in intel_query_alloc()
53 query->a_offset = query->gpu_clock_offset + 1; in intel_query_alloc()
54 query->b_offset = query->a_offset + 38; in intel_query_alloc()
55 query->c_offset = query->b_offset + 8; in intel_query_alloc()
56 query->perfcnt_offset = query->c_offset + 8; in intel_query_alloc()
57 query->rpstat_offset = query->perfcnt_offset + 2; in intel_query_alloc()
59 query->gpu_time_offset = 0; in intel_query_alloc()
60 query->gpu_clock_offset = query->gpu_time_offset + 1; in intel_query_alloc()
61 query->a_offset = query->gpu_clock_offset + 1; in intel_query_alloc()
62 query->b_offset = query->a_offset + 36; in intel_query_alloc()
63 query->c_offset = query->b_offset + 8; in intel_query_alloc()
64 query->perfcnt_offset = query->c_offset + 8; in intel_query_alloc()
65 query->rpstat_offset = query->perfcnt_offset + 2; in intel_query_alloc()
67 query->gpu_time_offset = 0; in intel_query_alloc()
68 query->a_offset = query->gpu_time_offset + 1; in intel_query_alloc()
69 query->b_offset = query->a_offset + 45; in intel_query_alloc()
70 query->c_offset = query->b_offset + 8; in intel_query_alloc()
71 query->perfcnt_offset = query->c_offset + 8; in intel_query_alloc()
72 query->rpstat_offset = query->perfcnt_offset + 2; in intel_query_alloc()
75 return query; in intel_query_alloc()