Lines Matching refs:stats
102 struct shader_stats *stats; member
113 unsigned n = (ctx->stats->halfreg + 1) / 2; in print_stats()
115 ctx->stats->halfreg = 0; in print_stats()
116 ctx->stats->fullreg = MAX2(ctx->stats->fullreg, n); in print_stats()
124 levels[ctx->level], instructions, ctx->stats->nops, in print_stats()
125 instructions - ctx->stats->nops, ctx->stats->mov_count, in print_stats()
126 ctx->stats->cov_count); in print_stats()
130 levels[ctx->level], ctx->stats->last_baryf, in print_stats()
131 DIV_ROUND_UP(ctx->stats->halfreg, 4), in print_stats()
132 DIV_ROUND_UP(ctx->stats->fullreg, 4), in print_stats()
133 DIV_ROUND_UP(ctx->stats->constlen, 4)); in print_stats()
138 levels[ctx->level], ctx->stats->instrs_per_cat[0], in print_stats()
139 ctx->stats->instrs_per_cat[1], ctx->stats->instrs_per_cat[2], in print_stats()
140 ctx->stats->instrs_per_cat[3], ctx->stats->instrs_per_cat[4], in print_stats()
141 ctx->stats->instrs_per_cat[5], ctx->stats->instrs_per_cat[6], in print_stats()
142 ctx->stats->instrs_per_cat[7]); in print_stats()
145 levels[ctx->level], ctx->stats->sstall, ctx->stats->ss, in print_stats()
146 ctx->stats->sy); in print_stats()
433 ctx->stats->nops += 1 + ctx->last.repeat; in disasm_field_cb()
444 ctx->stats->last_baryf = ctx->cur_n; in disasm_field_cb()
448 ctx->stats->instrs_per_cat[ctx->cur_opc_cat] += val->num; in disasm_field_cb()
452 ctx->stats->instrs_per_cat[0] += val->num; in disasm_field_cb()
453 ctx->stats->nops += val->num; in disasm_field_cb()
456 ctx->stats->sy += val->num; in disasm_field_cb()
458 ctx->stats->ss += val->num; in disasm_field_cb()
488 ctx->stats->constlen = MAX2(ctx->stats->constlen, num); in disasm_field_cb()
491 ctx->stats->halfreg = MAX2(ctx->stats->halfreg, num); in disasm_field_cb()
493 ctx->stats->fullreg = MAX2(ctx->stats->fullreg, num); in disasm_field_cb()
509 ctx->stats->sstall += ctx->sfu_delay; in disasm_handle_last()
542 ctx->stats->instrs_per_cat[opc_cat]++; in disasm_instr_cb()
557 ctx->stats->mov_count++; in disasm_instr_cb()
559 ctx->stats->cov_count++; in disasm_instr_cb()
575 unsigned gpu_id, struct shader_stats *stats) in disasm_a3xx_stat() argument
589 .stats = stats, in disasm_a3xx_stat()
593 memset(stats, 0, sizeof(*stats)); in disasm_a3xx_stat()
642 struct shader_stats stats; in disasm_a3xx() local
643 return disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats); in disasm_a3xx()
650 struct shader_stats stats; in try_disasm_a3xx() local
652 TRY(ret = disasm_a3xx_stat(dwords, sizedwords, level, out, gpu_id, &stats)); in try_disasm_a3xx()