Home
last modified time | relevance | path

Searched refs:num_ctx (Results 1 – 4 of 4) sorted by relevance

/external/igt-gpu-tools/tests/i915/
Dgem_ctx_thrash.c93 unsigned int engines[16], num_engines, num_ctx; in single() local
122 num_ctx = get_num_contexts(fd, num_engines); in single()
124 size = ALIGN(num_ctx * sizeof(uint32_t), 4096); in single()
127 obj = calloc(num_ctx, 3 * sizeof(*obj)); in single()
128 reloc = calloc(num_ctx, 2 * sizeof(*reloc)); in single()
130 ctx = malloc(num_ctx * sizeof(uint32_t)); in single()
132 for (unsigned n = 0; n < num_ctx; n++) { in single()
159 const unsigned int count = loop * num_ctx; in single()
164 all[n] = ctx[n % num_ctx]; in single()
168 const unsigned int r = n % num_ctx; in single()
[all …]
Dgem_reset_stats.c257 int num_fds, int num_ctx, int hang_index, in test_rs_ctx() argument
267 igt_assert_lte(num_ctx, MAX_CTX); in test_rs_ctx()
277 for (j = 0; j < num_ctx; j++) { in test_rs_ctx()
287 for (j = 0; j < num_ctx; j++) in test_rs_ctx()
294 for (j = 0; j < num_ctx; j++) { in test_rs_ctx()
309 for (j = 0; j < num_ctx; j++) { in test_rs_ctx()
/external/igt-gpu-tools/benchmarks/
Dgem_exec_trace.c126 int num_bo, num_ctx; in replay() local
163 num_ctx = 1024; in replay()
212 if (t->handle >= num_ctx) { in replay()
215 memset(ctx + num_ctx, 0, sizeof(*ctx)*(new_ctx - num_ctx)); in replay()
216 num_ctx = new_ctx; in replay()
227 assert(t->handle < num_ctx && ctx[t->handle]); in replay()
/external/igt-gpu-tools/scripts/
Dtrace.pl963 my $num_ctx = keys %ctxdb;
967 $ctx_colours{$ctx} = int(360 / $num_ctx * $i++);