Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 155) sorted by relevance

1234567

/tools/perf/scripts/python/
Dpowerpc-hcalls.py27 output = {} variable
164 for opcode in output:
166 time = output[opcode]['time']
167 cnt = output[opcode]['cnt']
168 min_t = output[opcode]['min']
169 max_t = output[opcode]['max']
178 if (opcode in output):
179 output[opcode]['time'] += diff
180 output[opcode]['cnt'] += 1
181 if (output[opcode]['min'] > diff):
[all …]
/tools/perf/util/
Dzstd.c63 ZSTD_outBuffer output; in zstd_compress_stream_to_records() local
72 output = (ZSTD_outBuffer){ dst, (dst_size > max_record_size) ? in zstd_compress_stream_to_records()
74 ret = ZSTD_compressStream(data->cstream, &output, &input); in zstd_compress_stream_to_records()
75 ZSTD_flushStream(data->cstream, &output); in zstd_compress_stream_to_records()
82 size = output.pos; in zstd_compress_stream_to_records()
97 ZSTD_outBuffer output = { dst, dst_size, 0 }; in zstd_decompress_stream() local
100 ret = ZSTD_decompressStream(data->dstream, &output, &input); in zstd_decompress_stream()
103 src_size, output.size, dst_size, ZSTD_getErrorName(ret)); in zstd_decompress_stream()
106 output.dst = dst + output.pos; in zstd_decompress_stream()
107 output.size = dst_size - output.pos; in zstd_decompress_stream()
[all …]
Dstat-display.c28 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running()
34 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running()
44 fprintf(config->output, "%s%.2f%%", config->csv_sep, pct); in print_noise_pct()
46 fprintf(config->output, " ( +-%6.2f%% )", pct); in print_noise_pct()
65 fprintf(config->output, "%s%s", config->csv_sep, cgrp_name); in print_cgroup()
75 fprintf(config->output, "S%d-D%d-C%*d%s%*d%s", in aggr_printout()
86 fprintf(config->output, "S%d-D%*d%s%*d%s", in aggr_printout()
96 fprintf(config->output, "S%*d%s%*d%s", in aggr_printout()
105 fprintf(config->output, "N%*d%s%*d%s", in aggr_printout()
115 fprintf(config->output, "S%d-D%d-C%*d%s", in aggr_printout()
[all …]
/tools/power/cpupower/bench/
Dmain.c82 if (config->output != NULL) in main()
83 fclose(config->output); in main()
85 config->output = prepare_output(optarg); in main()
87 if (config->output == NULL) in main()
114 if (config->output != NULL) in main()
115 fclose(config->output); in main()
149 if (config->output != NULL) in main()
150 fclose(config->output); in main()
182 if (config->output != stdout) in main()
183 fclose(config->output); in main()
Dparse.c53 FILE *output = NULL; in prepare_output() local
96 output = fopen(filename, "w+"); in prepare_output()
97 if (output == NULL) { in prepare_output()
105 fprintf(output, "#round load sleep performance powersave percentage\n"); in prepare_output()
110 return output; in prepare_output()
137 config->output = stdout; in prepare_default_config()
205 config->output = prepare_output(val); in prepare_config()
Dbenchmark.c17 if (config->output != stdout) { \
116 fprintf(config->output, "%u %li %li ", in start_benchmark()
138 fprintf(config->output, "%li ", in start_benchmark()
168 fprintf(config->output, "%li ", in start_benchmark()
170 fprintf(config->output, "%.3f\n", in start_benchmark()
172 fflush(config->output); in start_benchmark()
/tools/testing/selftests/net/
Daltnames.sh17 local output
23 output=$(ip -j -p link show $SHORT_NAME)
26 name=$(echo $output | jq -e -r ".[0].altnames[0]")
38 output=$(ip -j -p link show $LONG_NAME)
41 name=$(echo $output | jq -e -r ".[0].altnames[1]")
/tools/perf/tests/shell/
Drecord+zstd_comp_decomp.sh28 $perf_tool report -i $trace_file --stdio | head -n -3 > $trace_file.comp.output &&
29 $perf_tool report -i $trace_file.decomp --stdio | head -n -3 > $trace_file.decomp.output &&
30 diff $trace_file.comp.output $trace_file.decomp.output
/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c368 __be32 output[VPHN_ASSOC_BUFSIZE] = { 0 }; in test_one() local
371 vphn_unpack_associativity(test->input, output); in test_one()
373 len = be32_to_cpu(output[0]); in test_one()
381 u32 val = be32_to_cpu(output[i]); in test_one()
/tools/perf/Documentation/
Dperf-version.txt15 on the standard output.
18 compiled-in libraries are printed on the standard output.
24 standard output.
Dperf-help.txt17 on the standard output.
20 printed on the standard output.
33 Prints all the available commands on the standard output. This
Dperf-timechart.txt36 --output=::
37 Select the output file (default: output.svg)
46 Only output the CPU power section of the diagram
49 Don't output processor state transitions
108 Written 10.2 seconds of trace to output.svg.
/tools/testing/selftests/bpf/prog_tests/
Dcore_reloc.c27 .output = FLAVORS_DATA(core_reloc_flavors), \
50 .output = NESTING_DATA(core_reloc_nesting), \
75 .output = STRUCT_TO_CHAR_PTR(core_reloc_arrays_output) { \
107 .output = PRIMITIVES_DATA(core_reloc_primitives), \
131 .output = STRUCT_TO_CHAR_PTR(core_reloc_mods_output) { \
148 .output = STRUCT_TO_CHAR_PTR(core_reloc_ptr_as_arr) { \
174 .output = INTS_DATA(core_reloc_ints), \
198 .output = STRUCT_TO_CHAR_PTR(core_reloc_bitfields_output) \
206 .output = STRUCT_TO_CHAR_PTR(core_reloc_bitfields_output) \
244 .output = SIZE_OUTPUT_DATA(struct core_reloc_##name), \
[all …]
/tools/wmi/
Ddell-smbios-example.c38 buffer->std.output[0], buffer->std.output[1], in show_buffer()
39 buffer->std.output[2], buffer->std.output[3]); in show_buffer()
103 if (ret != 0 || buffer->std.output[0] != 0) in token_is_active()
105 ret = (buffer->std.output[1] == *cmpvalue); in token_is_active()
/tools/cgroup/
Diocost_monitor.py126 output = f'{devname} {state:4} ' \
133output += f'({"C" if self.user_cost_model else ""}{"Q" if self.user_qos_params else ""})'
134 return output
243 output = '' variable
246 output += '\n' + iocstat.table_preamble_str()
247 output += '\n' + iocstat.table_header_str()
249 output += json.dumps(iocstat.dict(now))
264 output += '\n' + iocg_stat.table_row_str(path)
266 output += '\n' + json.dumps(iocg_stat.dict(now, path))
268 print(output)
/tools/testing/selftests/net/forwarding/
Dtc_chains.sh91 output="$(tc -j chain get dev $h2 ingress)"
94 echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null
100 output="$(tc -j chain get dev $h2 ingress chain 1)"
103 echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null
106 output="$(tc -j chain show dev $h2 ingress)"
109 echo $output | jq -e ".[] | select(.chain == 0)" &> /dev/null
112 echo $output | jq -e ".[] | select(.chain == 1)" &> /dev/null
/tools/lib/perf/
Devlist.c404 int output, int cpu) in perf_evlist__mmap_cb_mmap() argument
406 return perf_mmap__mmap(map, mp, output, cpu); in perf_evlist__mmap_cb_mmap()
430 int *output, fd, cpu; in mmap_per_evsel() local
445 output = _output_overwrite; in mmap_per_evsel()
448 output = _output; in mmap_per_evsel()
453 if (*output == -1) { in mmap_per_evsel()
454 *output = fd; in mmap_per_evsel()
471 if (ops->mmap(map, mp, *output, evlist_cpu) < 0) in mmap_per_evsel()
477 if (ioctl(fd, PERF_EVENT_IOC_SET_OUTPUT, *output) != 0) in mmap_per_evsel()
510 int output = -1; in mmap_per_thread() local
[all …]
/tools/power/pm-graph/config/
Dstandby-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
27 output-dir: standby-{hostname}-{date}-{time}-cg
34 # add the dmesg and ftrace log to the html output (default: false)
81 # pre-expand the callgraph data in the html output (default: disabled)
Dsuspend-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
27 output-dir: suspend-{hostname}-{date}-{time}-cg
34 # add the dmesg and ftrace log to the html output (default: false)
85 # pre-expand the callgraph data in the html output (default: disabled)
Dfreeze-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
27 output-dir: freeze-{hostname}-{date}-{time}-cg
34 # add the dmesg and ftrace log to the html output (default: false)
81 # pre-expand the callgraph data in the html output (default: disabled)
Dstandby.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
26 output-dir: standby-{hostname}-{date}-{time}
33 # add the dmesg and ftrace log to the html output (default: false)
80 # pre-expand the callgraph data in the html output (default: disabled)
Dfreeze.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
26 output-dir: freeze-{hostname}-{date}-{time}
33 # add the dmesg and ftrace log to the html output (default: false)
80 # pre-expand the callgraph data in the html output (default: disabled)
/tools/testing/selftests/resctrl/
Dmbm_test.c51 char output[] = RESULT_FILE_NAME; in check_results() local
57 fp = fopen(output, "r"); in check_results()
59 perror(output); in check_results()
Dmba_test.c105 char *token_array[8], output[] = RESULT_FILE_NAME, temp[512]; in check_results() local
110 fp = fopen(output, "r"); in check_results()
112 perror(output); in check_results()
/tools/bpf/runqslower/
D.gitignore2 /.output

1234567