Home
last modified time | relevance | path

Searched refs:perf (Results 1 - 25 of 93) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
H A DuncalledFunctionChecksInConditional2.js3 const perf = window.performance
7 perf &&
8 perf.measure &&
9 perf.clearMarks &&
10 perf.clearMeasures
12 perf.measure("");
13 perf.clearMarks("")
14 perf.clearMeasures("")
19 perf &&
20 perf
[all...]
/third_party/mesa3d/src/panfrost/perf/
H A Dpan_perf.c35 const struct panfrost_perf *perf) in panfrost_perf_counter_read()
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 in panfrost_perf_init()
34 panfrost_perf_counter_read(const struct panfrost_perf_counter *counter, const struct panfrost_perf *perf) panfrost_perf_counter_read() argument
92 panfrost_perf_query(struct panfrost_perf *perf, uint32_t enable) panfrost_perf_query() argument
99 panfrost_perf_enable(struct panfrost_perf *perf) panfrost_perf_enable() argument
105 panfrost_perf_disable(struct panfrost_perf *perf) panfrost_perf_disable() argument
111 panfrost_perf_dump(struct panfrost_perf *perf) panfrost_perf_dump() argument
[all...]
H A 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()
H A Dpan_perf.h100 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/
H A Dintel_perf.c43 #include "perf/intel_perf.h"
44 #include "perf/intel_perf_regs.h"
45 #include "perf/intel_perf_mdapi.h"
46 #include "perf/intel_perf_metrics.h"
47 #include "perf/intel_perf_private.h"
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 in get_sysfs_dev_dir()
157 read_sysfs_drm_device_file_uint64(struct intel_perf_config *perf, const char *file, uint64_t *value) read_sysfs_drm_device_file_uint64() argument
174 register_oa_config(struct intel_perf_config *perf, const struct intel_device_info *devinfo, const struct intel_perf_query_info *query, uint64_t config_id) register_oa_config() argument
189 enumerate_sysfs_metrics(struct intel_perf_config *perf, const struct intel_device_info *devinfo) enumerate_sysfs_metrics() argument
235 add_all_metrics(struct intel_perf_config *perf, const struct intel_device_info *devinfo) add_all_metrics() argument
245 kernel_has_dynamic_config_support(struct intel_perf_config *perf, int fd) kernel_has_dynamic_config_support() argument
254 i915_query_perf_config_supported(struct intel_perf_config *perf, int fd) i915_query_perf_config_supported() argument
263 i915_query_perf_config_data(struct intel_perf_config *perf, int fd, const char *guid, struct drm_i915_perf_oa_config *config) i915_query_perf_config_data() argument
300 i915_add_config(struct intel_perf_config *perf, int fd, const struct intel_perf_registers *config, const char *guid) i915_add_config() argument
322 init_oa_configs(struct intel_perf_config *perf, int fd, const struct intel_device_info *devinfo) init_oa_configs() argument
348 compute_topology_builtins(struct intel_perf_config *perf) compute_topology_builtins() argument
399 init_oa_sys_vars(struct intel_perf_config *perf, bool use_register_snapshots) init_oa_sys_vars() argument
642 build_unique_counter_list(struct intel_perf_config *perf) build_unique_counter_list() argument
705 oa_metrics_available(struct intel_perf_config *perf, int fd, const struct intel_device_info *devinfo, bool use_register_snapshots) oa_metrics_available() argument
756 load_oa_metrics(struct intel_perf_config *perf, int fd, const struct intel_device_info *devinfo) load_oa_metrics() argument
881 get_passes_mask(struct intel_perf_config *perf, const uint32_t *counter_indices, uint32_t counter_indices_count) get_passes_mask() argument
914 intel_perf_get_n_passes(struct intel_perf_config *perf, const uint32_t *counter_indices, uint32_t counter_indices_count, struct intel_perf_query_info **pass_queries) intel_perf_get_n_passes() argument
933 intel_perf_get_counters_passes(struct intel_perf_config *perf, const uint32_t *counter_indices, uint32_t counter_indices_count, struct intel_perf_counter_pass *counter_pass) intel_perf_get_counters_passes() argument
[all...]
H A 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, struc in intel_perf_append_query_info()
[all...]
H A Dintel_perf_setup.h27 #include "perf/intel_perf.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()
H A Dintel_perf.h182 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
326 /* Version of the i915-perf subsystem, refer to i915_drm.h. */
383 * this means we will not be able to use i915-perf because of it is in
493 /** Accumulate the delta between 2 snapshots of OA perf registers (layout
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 in intel_perf_has_hold_preemption()
550 intel_perf_has_global_sseu(const struct intel_perf_config *perf) intel_perf_has_global_sseu() argument
[all...]
H A Dintel_perf_query.c32 #include "perf/intel_perf.h"
33 #include "perf/intel_perf_mdapi.h"
34 #include "perf/intel_perf_private.h"
35 #include "perf/intel_perf_query.h"
36 #include "perf/intel_perf_regs.h"
56 * i915 perf kernel interface and appended to the
122 * (for reference, i915 perf reads() are only done when queries finish)
242 struct intel_perf_config *perf; member
252 /* The i915 perf stream we open to setup + enable the OA counters */
255 /* An i915 perf strea
426 get_metric_id(struct intel_perf_config *perf, const struct intel_perf_query_info *query) get_metric_id() argument
709 struct intel_perf_config *perf = ctx->perf; snapshot_statistics_registers() local
[all...]
H A Dintel_perf_mdapi.c232 intel_perf_register_mdapi_oa_query(struct intel_perf_config *perf, in intel_perf_register_mdapi_oa_query() argument
245 query = intel_perf_append_query_info(perf, 1 + 45 + 16 + 7); in intel_perf_register_mdapi_oa_query()
253 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
257 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
270 query = intel_perf_append_query_info(perf, 2 + 36 + 16 + 16); in intel_perf_register_mdapi_oa_query()
279 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
283 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
307 query = intel_perf_append_query_info(perf, 2 + 36 + 16 + 16 + 16 + 2); in intel_perf_register_mdapi_oa_query()
316 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf->queries, query, in intel_perf_register_mdapi_oa_query()
320 MDAPI_QUERY_ADD_ARRAY_COUNTER(perf in intel_perf_register_mdapi_oa_query()
[all...]
/third_party/mesa3d/src/panfrost/ds/
H A Dpan_pps_perf.cc4 #include <perf/pan_perf.h>
44 : perf {reinterpret_cast<struct panfrost_perf *>(rzalloc(nullptr, struct panfrost_perf))} in PanfrostPerf()
46 assert(perf); variable
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
[all...]
H A Dpan_pps_driver.cc17 #include <perf/pan_perf.h>
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 in create_available_counters()
[all...]
/third_party/astc-encoder/Test/
H A Dastc_test_competitive_plot.py31 def __init__(self, name, perf, qual):
33 self.perf = perf
41 perf = []
52 perf.append(float(row[2]))
55 return (perf, qual)
61 plt.scatter(series.perf, series.qual, s=2, label=series.name)
74 diff_perf = np.divide(series_a.perf, series_b.perf)
101 perf, qua
[all...]
/third_party/mesa3d/src/intel/ds/
H A Dintel_pps_driver.cc23 #include "perf/intel_perf.h"
24 #include "perf/intel_perf_query.h"
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 in init_perfcnt()
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_perf.c31 #include "perf/intel_perf.h"
32 #include "perf/intel_perf_mdapi.h"
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()
59 * perf revision 2. 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()
342 struct intel_perf_config *perf = pdevice->perf; anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR() local
391 struct intel_perf_config *perf = pdevice->perf; anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR() local
409 struct intel_perf_config *perf = device->physical->perf; anv_AcquireProfilingLockKHR() local
438 anv_perf_write_pass_results(struct intel_perf_config *perf, struct anv_query_pool *pool, uint32_t pass, const struct intel_perf_query_result *accumulated_results, union VkPerformanceCounterResultKHR *results) anv_perf_write_pass_results() argument
[all...]
/third_party/skia/infra/wasm-common/
H A 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/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp20 * Usage from within <ICU build tree>/test/perf/dicttrieperf/ :
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(perfTes
339 const DictionaryTriePerfTest &perf; global() member in DictLookup
[all...]
/third_party/mesa3d/src/amd/compiler/
H A 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 in use_resources()
201 perf_info perf = get_perf_info(program, instr); cycles_until_res_available() local
355 perf_info perf = get_perf_info(program, instr); add() local
[all...]
/third_party/skia/platform_tools/android/bin/
H A Dandroid_perf3 # android_perf: utility for running perf on an android device
6 # 1) perf record [gm/tests/bench] # runs profiler on specified app
7 # 2) perf report # prints profiler results
8 # 3) perf clean # cleans the temporary directory used to store results
15 # grab and remove the perf command from the input args
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
[all...]
/third_party/node/test/v8-updates/
H A Dtest-linux-perf.js4 // Linux perf. The test runs a JavaScript script, sampling the execution with
5 // Linux perf. It then uses `perf script` to generate a human-readable output,
7 // `fixtures/linux-perf.js`.
10 // perf installed. It will skip if those criteria are not met.
23 common.skip("can't test Linux perf with shared libraries yet");
43 '--perf-basic-prof',
54 fixtures.path('linux-perf.js'),
65 fixtures.path('linux-perf.js'),
86 const perf
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_ir_performance.cpp1186 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 in mark_read_dependency()
1223 mark_write_dependency(state &st, const perf_desc &perf, enum intel_eu_dependency_id id) mark_write_dependency() argument
1469 const perf_desc perf = instruction_desc(info); issue_vec4_instruction() local
[all...]
/third_party/littlefs/
H A DMakefile19 PERF ?= perf
41 TEST_PERF := $(TEST_RUNNER:%=%.perf)
58 BENCH_PERF := $(BENCH_RUNNER:%=%.perf)
108 ifneq ($(PERF),perf)
109 PERFFLAGS += --perf-path="$(PERF)"
151 ifneq ($(PERF),perf)
152 TESTFLAGS += --perf-path="$(PERF)"
153 BENCHFLAGS += --perf-path="$(PERF)"
291 ## Find the perf results after bench run with YES_PERF
292 .PHONY: perf
[all...]
/third_party/node/deps/v8/tools/testrunner/local/
H A Dandroid.py43 from devil.android.perf import cache_control # pylint: disable=import-error
44 from devil.android.perf import perf_control # pylint: disable=import-error
184 perf = perf_control.PerfControl(self.device)
185 perf.SetHighPerfMode()
189 perf = perf_control.PerfControl(self.device)
190 perf.SetDefaultPerfMode()
/third_party/node/deps/v8/tools/
H A Drun-perf.sh24 Executes <benchmark_command> under observation by Linux perf.
54 perf record -R \
58 -i "$COMMAND" --perf-basic-prof "$@"
/third_party/ltp/testscripts/
H A Dtest_realtime.sh28 # where test-argument = func | stress | perf | all | list | clean | test_name
30 # test_name is the name of a subdirectory in func/, stress/ or perf/
47 test-argument: func | stress | perf | all | list | clean | test_name
50 perf: all perf tests will be run
127 perf)
128 TESTLIST="perf"
132 TESTLIST="func stress perf"

Completed in 13 milliseconds

1234