/third_party/mesa3d/src/panfrost/perf/ |
D | pan_perf.c | 35 const struct panfrost_perf *perf) in panfrost_perf_counter_read() argument 37 unsigned offset = perf->category_offset[counter->category_index]; in panfrost_perf_counter_read() 39 assert(offset < perf->n_counter_values); in panfrost_perf_counter_read() 41 uint32_t ret = perf->counter_values[offset]; in panfrost_perf_counter_read() 45 for (uint32_t core = 1; core < perf->dev->core_id_range; ++core) { in panfrost_perf_counter_read() 46 ret += perf->counter_values[offset + PAN_COUNTERS_PER_CATEGORY * core]; in panfrost_perf_counter_read() 65 panfrost_perf_init(struct panfrost_perf *perf, struct panfrost_device *dev) in panfrost_perf_init() argument 67 perf->dev = dev; in panfrost_perf_init() 72 perf->cfg = panfrost_lookup_counters(dev->model->performance_counters); in panfrost_perf_init() 74 if (perf->cfg == NULL) in panfrost_perf_init() [all …]
|
D | quick.c | 14 struct panfrost_perf *perf = rzalloc(ctx, struct panfrost_perf); in main() local 19 panfrost_perf_init(perf, &dev); in main() 20 int ret = panfrost_perf_enable(perf); in main() 31 panfrost_perf_dump(perf); in main() 33 for (unsigned i = 0; i < perf->cfg->n_categories; ++i) { in main() 34 const struct panfrost_perf_category *cat = &perf->cfg->categories[i]; in main() 39 uint32_t val = panfrost_perf_counter_read(ctr, perf); in main() 46 if (panfrost_perf_disable(perf) < 0) { in main()
|
D | pan_perf.h | 100 const struct panfrost_perf *perf); 103 panfrost_perf_init(struct panfrost_perf *perf, struct panfrost_device *dev); 106 panfrost_perf_enable(struct panfrost_perf *perf); 109 panfrost_perf_disable(struct panfrost_perf *perf); 112 panfrost_perf_dump(struct panfrost_perf *perf);
|
/third_party/mesa3d/src/intel/perf/ |
D | intel_perf.c | 71 get_sysfs_dev_dir(struct intel_perf_config *perf, int fd) in get_sysfs_dev_dir() argument 79 perf->sysfs_dev_dir[0] = '\0'; in get_sysfs_dev_dir() 97 len = snprintf(perf->sysfs_dev_dir, in get_sysfs_dev_dir() 98 sizeof(perf->sysfs_dev_dir), in get_sysfs_dev_dir() 100 if (len < 0 || len >= sizeof(perf->sysfs_dev_dir)) { in get_sysfs_dev_dir() 105 drmdir = opendir(perf->sysfs_dev_dir); in get_sysfs_dev_dir() 107 DBG("Failed to open %s: %m\n", perf->sysfs_dev_dir); in get_sysfs_dev_dir() 112 if (is_dir_or_link(drm_entry, perf->sysfs_dev_dir) && in get_sysfs_dev_dir() 115 len = snprintf(perf->sysfs_dev_dir, in get_sysfs_dev_dir() 116 sizeof(perf->sysfs_dev_dir), in get_sysfs_dev_dir() [all …]
|
D | intel_perf_private.h | 69 intel_perf_append_query_info(struct intel_perf_config *perf, int max_counters) in intel_perf_append_query_info() argument 73 perf->queries = reralloc(perf, perf->queries, in intel_perf_append_query_info() 75 ++perf->n_queries); in intel_perf_append_query_info() 76 query = &perf->queries[perf->n_queries - 1]; in intel_perf_append_query_info() 79 query->perf = perf; in intel_perf_append_query_info() 84 rzalloc_array(perf, struct intel_perf_query_counter, max_counters); in intel_perf_append_query_info() 92 void intel_perf_register_mdapi_oa_query(struct intel_perf_config *perf,
|
D | intel_perf_setup.h | 33 intel_query_alloc(struct intel_perf_config *perf, int ncounters) in intel_query_alloc() argument 35 struct intel_perf_query_info *query = rzalloc(perf, struct intel_perf_query_info); in intel_query_alloc() 36 query->perf = perf; in intel_query_alloc() 45 hsw_query_alloc(struct intel_perf_config *perf, int ncounters) in hsw_query_alloc() argument 47 struct intel_perf_query_info *query = intel_query_alloc(perf, ncounters); in hsw_query_alloc() 60 bdw_query_alloc(struct intel_perf_config *perf, int ncounters) in bdw_query_alloc() argument 62 struct intel_perf_query_info *query = intel_query_alloc(perf, ncounters); in bdw_query_alloc()
|
D | intel_perf.h | 182 typedef uint64_t (*intel_counter_read_uint64_t)(struct intel_perf_config *perf, 186 typedef float (*intel_counter_read_float_t)(struct intel_perf_config *perf, 230 struct intel_perf_config *perf; member 531 struct intel_perf_config *perf = rzalloc(ctx, struct intel_perf_config); in intel_perf_new() local 532 return perf; in intel_perf_new() 540 intel_perf_has_hold_preemption(const struct intel_perf_config *perf) in intel_perf_has_hold_preemption() argument 542 return perf->i915_perf_version >= 3; in intel_perf_has_hold_preemption() 550 intel_perf_has_global_sseu(const struct intel_perf_config *perf) in intel_perf_has_global_sseu() argument 552 return perf->i915_perf_version >= 4; in intel_perf_has_global_sseu() 555 uint32_t intel_perf_get_n_passes(struct intel_perf_config *perf, [all …]
|
D | intel_perf_query.c | 242 struct intel_perf_config *perf; member 393 if (intel_perf_has_global_sseu(perf_ctx->perf) && in intel_perf_open() 396 properties[p++] = to_user_pointer(&perf_ctx->perf->sseu); in intel_perf_open() 426 get_metric_id(struct intel_perf_config *perf, in get_metric_id() argument 449 if (!intel_perf_load_metric_id(perf, query->guid, in get_metric_id() 452 raw_query->oa_metrics_set_id = perf->fallback_raw_oa_metric; in get_metric_id() 469 buf = ralloc_size(perf_ctx->perf, sizeof(*buf)); in get_free_sample_buf() 518 &perf_ctx->perf->queries[query_index]; in intel_perf_new_query() 582 return ctx->perf; in intel_perf_config() 595 perf_ctx->perf = perf_cfg; in intel_perf_init_context() [all …]
|
/third_party/mesa3d/src/panfrost/ds/ |
D | pan_pps_perf.cc | 44 : perf {reinterpret_cast<struct panfrost_perf *>(rzalloc(nullptr, struct panfrost_perf))} in PanfrostPerf() 46 assert(perf); 48 panfrost_perf_init(perf, dev.dev); 53 if (perf) { in ~PanfrostPerf() 54 panfrost_perf_disable(perf); in ~PanfrostPerf() 55 ralloc_free(perf); in ~PanfrostPerf() 60 : perf {o.perf} in PanfrostPerf() 62 o.perf = nullptr; 67 std::swap(perf, o.perf); in operator =() 73 assert(perf); in enable() [all …]
|
D | pan_pps_driver.cc | 52 PanfrostDriver::create_available_counters(const PanfrostPerf &perf) in create_available_counters() argument 59 for (uint32_t gid = 0; gid < perf.perf->cfg->n_categories; ++gid) { in create_available_counters() 60 const auto &category = perf.perf->cfg->categories[gid]; in create_available_counters() 70 uint32_t id_within_group = find_id_within_group(cid, perf.perf->cfg); in create_available_counters() 75 struct panfrost_perf *perf = pan_driver.perf->perf; in create_available_counters() local 76 uint32_t id_within_group = find_id_within_group(c.id, perf->cfg); in create_available_counters() 77 const auto counter = &perf->cfg->categories[c.group].counters[id_within_group]; in create_available_counters() 78 return int64_t(panfrost_perf_counter_read(counter, perf)); in create_available_counters() 97 if (!perf) { in init_perfcnt() 98 perf = std::make_unique<PanfrostPerf>(*dev); in init_perfcnt() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/ |
D | Makefile.am | 29 perf/meson.build \ 30 perf/perf-draw.hh \ 31 perf/perf-extents.hh \ 32 perf/perf-shaping.hh \ 33 perf/perf.cc \ 34 perf/fonts/Amiri-Regular.ttf \ 35 perf/fonts/NotoNastaliqUrdu-Regular.ttf \ 36 perf/fonts/NotoSansDevanagari-Regular.ttf \ 37 perf/fonts/Roboto-Regular.ttf \ 38 perf/texts/en-thelittleprince.txt \ [all …]
|
/third_party/harfbuzz/ |
D | Makefile.am | 29 perf/meson.build \ 30 perf/perf-draw.hh \ 31 perf/perf-extents.hh \ 32 perf/perf-shaping.hh \ 33 perf/perf.cc \ 34 perf/fonts/Amiri-Regular.ttf \ 35 perf/fonts/NotoNastaliqUrdu-Regular.ttf \ 36 perf/fonts/NotoSansDevanagari-Regular.ttf \ 37 perf/fonts/Roboto-Regular.ttf \ 38 perf/texts/en-thelittleprince.txt \ [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_perf.c | 41 device->perf = NULL; in anv_physical_device_init_perf() 49 struct intel_perf_config *perf = intel_perf_new(NULL); in anv_physical_device_init_perf() local 51 intel_perf_init_metrics(perf, &device->info, fd, in anv_physical_device_init_perf() 55 if (!perf->n_queries) in anv_physical_device_init_perf() 62 if (!intel_perf_has_hold_preemption(perf)) in anv_physical_device_init_perf() 66 device->perf = perf; in anv_physical_device_init_perf() 71 const struct intel_perf_query_field_layout *layout = &perf->query_layout; in anv_physical_device_init_perf() 97 ralloc_free(perf); in anv_physical_device_init_perf() 141 if (intel_perf_has_global_sseu(device->physical->perf) && in anv_device_perf_open() 144 properties[p++] = (uintptr_t) &device->physical->perf->sseu; in anv_device_perf_open() [all …]
|
/third_party/mesa3d/src/intel/ds/ |
D | intel_pps_driver.cc | 42 return (2.f * perf->devinfo.timestamp_frequency) / 1000000000ull; in get_min_sampling_period_ns() 78 assert(!perf && "Intel perf should not be initialized at this point"); in init_perfcnt() 80 perf = std::make_unique<IntelPerf>(drm_device.fd); in init_perfcnt() 86 for (auto &query : perf->get_queries()) { in init_perfcnt() 98 for (auto &query : perf->get_queries()) in init_perfcnt() 127 return (int64_t)counter.oa_counter_read_uint64(perf->cfg, in init_perfcnt() 129 &perf->result); in init_perfcnt() 133 return counter.oa_counter_read_float(perf->cfg, in init_perfcnt() 135 &perf->result); in init_perfcnt() 155 intel_perf_query_result_clear(&perf->result); in init_perfcnt() [all …]
|
/third_party/icu/ |
D | .gitignore | 182 icu4c/source/perf-*.xml 508 icu4c/source/test/perf/*.ncb 509 icu4c/source/test/perf/*.opendf 510 icu4c/source/test/perf/*.sdf 511 icu4c/source/test/perf/*.suo 512 icu4c/source/test/perf/DateFmtPerf/*.vcxproj.user 513 icu4c/source/test/perf/DateFmtPerf/DateFmtPerf 514 icu4c/source/test/perf/DateFmtPerf/DateFmtPerf.d 515 icu4c/source/test/perf/DateFmtPerf/Debug 516 icu4c/source/test/perf/DateFmtPerf/Makefile [all …]
|
/third_party/skia/infra/wasm-common/ |
D | Makefile | 9 docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 15 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 26 docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} 27 docker push gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION}
|
/third_party/flutter/skia/infra/wasm-common/ |
D | Makefile | 9 docker build -t perf-karma-chrome-tests -f ./docker/perf-karma-chrome-tests/Dockerfile . 15 CGO_ENABLED=0 GOOS=linux go build -o ./tmp/perf-aggregator -a ./perf/ 26 docker tag perf-karma-chrome-tests gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION} 27 docker push gcr.io/skia-public/perf-karma-chrome-tests:${CHROME_VERSION}
|
/third_party/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 84 PackageLookup(const DictionaryTriePerfTest &perf) { in PackageLookup() argument 86 CharString filename(perf.getSourceDir(), errorCode); in PackageLookup() 140 BinarySearchPackageLookup(const DictionaryTriePerfTest &perf) in BinarySearchPackageLookup() argument 141 : PackageLookup(perf) { in BinarySearchPackageLookup() 249 PrefixBinarySearchPackageLookup(const DictionaryTriePerfTest &perf) in PrefixBinarySearchPackageLookup() argument 250 : BinarySearchPackageLookup(perf) {} in PrefixBinarySearchPackageLookup() 276 BytesTriePackageLookup(const DictionaryTriePerfTest &perf) in BytesTriePackageLookup() argument 277 : PackageLookup(perf) { in BytesTriePackageLookup() 332 DictLookup(const DictionaryTriePerfTest &perfTest) : perf(perfTest) {} in DictLookup() 335 return perf.numTextLines; in getOperationsPerIteration() [all …]
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.3.9.rst | 49 - intel/perf: use a function to do common allocations 54 - intel/perf: Move some static blocks of C code out of the python script. 96 - intel/perf: Don't print leading space from desc_units() 97 - intel/perf: Deduplicate perf counters 98 - intel/perf: Use a function to initialize perf counters 99 - intel/perf: Use slimmer intel_perf_query_counter_data struct 100 - intel/perf: Store indices to strings rather than pointers 101 - intel/perf: Mark intel_perf_counter_* enums as PACKED 102 - intel/perf: Fix mistake in description string 103 - intel/perf: Destination array calculation into function
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/ |
D | angle-mods.patch | 1 diff --git a/src/tests/perf_tests/third_party/perf/angle-mods.patch b/src/tests/perf_tests/third_pa… 3 --- a/src/tests/perf_tests/third_party/perf/angle-mods.patch 4 +++ b/src/tests/perf_tests/third_party/perf/angle-mods.patch 6 …diff --git a/src/tests/perf_tests/third_party/perf/angle-mods.patch b/src/tests/perf_tests/third_p… 8 ---- a/src/tests/perf_tests/third_party/perf/angle-mods.patch 9 -+++ b/src/tests/perf_tests/third_party/perf/angle-mods.patch 11 --diff --git a/tests/perf_tests/third_party/perf/perf_test.cc b/tests/perf_tests/third_party/perf/p… 13 ----- a/tests/perf_tests/third_party/perf/perf_test.cc 14 --+++ b/tests/perf_tests/third_party/perf/perf_test.cc 19 ---#include "testing/perf/perf_test.h" [all …]
|
/third_party/node/deps/npm/lib/utils/ |
D | perf.js | 4 var perf = new EventEmitter() variable 5 module.exports = perf 12 perf.on('time', time) 13 perf.on('timeEnd', timeEnd) 21 perf.emit('timing', name, Date.now() - timings[name])
|
/third_party/flutter/skia/platform_tools/android/bin/ |
D | android_perf | 69 $ADB shell /data/local/tmp/simpleperf record -p ${APP_PID} -o /data/local/tmp/perf.data sleep 70 71 $ADB pull /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data 77 adb_pull_if_needed /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data 78 $SKIA_OUT/perfhost_report.py -i $PERF_TMP_DIR/perf.data --symfs=$PERF_TMP_DIR ${runVars[@]}
|
/third_party/skia/platform_tools/android/bin/ |
D | android_perf | 69 $ADB shell /data/local/tmp/simpleperf record -p ${APP_PID} -o /data/local/tmp/perf.data sleep 70 71 $ADB pull /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data 77 adb_pull_if_needed /data/local/tmp/perf.data $PERF_TMP_DIR/perf.data 78 $SKIA_OUT/perfhost_report.py -i $PERF_TMP_DIR/perf.data --symfs=$PERF_TMP_DIR ${runVars[@]}
|
/third_party/skia/third_party/externals/angle2/infra/config/generated/ |
D | luci-scheduler.cfg | 48 id: "android-pixel4-perf" 54 builder: "android-pixel4-perf" 78 id: "linux-intel-hd630-perf" 84 builder: "linux-intel-hd630-perf" 88 id: "linux-nvidia-p400-perf" 94 builder: "linux-nvidia-p400-perf" 258 id: "win10-intel-hd630-perf" 264 builder: "win10-intel-hd630-perf" 268 id: "win10-nvidia-p400-perf" 274 builder: "win10-nvidia-p400-perf" [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_ir_performance.cpp | 1186 execute_instruction(state &st, const perf_desc &perf) in execute_instruction() argument 1191 st.unit_ready[EU_UNIT_FE] += perf.df; in execute_instruction() 1193 if (perf.u < EU_NUM_UNITS) { in execute_instruction() 1196 st.unit_ready[perf.u]); in execute_instruction() 1201 st.unit_ready[perf.u] = st.unit_ready[EU_UNIT_FE] + perf.db; in execute_instruction() 1202 st.unit_busy[perf.u] += perf.db * st.weight; in execute_instruction() 1211 mark_read_dependency(state &st, const perf_desc &perf, in mark_read_dependency() argument 1215 st.dep_ready[id] = st.unit_ready[EU_UNIT_FE] + perf.ls; in mark_read_dependency() 1223 mark_write_dependency(state &st, const perf_desc &perf, in mark_write_dependency() argument 1227 st.dep_ready[id] = st.unit_ready[EU_UNIT_FE] + perf.la; in mark_write_dependency() [all …]
|