Home
last modified time | relevance | path

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

123

/openbsd-src/sys/dev/pci/drm/i915/
H A Di915_perf.c35 * This i915 perf interface enables userspace to configure and open a file
56 * i915 perf file descriptors represent a "stream" instead of an "event"; where
57 * a perf event primarily corresponds to a single 64bit value, while a stream
61 * of related counters. Samples for an i915 perf stream capturing OA metrics
68 * i915 perf stream configurations are provided as an array of u64 (key,value)
72 * i915 perf doesn't support exposing metrics via an mmap'd circular buffer.
85 * The first prototype of this driver was based on the core perf
87 * perf, we found we were breaking or working around too many assumptions baked
88 * into perf's currently cpu centric design.
90 * In the end we didn't see a clear benefit to making perf'
411 i915_perf_get_oa_config(struct i915_perf * perf,int metrics_set) i915_perf_get_oa_config() argument
1526 struct i915_perf *perf = &ce->engine->i915->perf; set_oa_ctx_ctrl_offset() local
1704 struct i915_perf *perf = stream->perf; i915_oa_stream_destroy() local
3332 struct i915_perf *perf = stream->perf; i915_oa_stream_init() local
3861 struct i915_perf *perf = stream->perf; i915_perf_release() local
3920 i915_perf_open_ioctl_locked(struct i915_perf * perf,struct drm_i915_perf_open_param * param,struct perf_open_properties * props,struct drm_file * file) i915_perf_open_ioctl_locked() argument
4062 oa_exponent_to_ns(struct i915_perf * perf,int exponent) oa_exponent_to_ns() argument
4071 oa_format_valid(struct i915_perf * perf,enum drm_i915_oa_format format) oa_format_valid() argument
4077 oa_format_add(struct i915_perf * perf,enum drm_i915_oa_format format) oa_format_add() argument
4097 read_properties_unlocked(struct i915_perf * perf,u64 __user * uprops,u32 n_props,struct perf_open_properties * props) read_properties_unlocked() argument
4351 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_open_ioctl() local
4397 struct i915_perf *perf = &i915->perf; i915_perf_register() local
4428 struct i915_perf *perf = &i915->perf; i915_perf_unregister() local
4437 gen8_is_valid_flex_addr(struct i915_perf * perf,u32 addr) gen8_is_valid_flex_addr() argument
4556 gen7_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) gen7_is_valid_b_counter_addr() argument
4561 gen8_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen8_is_valid_mux_addr() argument
4567 gen11_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen11_is_valid_mux_addr() argument
4574 hsw_is_valid_mux_addr(struct i915_perf * perf,u32 addr) hsw_is_valid_mux_addr() argument
4580 chv_is_valid_mux_addr(struct i915_perf * perf,u32 addr) chv_is_valid_mux_addr() argument
4586 gen12_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) gen12_is_valid_b_counter_addr() argument
4591 mtl_is_valid_oam_b_counter_addr(struct i915_perf * perf,u32 addr) mtl_is_valid_oam_b_counter_addr() argument
4600 xehp_is_valid_b_counter_addr(struct i915_perf * perf,u32 addr) xehp_is_valid_b_counter_addr() argument
4607 gen12_is_valid_mux_addr(struct i915_perf * perf,u32 addr) gen12_is_valid_mux_addr() argument
4636 alloc_oa_regs(struct i915_perf * perf,bool (* is_valid)(struct i915_perf * perf,u32 addr),u32 __user * regs,u32 n_regs) alloc_oa_regs() argument
4637 alloc_oa_regs(struct i915_perf * perf,bool (* is_valid)(struct i915_perf * perf,u32 addr),u32 __user * regs,u32 n_regs) alloc_oa_regs() argument
4698 create_dynamic_oa_sysfs_entry(struct i915_perf * perf,struct i915_oa_config * oa_config) create_dynamic_oa_sysfs_entry() argument
4738 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_add_config_ioctl() local
4903 struct i915_perf *perf = &to_i915(dev)->perf; i915_perf_remove_config_ioctl() local
5089 oa_init_engine_groups(struct i915_perf * perf) oa_init_engine_groups() argument
5103 oa_init_supported_formats(struct i915_perf * perf) oa_init_supported_formats() argument
5161 struct i915_perf *perf = &i915->perf; i915_perf_init_info() local
5202 struct i915_perf *perf = &i915->perf; i915_perf_init() local
5355 struct i915_perf *perf = &i915->perf; i915_perf_fini() local
[all...]
H A Di915_query.c235 struct i915_perf *perf = &i915->perf; in query_perf_config_data() local
242 if (!perf->i915) in query_perf_config_data()
278 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in query_perf_config_data()
289 oa_config = i915_perf_get_oa_config(perf, config_id); in query_perf_config_data()
357 static size_t sizeof_perf_metrics(struct i915_perf *perf) in sizeof_perf_metrics() argument
365 idr_for_each_entry(&perf->metrics_idr, tmp, id) in sizeof_perf_metrics()
377 struct i915_perf *perf = &i915->perf; in query_perf_config_list() local
383 if (!perf in query_perf_config_list()
[all...]
H A Di915_perf_types.h78 struct i915_perf *perf; member
173 struct i915_perf *perf; member
359 bool (*is_valid_b_counter_reg)(struct i915_perf *perf, u32 addr);
365 bool (*is_valid_mux_reg)(struct i915_perf *perf, u32 addr);
371 bool (*is_valid_flex_reg)(struct i915_perf *perf, u32 addr);
H A Di915_perf.h40 i915_perf_get_oa_config(struct i915_perf *perf, int metrics_set);
H A Di915_selftest.h39 int perf; member
/openbsd-src/sys/dev/pci/drm/i915/selftests/
H A Di915_perf.c20 alloc_empty_config(struct i915_perf *perf) in alloc_empty_config() argument
28 oa_config->perf = perf; in alloc_empty_config()
33 mutex_lock(&perf->metrics_lock); in alloc_empty_config()
35 oa_config->id = idr_alloc(&perf->metrics_idr, oa_config, 2, 0, GFP_KERNEL); in alloc_empty_config()
37 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()
42 mutex_unlock(&perf->metrics_lock); in alloc_empty_config()
48 destroy_empty_config(struct i915_perf *perf) in destroy_empty_config() argument
53 mutex_lock(&perf->metrics_lock); in destroy_empty_config()
55 idr_for_each_entry(&perf->metrics_idr, tmp, id) { in destroy_empty_config()
63 idr_remove(&perf->metrics_idr, oa_config->id); in destroy_empty_config()
[all …]
H A Di915_selftest.c256 if (!i915_selftest.perf) in i915_perf_selftests()
261 err = run_selftests(perf, pdev_to_i915(pdev)); in i915_perf_selftests()
263 i915_selftest.perf = err; in i915_perf_selftests()
267 if (i915_selftest.perf < 0) { in i915_perf_selftests()
268 i915_selftest.perf = -ENOTTY; in i915_perf_selftests()
470 module_param_named_unsafe(perf_selftests, i915_selftest.perf, int, 0400);
/openbsd-src/gnu/llvm/llvm/docs/
H A DBenchmarking.rst20 * Use a high resolution timer, e.g. perf under linux.
56 program you are benchmarking. If using perf, leave at least 2 cores
57 so that perf runs in one and your program in another::
74 cset shield --exec -- perf stat -r 10 <cmd>
77 particular perf command runs the ``<cmd>`` 10 times and reports
80 With these in place you can expect perf variations of less than 0.1%.
H A DAdvancedBuilds.rst144 perf training data:
154 This process uses any source files under the perf-training directory as training
162 <build dir>/tools/clang/stage2-instrumented-bins/utils/perf-training/clang.profdata
167 It may be necessary to build additional targets before running perf training, such as
187 generate profdata based on the training files in clang/utils/perf-training
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dllvm-profgen.rst15 from given perf script data files for sample-based profile guided
24 Path of perf-script trace created by Linux perf tool with `script`
25 command(the raw perf.data should be profiled with -b).
/openbsd-src/gnu/llvm/clang/utils/perf-training/
H A DCMakeLists.txt18 …COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py clean ${CMAKE_CURRENT_B…
29 …COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge ${LLVM_PROFDATA} …
50 …COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py clean ${CMAKE_CURRENT_B…
58 …COMMAND "${Python3_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py gen-order-file --binary…
H A Dlit.cfg30 cc1_wrapper = '%s %s/perf-helper.py cc1' % (config.python_exe, config.perf_helper_dir)
40 config.environment['LLVM_PROFILE_FILE'] = 'perf-training-%4m.profraw'
H A Dorder-files.lit.cfg31 dtrace_wrapper = '%s %s/perf-helper.py dtrace' % (config.python_exe, config.perf_helper_dir)
32 dtrace_wrapper_cc1 = '%s %s/perf-helper.py dtrace --cc1' % (config.python_exe, config.perf_helper_d…
H A Dlit.site.cfg.in13 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/utils/perf-training/lit.cfg")
H A Dorder-files.lit.site.cfg.in13 lit_config.load_config(config, "@CLANG_SOURCE_DIR@/utils/perf-training/order-files.lit.cfg")
/openbsd-src/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_topology.c135 struct kfd_perf_properties *perf; in kfd_release_topology_device() local
168 perf = container_of(dev->perf_props.next, in kfd_release_topology_device()
170 list_del(&perf->list); in kfd_release_topology_device()
171 kfree(perf); in kfd_release_topology_device()
573 struct kfd_perf_properties *perf; in kfd_remove_sysfs_node_entry() local
623 list_for_each_entry(perf, &dev->perf_props, list) { in kfd_remove_sysfs_node_entry()
624 kfree(perf->attr_group); in kfd_remove_sysfs_node_entry()
625 perf->attr_group = NULL; in kfd_remove_sysfs_node_entry()
649 struct kfd_perf_properties *perf; in kfd_build_sysfs_node_entry() local
687 dev->kobj_perf = kobject_create_and_add("perf", de in kfd_build_sysfs_node_entry()
[all...]
/openbsd-src/regress/sys/kern/sosplice/
H A DMakefile9 SUBDIR += perf
H A DREADME6 are kept in the args-*.pl files. The perf directory contains a C
/openbsd-src/gnu/llvm/lld/utils/
H A Dbenchmark.py93 def perf(cmd): function
112 ret = perf(['../ld.lld', '@' + response, '-o', 't'] + thread_arg)
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dintel_gt_types.h295 struct i915_perf_gt perf; member
H A Dintel_sseu.c681 if (gt->perf.group && gt->perf.group[PERF_GROUP_OAG].exclusive_stream) in intel_sseu_make_rpcs()
682 req_sseu = &gt->perf.sseu; in intel_sseu_make_rpcs()
/openbsd-src/gnu/usr.bin/perl/t/
H A DTEST562 foreach my $dir (qw(base comp run cmd io re opbasic op uni mro class perf test_pl)) {
623 "perf",
708 my $toolnm; # valgrind, cachegrind, perf
976 # relative path must account for that, ie ../../perf
982 Storable::store({ perf => \%timings,
1041 if ($ENV{VG_OPTS} =~ /(cachegrind)/ or $$toolnm =~ /(perf)/) {
1043 if ($$toolnm eq 'perf') {
H A DREADME42 Tests in t/perf/ are designed to test performance and optimisations,
/openbsd-src/gnu/usr.bin/clang/include/llvm/Config/
H A Dllvm-config.h.in47 /* Define if we have the perf JIT-support library */
/openbsd-src/gnu/llvm/clang/cmake/caches/
H A DREADME.txt44 generate profdata based on the training files in <clang>/utils/perf-training

123