Home
last modified time | relevance | path

Searched refs:perf (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/third_party/mesa3d/src/panfrost/perf/
Dpan_perf.c35 const struct panfrost_perf *perf) in panfrost_perf_counter_read() argument
37 assert(counter->offset < perf->n_counter_values); in panfrost_perf_counter_read()
38 uint32_t ret = perf->counter_values[counter->offset]; in panfrost_perf_counter_read()
41 if (counter->category == &perf->cfg->categories[PAN_SHADER_CORE_INDEX]) { in panfrost_perf_counter_read()
42 for (uint32_t core = 1; core < perf->dev->core_count; ++core) { in panfrost_perf_counter_read()
43 ret += perf->counter_values[counter->offset + PAN_COUNTERS_PER_CATEGORY * core]; in panfrost_perf_counter_read()
79 panfrost_perf_init(struct panfrost_perf *perf, struct panfrost_device *dev) in panfrost_perf_init() argument
81 perf->dev = dev; in panfrost_perf_init()
82 perf->cfg = get_perf_config(dev->gpu_id); in panfrost_perf_init()
87 perf->n_counter_values = PAN_COUNTERS_PER_CATEGORY * n_blocks; in panfrost_perf_init()
[all …]
Dquick.c14 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()
Dpan_perf.h93 const struct panfrost_perf *perf);
96 panfrost_perf_init(struct panfrost_perf *perf, struct panfrost_device *dev);
99 panfrost_perf_enable(struct panfrost_perf *perf);
102 panfrost_perf_disable(struct panfrost_perf *perf);
105 panfrost_perf_dump(struct panfrost_perf *perf);
/third_party/mesa3d/src/intel/perf/
Dintel_perf.c71 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 …]
Dintel_perf_private.h69 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,
Dintel_perf.h189 uint64_t (*oa_counter_read_uint64)(struct intel_perf_config *perf,
192 float (*oa_counter_read_float)(struct intel_perf_config *perf,
217 struct intel_perf_config *perf; member
497 struct intel_perf_config *perf = rzalloc(ctx, struct intel_perf_config); in intel_perf_new() local
498 return perf; in intel_perf_new()
506 intel_perf_has_hold_preemption(const struct intel_perf_config *perf) in intel_perf_has_hold_preemption() argument
508 return perf->i915_perf_version >= 3; in intel_perf_has_hold_preemption()
516 intel_perf_has_global_sseu(const struct intel_perf_config *perf) in intel_perf_has_global_sseu() argument
518 return perf->i915_perf_version >= 4; in intel_perf_has_global_sseu()
521 uint32_t intel_perf_get_n_passes(struct intel_perf_config *perf,
[all …]
/third_party/mesa3d/src/panfrost/ds/
Dpan_pps_perf.cc44 : 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 …]
Dpan_pps_driver.cc52 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/
DMakefile.am29 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/
DMakefile.am29 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/
Danv_perf.c41 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()
56 if (perf->platform_supported) { in anv_physical_device_init_perf()
72 if (!intel_perf_has_hold_preemption(perf)) in anv_physical_device_init_perf()
76 device->perf = perf; in anv_physical_device_init_perf()
81 const struct intel_perf_query_field_layout *layout = &perf->query_layout; in anv_physical_device_init_perf()
104 ralloc_free(perf); in anv_physical_device_init_perf()
145 if (intel_perf_has_global_sseu(device->physical->perf)) { in anv_device_perf_open()
[all …]
/third_party/boost/libs/compute/doc/
Dperformance.qbk15 [@https://github.com/boostorg/compute/tree/master/perf perf] directory. All
19 [$images/perf/accumulate_time_plot.png [width 850px] [align center]]
22 [$images/perf/count_time_plot.png [width 850px] [align center]]
25 [$images/perf/inner_product_time_plot.png [width 850px] [align center]]
28 [$images/perf/merge_time_plot.png [width 850px] [align center]]
31 [$images/perf/partial_sum_time_plot.png [width 850px] [align center]]
34 [$images/perf/partition_time_plot.png [width 850px] [align center]]
37 [$images/perf/reverse_time_plot.png [width 850px] [align center]]
40 [$images/perf/rotate_time_plot.png [width 850px] [align center]]
43 [$images/perf/set_difference_time_plot.png [width 850px] [align center]]
[all …]
/third_party/icu/
D.gitignore182 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/mesa3d/src/intel/ds/
Dintel_pps_driver.cc38 if (perf->query) { in enable_counter()
39 if (perf->query->symbol_name != group.name) { in enable_counter()
44 perf->query->symbol_name, in enable_counter()
51 if (!perf->query) { in enable_counter()
52 perf->query = perf->find_query_by_name(group.name); in enable_counter()
66 perf->query = perf->find_query_by_name(group.name); in enable_all_counters()
139 assert(!perf && "Intel perf should not be initialized at this point"); in init_perfcnt()
141 perf = std::make_unique<IntelPerf>(drm_device.fd); in init_perfcnt()
143 for (auto &query : perf->get_queries()) { in init_perfcnt()
163 return (int64_t)counter.oa_counter_read_uint64(perf->cfg, query, &result); in init_perfcnt()
[all …]
/third_party/flutter/skia/infra/wasm-common/
DMakefile9 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/skia/infra/wasm-common/
DMakefile9 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/mesa3d/src/intel/
DMakefile.perf.am25 noinst_LTLIBRARIES += perf/libintel_perf.la
30 perf/intel_perf_metrics.c: perf/gen_perf.py $(INTEL_PERF_XML_FILES)
32 $(PYTHON_GEN) $(PYTHON_FLAGS) $(srcdir)/perf/gen_perf.py \
33 --code=$(builddir)/perf/intel_perf_metrics.c \
34 --header=$(builddir)/perf/intel_perf_metrics.h \
37 perf/intel_perf_metrics.h: perf/intel_perf_metrics.c
41 perf/gen_perf.py
/third_party/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp84 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/node/deps/npm/lib/utils/
Dperf.js4 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/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/
Dangle-mods.patch1 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/skia/platform_tools/android/bin/
Dandroid_perf69 $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/flutter/skia/platform_tools/android/bin/
Dandroid_perf69 $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/
Dluci-scheduler.cfg48 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/amd/compiler/
Daco_statistics.cpp185 perf_info perf = get_perf_info(program, instr); in use_resources() local
187 if (perf.rsrc0 != resource_count) { in use_resources()
188 res_available[(int)perf.rsrc0] = cur_cycle + perf.cost0; in use_resources()
189 res_usage[(int)perf.rsrc0] += perf.cost0; in use_resources()
192 if (perf.rsrc1 != resource_count) { in use_resources()
193 res_available[(int)perf.rsrc1] = cur_cycle + perf.cost1; in use_resources()
194 res_usage[(int)perf.rsrc1] += perf.cost1; in use_resources()
201 perf_info perf = get_perf_info(program, instr); in cycles_until_res_available() local
204 if (perf.rsrc0 != resource_count) in cycles_until_res_available()
205 cost = MAX2(cost, res_available[(int)perf.rsrc0] - cur_cycle); in cycles_until_res_available()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_ir_performance.cpp1184 execute_instruction(state &st, const perf_desc &perf) in execute_instruction() argument
1189 st.unit_ready[unit_fe] += perf.df; in execute_instruction()
1191 if (perf.u < num_units) { in execute_instruction()
1194 st.unit_ready[perf.u]); in execute_instruction()
1199 st.unit_ready[perf.u] = st.unit_ready[unit_fe] + perf.db; in execute_instruction()
1200 st.unit_busy[perf.u] += perf.db * st.weight; in execute_instruction()
1209 mark_read_dependency(state &st, const perf_desc &perf, dependency_id id) in mark_read_dependency() argument
1212 st.dep_ready[id] = st.unit_ready[unit_fe] + perf.ls; in mark_read_dependency()
1220 mark_write_dependency(state &st, const perf_desc &perf, dependency_id id) in mark_write_dependency() argument
1223 st.dep_ready[id] = st.unit_ready[unit_fe] + perf.la; in mark_write_dependency()
[all …]

12345678910>>...14