Home
last modified time | relevance | path

Searched refs:nr_samples (Results 1 – 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/block/
Dblk-stat.c24 stat->max = stat->nr_samples = stat->mean = 0; in blk_rq_stat_init()
31 if (!src->nr_samples) in blk_rq_stat_sum()
37 dst->mean = div_u64(src->batch + dst->mean * dst->nr_samples, in blk_rq_stat_sum()
38 dst->nr_samples + src->nr_samples); in blk_rq_stat_sum()
40 dst->nr_samples += src->nr_samples; in blk_rq_stat_sum()
48 stat->nr_samples++; in blk_rq_stat_add()
Dblk-iolatency.c117 u64 nr_samples; member
154 u64 nr_samples; member
247 return stat->rqs.nr_samples; in latency_stat_samples()
442 samples_thresh = lat_info->nr_samples * 5; in check_scale_change()
444 if (iolat->nr_samples <= samples_thresh) in check_scale_change()
561 lat_info->nr_samples -= iolat->nr_samples; in iolatency_check_latencies()
562 lat_info->nr_samples += latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
563 iolat->nr_samples = latency_stat_samples(iolat, &iolat->cur_stat); in iolatency_check_latencies()
Dblk-wbt.c213 return (stat[READ].nr_samples >= 1 && in stat_sample_valid()
214 stat[WRITE].nr_samples >= RWB_MIN_WRITE_SAMPLES); in stat_sample_valid()
252 (thislat > rwb->min_lat_nsec && !stat[READ].nr_samples)) { in latency_exceeded()
267 if (stat[WRITE].nr_samples || wb_recent_wait(rwb) || in latency_exceeded()
Dblk-mq-debugfs.c19 if (stat->nr_samples) { in print_stat()
21 stat->nr_samples, stat->mean, stat->min, stat->max); in print_stat()
/kernel/linux/linux-5.10/tools/perf/tests/
Dsw-clock.c32 int nr_samples = 0; in __test__sw_clock_freq() local
119 nr_samples++; in __test__sw_clock_freq()
126 if ((u64) nr_samples == total_periods) { in __test__sw_clock_freq()
128 nr_samples); in __test__sw_clock_freq()
Dhists_link.c129 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample() argument
132 while (nr_samples--) { in find_sample()
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dadc.c51 unsigned int nr_samples; member
146 unsigned int channel, unsigned int nr_samples) in s3c_adc_start() argument
164 client->nr_samples = nr_samples; in s3c_adc_start()
294 adc_dbg(adc, "read %d: 0x%04x, 0x%04x\n", client->nr_samples, data0, data1); in s3c_adc_irq()
296 client->nr_samples--; in s3c_adc_irq()
308 (client->convert_cb)(client, data0, data1, &client->nr_samples); in s3c_adc_irq()
310 if (client->nr_samples > 0) { in s3c_adc_irq()
/kernel/linux/linux-5.10/tools/perf/bench/
Dinject-buildid.c33 static unsigned int nr_samples = 100; /* samples per mmap */ variable
61 OPT_UINTEGER('n', "nr-samples", &nr_samples,
372 for (k = 0; k < nr_samples; k++) { in inject_build_id()
438 time_average = avg_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop()
439 time_stddev = stddev_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop()
/kernel/linux/linux-5.10/tools/perf/ui/gtk/
Dannotate.c42 if (!symbol_conf.event_group && !symhist->addr[dl->al.offset].nr_samples) in perf_gtk__get_percent()
45 percent = 100.0 * symhist->addr[dl->al.offset].nr_samples / symhist->nr_samples; in perf_gtk__get_percent()
/kernel/linux/linux-5.10/include/trace/events/
Dwbt.h41 __entry->rnr_samples = stat[0].nr_samples;
45 __entry->wnr_samples = stat[1].nr_samples;
/kernel/linux/linux-5.10/include/linux/soc/samsung/
Ds3c-adc.h17 unsigned int channel, unsigned int nr_samples);
/kernel/linux/linux-5.10/tools/perf/util/
Dannotate.c899 h->nr_samples++; in __symbol__inc_addr_samples()
900 h->addr[offset].nr_samples++; in __symbol__inc_addr_samples()
907 h->addr[offset].nr_samples, h->addr[offset].period); in __symbol__inc_addr_samples()
1430 data->he.nr_samples); in annotation_line__print()
2104 hits += sym_hist->addr[offset].nr_samples; in calc_percent()
2109 if (sym_hist->nr_samples) { in calc_percent()
2111 data->he.nr_samples = hits; in calc_percent()
2112 data->percent[PERCENT_HITS_LOCAL] = 100.0 * hits / sym_hist->nr_samples; in calc_percent()
2335 if (h->addr[offset].nr_samples != 0) in symbol__annotate_hits()
2337 sym->start + offset, h->addr[offset].nr_samples); in symbol__annotate_hits()
[all …]
Dannotate.h115 u64 nr_samples; member
229 u64 nr_samples; member
Dhist.c2684 unsigned long nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __hists__scnprintf_title() local
2694 nr_samples = hists->stats.nr_non_filtered_samples; in __hists__scnprintf_title()
2708 nr_samples += pos_hists->stats.nr_non_filtered_samples; in __hists__scnprintf_title()
2711 nr_samples += pos_hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __hists__scnprintf_title()
2724 nr_samples = convert_unit(nr_samples, &unit); in __hists__scnprintf_title()
2727 nr_samples, unit, evsel->core.nr_members > 1 ? "s" : "", in __hists__scnprintf_title()
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_ioctl.c245 params.nr_samples = rc->nr_samples; in virtio_gpu_resource_create_ioctl()
250 if (rc->nr_samples > 1) in virtio_gpu_resource_create_ioctl()
Dvirtgpu_drv.h69 uint32_t nr_samples; member
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-annotate.c428 u32 nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in __cmd_annotate() local
430 if (nr_samples > 0) { in __cmd_annotate()
431 total_nr_samples += nr_samples; in __cmd_annotate()
Dbuiltin-report.c450 unsigned long nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE]; in hists__fprintf_nr_sample_events() local
461 nr_samples = hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events()
475 nr_samples += pos_hists->stats.nr_non_filtered_samples; in hists__fprintf_nr_sample_events()
478 nr_samples += pos_hists->stats.nr_events[PERF_RECORD_SAMPLE]; in hists__fprintf_nr_sample_events()
484 nr_samples = convert_unit(nr_samples, &unit); in hists__fprintf_nr_sample_events()
485 ret = fprintf(fp, "# Samples: %lu%c", nr_samples, unit); in hists__fprintf_nr_sample_events()
/kernel/linux/linux-5.10/include/uapi/drm/
Dvirtgpu_drm.h91 __u32 nr_samples; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dvirtgpu_drm.h49 __u32 nr_samples; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dvirtgpu_drm.h65 __u32 nr_samples; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dvirtio_gpu.h156 __le32 nr_samples; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dvirtio_gpu.h170 __le32 nr_samples; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dvirtio_gpu.h247 __le32 nr_samples; member
/kernel/linux/linux-5.10/include/linux/
Dblk_types.h544 u32 nr_samples; member

12