| /tools/perf/tests/shell/ |
| A D | record_offcpu.sh | 102 if ! perf record -e dummy --off-cpu --off-cpu-thresh 999 -o ${perfdata} -- sleep 1 2> /dev/null 132 if ! perf record -e dummy --off-cpu --off-cpu-thresh 1200 -o ${perfdata} -- sleep 1 2> /dev/null
|
| /tools/perf/util/ |
| A D | stat-shadow.c | 200 enum metric_threshold_classify thresh = METRIC_THRESHOLD_UNKNOWN; in print_ratio() local 206 thresh = get_ratio_thresh(thresh_ratios, ratio); in print_ratio() 210 out->print_metric(config, out->ctx, thresh, fmt, unit, ratio); in print_ratio() 504 enum metric_threshold_classify thresh = METRIC_THRESHOLD_UNKNOWN; in generic_metric() local 527 thresh = fpclassify(threshold) == FP_ZERO in generic_metric() 543 print_metric(config, ctxp, thresh, "%8.1f", in generic_metric() 546 print_metric(config, ctxp, thresh, "%8.2f", in generic_metric() 553 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric() 558 print_metric(config, ctxp, thresh, /*fmt=*/NULL, in generic_metric()
|
| A D | stat-display.c | 86 return colors[thresh]; in metric_threshold_classify__color() 99 return strs[thresh]; in metric_threshold_classify__str() 457 void *ctx, enum metric_threshold_classify thresh, in print_metric_std() argument 496 enum metric_threshold_classify thresh __maybe_unused, in print_metric_csv() 517 enum metric_threshold_classify thresh, in print_metric_json() argument 526 if (thresh != METRIC_THRESHOLD_UNKNOWN) { in print_metric_json() 528 metric_threshold_classify__str(thresh)); in print_metric_json() 619 void *ctx, enum metric_threshold_classify thresh, in print_metric_only() argument 644 enum metric_threshold_classify thresh __maybe_unused, in print_metric_only_csv() 667 enum metric_threshold_classify thresh __maybe_unused, in print_metric_only_json() [all …]
|
| A D | stat.h | 162 const char *metric_threshold_classify__color(enum metric_threshold_classify thresh); 166 enum metric_threshold_classify thresh,
|
| A D | hist.c | 769 unsigned thresh = -high % high; in random_max() local 772 if (r >= thresh) in random_max()
|
| /tools/testing/nvdimm/test/ |
| A D | nfit.c | 732 struct nd_intel_smart_threshold *thresh) in smart_notify() argument 735 __func__, thresh->alarm_control, thresh->spares, in smart_notify() 736 smart->spares, thresh->media_temperature, in smart_notify() 741 <= thresh->spares) in smart_notify() 744 >= thresh->media_temperature) in smart_notify() 747 >= thresh->ctrl_temperature) in smart_notify() 759 struct nd_intel_smart_threshold *thresh, in nfit_test_cmd_smart_set_threshold() argument 768 memcpy(thresh->data, in, size); in nfit_test_cmd_smart_set_threshold() 770 smart_notify(bus_dev, dimm_dev, smart, thresh); in nfit_test_cmd_smart_set_threshold() 778 struct nd_intel_smart_threshold *thresh, in nfit_test_cmd_smart_inject() argument [all …]
|
| /tools/testing/selftests/net/ |
| A D | ipsec.c | 1599 struct xfrmu_spdhthresh thresh; in xfrm_spdinfo_set_thresh() local 1607 thresh.lbits = thresh4_l; in xfrm_spdinfo_set_thresh() 1608 thresh.rbits = thresh4_r; in xfrm_spdinfo_set_thresh() 1609 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV4_HTHRESH, &thresh, sizeof(thresh))) in xfrm_spdinfo_set_thresh() 1612 thresh.lbits = thresh6_l; in xfrm_spdinfo_set_thresh() 1613 thresh.rbits = thresh6_r; in xfrm_spdinfo_set_thresh() 1614 if (rtattr_pack(&req.nh, sizeof(req), XFRMA_SPD_IPV6_HTHRESH, &thresh, sizeof(thresh))) in xfrm_spdinfo_set_thresh()
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 178 char *thresh; member 610 restore_file(TR_THRESH, &save_state.thresh, threshold); in restore_ftrace() 656 save_state.thresh = NULL; in init_save_state() 1401 save_state.thresh = orig_th; in save_and_disable_tracer() 1442 write_file(TR_THRESH, save_state.thresh, threshold, ERR_CLEANUP); in enable_tracer()
|
| /tools/perf/Documentation/ |
| A D | perf-ftrace.txt | 133 - thresh=<n> - Setup trace duration threshold in microseconds. 219 - thresh=<n> - Setup trace duration threshold in microseconds.
|
| A D | perf-record.txt | 852 --off-cpu-thresh::
|
| /tools/perf/ |
| A D | builtin-timechart.c | 1463 int thresh = tchart->io_events ? BYTES_THRESH : TIME_THRESH; in write_svg_file() local 1474 count = determine_display_io_tasks(tchart, thresh); in write_svg_file() 1476 count = determine_display_tasks(tchart, thresh); in write_svg_file() 1477 thresh /= 10; in write_svg_file() 1478 } while (!process_filter && thresh && count < tchart->proc_num); in write_svg_file()
|
| A D | builtin-script.c | 2079 void *ctx, enum metric_threshold_classify thresh, in script_print_metric() argument 2083 const char *color = metric_threshold_classify__color(thresh); in script_print_metric()
|