Home
last modified time | relevance | path

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

123456

/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/
Dstat-display.c27 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running()
33 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running()
43 fprintf(config->output, "%s%.2f%%", config->csv_sep, pct); in print_noise_pct()
45 fprintf(config->output, " ( +-%6.2f%% )", pct); in print_noise_pct()
64 fprintf(config->output, "%s%s", config->csv_sep, cgrp_name); in print_cgroup()
74 fprintf(config->output, "S%d-D%d-C%*d%s%*d%s", in aggr_printout()
85 fprintf(config->output, "S%d-D%*d%s%*d%s", in aggr_printout()
95 fprintf(config->output, "S%*d%s%*d%s", in aggr_printout()
105 fprintf(config->output, "S%d-D%d-C%*d%s", in aggr_printout()
111 fprintf(config->output, "CPU%*d%s ", in aggr_printout()
[all …]
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 …]
/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/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/testing/selftests/bpf/prog_tests/
Dcore_reloc.c22 .output = FLAVORS_DATA(core_reloc_flavors), \
45 .output = NESTING_DATA(core_reloc_nesting), \
70 .output = STRUCT_TO_CHAR_PTR(core_reloc_arrays_output) { \
101 .output = PRIMITIVES_DATA(core_reloc_primitives), \
125 .output = STRUCT_TO_CHAR_PTR(core_reloc_mods_output) { \
142 .output = STRUCT_TO_CHAR_PTR(core_reloc_ptr_as_arr) { \
168 .output = INTS_DATA(core_reloc_ints), \
183 const char *output; member
196 .output = "\1", /* true */
275 .output = STRUCT_TO_CHAR_PTR(core_reloc_misc_output) {
[all …]
/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/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
255 output = '' variable
258 output += '\n' + iocstat.table_preamble_str()
259 output += '\n' + iocstat.table_header_str()
261 output += json.dumps(iocstat.dict(now))
276 output += '\n' + iocg_stat.table_row_str(path)
278 output += '\n' + json.dumps(iocg_stat.dict(now, path))
280 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/power/pm-graph/config/
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-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.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)
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)
/tools/perf/
Dbuiltin-trace.c144 FILE *output; member
1372 color_fprintf(trace->output, PERF_COLOR_RED, in trace__process_event()
1625 trace->output); in trace__validate_ev_qualifier()
1666 fputs("\nError:\t Not enough memory for parsing\n", trace->output); in trace__validate_ev_qualifier()
1865 fprintf(trace->output, "Invalid syscall %d id, skipping (%s, %" PRIu64 ") ...\n", in trace__syscall_info()
1888 …fprintf(trace->output, "Problems reading syscall %d: %d (%s)", id, -err, str_error_r(-err, sbuf, s… in trace__syscall_info()
1890 fprintf(trace->output, "(%s)", trace->syscalls.table[id].name); in trace__syscall_info()
1891 fputs(" information\n", trace->output); in trace__syscall_info()
1936 …d = trace__fprintf_entry_head(trace, trace->current, 0, false, ttrace->entry_time, trace->output); in trace__printf_interrupted_entry()
1937 printed += len = fprintf(trace->output, "%s)", ttrace->entry_str); in trace__printf_interrupted_entry()
[all …]
/tools/bpf/bpftool/Documentation/
Dbpftool-feature.rst36 passed, a subset of the output is dumped as a list of
41 avoid conflicts on macro names when including the output of
70 Generate JSON output. For commands that cannot produce JSON, this
74 Generate human-readable JSON output. Implies **-j**.
Dbpftool.rst44 Note that format of the output of all tools is not guaranteed to be
56 Generate JSON output. For commands that cannot produce JSON, this
60 Generate human-readable JSON output. Implies **-j**.
/tools/build/feature/
D.gitignore3 *.output
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck.sh35 echo QEMU error, output:
36 cat $i/qemu-output

123456