/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_monitor.c | 46 const struct gen_perf_config *perf_cfg = screen->perf_cfg; in iris_get_monitor_info() local 47 assert(perf_cfg); in iris_get_monitor_info() 48 if (!perf_cfg) in iris_get_monitor_info() 53 return perf_cfg->n_counters; in iris_get_monitor_info() 56 struct gen_perf_query_counter_info *counter_info = &perf_cfg->counter_infos[index]; in iris_get_monitor_info() 96 struct gen_perf_config *perf_cfg = gen_perf_new(screen); in iris_monitor_init_metrics() local 97 if (unlikely(!perf_cfg)) in iris_monitor_init_metrics() 100 screen->perf_cfg = perf_cfg; in iris_monitor_init_metrics() 102 iris_perf_init_vtbl(perf_cfg); in iris_monitor_init_metrics() 104 gen_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, in iris_monitor_init_metrics() [all …]
|
D | iris_perf.c | 86 iris_perf_init_vtbl(struct gen_perf_config *perf_cfg) in iris_perf_init_vtbl() argument 88 perf_cfg->vtbl.bo_alloc = iris_oa_bo_alloc; in iris_perf_init_vtbl() 89 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)iris_bo_unreference; in iris_perf_init_vtbl() 90 perf_cfg->vtbl.bo_map = (bo_map_t)iris_bo_map; in iris_perf_init_vtbl() 91 perf_cfg->vtbl.bo_unmap = (bo_unmap_t)iris_bo_unmap; in iris_perf_init_vtbl() 92 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard = in iris_perf_init_vtbl() 95 perf_cfg->vtbl.emit_mi_report_perf_count = in iris_perf_init_vtbl() 97 perf_cfg->vtbl.batchbuffer_flush = iris_perf_batchbuffer_flush; in iris_perf_init_vtbl() 98 perf_cfg->vtbl.store_register_mem = in iris_perf_init_vtbl() 100 perf_cfg->vtbl.batch_references = (batch_references_t)iris_batch_references; in iris_perf_init_vtbl() [all …]
|
D | iris_performance_query.c | 38 struct gen_perf_config *perf_cfg = NULL; in iris_init_perf_query_info() local 59 perf_cfg = gen_perf_config(ice->perf_ctx); in iris_init_perf_query_info() 61 if (perf_cfg) in iris_init_perf_query_info() 62 return perf_cfg->n_queries; in iris_init_perf_query_info() 64 perf_cfg = gen_perf_new(ice->perf_ctx); in iris_init_perf_query_info() 66 iris_perf_init_vtbl(perf_cfg); in iris_init_perf_query_info() 69 perf_cfg, in iris_init_perf_query_info() 76 gen_perf_init_metrics(perf_cfg, &screen->devinfo, screen->fd, true /* pipeline_statistics */); in iris_init_perf_query_info() 78 return perf_cfg->n_queries; in iris_init_perf_query_info() 144 struct gen_perf_config *perf_cfg = gen_perf_config(perf_ctx); in iris_get_perf_query_info() local [all …]
|
D | iris_screen.h | 203 struct gen_perf_config *perf_cfg; member
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_performance_query.c | 150 struct gen_perf_config *perf_cfg = gen_perf_config(perf_ctx); in brw_get_perf_query_info() local 151 const struct gen_perf_query_info *query = &perf_cfg->queries[query_index]; in brw_get_perf_query_info() 204 struct gen_perf_config *perf_cfg = gen_perf_config(brw->perf_ctx); in brw_get_perf_counter_info() local 206 &perf_cfg->queries[query_index]; in brw_get_perf_counter_info() 482 struct gen_perf_config *perf_cfg = gen_perf_config(perf_ctx); in brw_init_perf_query_info() local 484 if (perf_cfg) in brw_init_perf_query_info() 485 return perf_cfg->n_queries; in brw_init_perf_query_info() 490 perf_cfg = gen_perf_new(ctx); in brw_init_perf_query_info() 492 perf_cfg->vtbl.bo_alloc = brw_oa_bo_alloc; in brw_init_perf_query_info() 493 perf_cfg->vtbl.bo_unreference = (bo_unreference_t)brw_bo_unreference; in brw_init_perf_query_info() [all …]
|
/external/mesa3d/src/intel/perf/ |
D | gen_perf_query.c | 550 struct gen_perf_config *perf_cfg, in gen_perf_init_context() argument 557 perf_ctx->perf = perf_cfg; in gen_perf_init_context() 650 struct gen_perf_config *perf_cfg = perf_ctx->perf; in gen_perf_begin_query() local 691 perf_cfg->vtbl.emit_stall_at_pixel_scoreboard(perf_ctx->ctx); in gen_perf_begin_query() 743 uint64_t overflow_period = pow(2, a_counter_in_bits) / (perf_cfg->sys_vars.n_eus * in gen_perf_begin_query() 748 overflow_period, overflow_period / 1000000ul, perf_cfg->sys_vars.n_eus); in gen_perf_begin_query() 787 perf_cfg->vtbl.bo_unreference(query->oa.bo); in gen_perf_begin_query() 791 query->oa.bo = perf_cfg->vtbl.bo_alloc(perf_ctx->bufmgr, in gen_perf_begin_query() 796 void *map = perf_cfg->vtbl.bo_map(perf_ctx->ctx, query->oa.bo, MAP_WRITE); in gen_perf_begin_query() 798 perf_cfg->vtbl.bo_unmap(query->oa.bo); in gen_perf_begin_query() [all …]
|
D | gen_perf.c | 308 gen_perf_load_metric_id(struct gen_perf_config *perf_cfg, in gen_perf_load_metric_id() argument 315 perf_cfg->sysfs_dev_dir, guid); in gen_perf_load_metric_id() 494 load_pipeline_statistic_metrics(struct gen_perf_config *perf_cfg, in load_pipeline_statistic_metrics() argument 498 gen_perf_append_query_info(perf_cfg, MAX_STAT_COUNTERS); in load_pipeline_statistic_metrics() 787 gen_perf_load_configuration(struct gen_perf_config *perf_cfg, int fd, const char *guid) in gen_perf_load_configuration() argument 789 if (!perf_cfg->i915_query_supported) in gen_perf_load_configuration() 793 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) in gen_perf_load_configuration() 811 if (!i915_query_perf_config_data(perf_cfg, fd, guid, &i915_config)) { in gen_perf_load_configuration() 820 gen_perf_store_configuration(struct gen_perf_config *perf_cfg, int fd, in gen_perf_store_configuration() argument 825 return i915_add_config(perf_cfg, fd, config, guid); in gen_perf_store_configuration() [all …]
|
D | gen_perf.h | 326 void gen_perf_init_metrics(struct gen_perf_config *perf_cfg, 333 bool gen_perf_load_metric_id(struct gen_perf_config *perf_cfg, 339 struct gen_perf_registers *gen_perf_load_configuration(struct gen_perf_config *perf_cfg, 347 uint64_t gen_perf_store_configuration(struct gen_perf_config *perf_cfg, int fd,
|
D | gen_perf_query.h | 38 struct gen_perf_config *perf_cfg, 49 struct gen_perf_config *perf_cfg,
|
D | gen_perf_private.h | 88 void gen_perf_register_mdapi_statistic_query(struct gen_perf_config *perf_cfg,
|
D | gen_perf_mdapi.c | 131 gen_perf_register_mdapi_statistic_query(struct gen_perf_config *perf_cfg, in gen_perf_register_mdapi_statistic_query() argument 138 gen_perf_append_query_info(perf_cfg, MAX_STAT_COUNTERS); in gen_perf_register_mdapi_statistic_query()
|
/external/perfetto/src/profiling/perf/ |
D | event_config_unittest.cc | 41 const protos::gen::PerfEventConfig& perf_cfg) { in AsDataSourceConfig() argument 43 ds_cfg.set_perf_event_config_raw(perf_cfg.SerializeAsString()); in AsDataSourceConfig()
|