Home
last modified time | relevance | path

Searched refs:ena (Results 1 – 25 of 26) sorted by relevance

12

/tools/perf/scripts/python/
Dstat-cpi.py23 def store(time, event, cpu, thread, val, ena, run): argument
29 data[key] = [ val, ena, run]
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
36 store(time, "cycles", cpu, thread, val, ena, run);
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
39 store(time, "instructions", cpu, thread, val, ena, run);
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
42 store(time, "cycles", cpu, thread, val, ena, run);
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
45 store(time, "instructions", cpu, thread, val, ena, run);
[all …]
/tools/testing/selftests/net/
Dcmsg_sender.c39 bool ena; member
61 bool ena; member
65 bool ena; member
143 opt.mark.ena = true; in cs_parse_args()
150 opt.txtime.ena = true; in cs_parse_args()
154 opt.ts.ena = true; in cs_parse_args()
157 opt.v6.dontfrag.ena = true; in cs_parse_args()
164 opt.v6.tclass.ena = true; in cs_parse_args()
171 opt.v6.hlimit.ena = true; in cs_parse_args()
178 opt.v6.exthdr.ena = true; in cs_parse_args()
[all …]
/tools/perf/util/
Dstat.c337 if (!(vals->run && vals->ena)) in check_per_pkg()
379 if (count->ena != 0 && count->run != 0) in evsel__count_has_error()
419 aggr_counts->ena += count->ena; in process_counter_values()
444 ps_aggr->counts.ena = 0; in process_counter_values()
451 ps_aggr->counts.ena += count->ena; in process_counter_values()
532 aggr_counts_a->ena += aggr_counts_b->ena; in evsel__merge_aggr_counters()
619 counts.ena += aggr->counts.ena; in evsel__update_percore_stats()
632 aggr->counts.ena = counts.ena; in evsel__update_percore_stats()
682 count.ena = st->ena; in perf_event__process_stat_event()
714 st->val, st->ena, st->run); in perf_event__fprintf_stat()
Dstat-display.c71 static void print_running_std(struct perf_stat_config *config, u64 run, u64 ena) in print_running_std() argument
73 if (run != ena) in print_running_std()
74 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running_std()
77 static void print_running_csv(struct perf_stat_config *config, u64 run, u64 ena) in print_running_csv() argument
81 if (run != ena) in print_running_csv()
82 enabled_percent = 100 * run / ena; in print_running_csv()
87 static void print_running_json(struct perf_stat_config *config, u64 run, u64 ena) in print_running_json() argument
91 if (run != ena) in print_running_json()
92 enabled_percent = 100 * run / ena; in print_running_json()
98 u64 run, u64 ena, bool before_metric) in print_running() argument
[all …]
Dbpf_counter.c244 counts->ena = 0; in bpf_program_profiler__read()
266 counts->ena += values[bpf_cpu].enabled; in bpf_program_profiler__read()
637 counts->ena = values[entry.cpu].enabled; in bperf__read()
646 counts->ena = values[cpu].enabled; in bperf__read()
653 counts->ena = 0; in bperf__read()
658 counts->ena += values[cpu].enabled; in bperf__read()
Dstat.h181 u64 ena, u64 run);
Dbpf_counter_cgroup.c267 counts->ena = values[cpu.cpu].enabled; in bperf_cgrp__read()
Devsel.c1512 count->ena = count->ena - tmp.ena; in evsel__compute_deltas()
1524 u64 val, u64 ena, u64 run, u64 lost) in evsel__set_count() argument
1531 count->ena = ena; in evsel__set_count()
1542 u64 nr, ena = 0, run = 0, lost = 0; in evsel__process_group_data() local
1550 ena = *data++; in evsel__process_group_data()
1566 evsel__set_count(counter, cpu_map_idx, thread, v->value, ena, run, lost); in evsel__process_group_data()
Dstat-shadow.c709 u64 ena, u64 run) in perf_stat__skip_metric_event() argument
714 if (!ena || !run) in perf_stat__skip_metric_event()
Dsynthetic-events.c1406 event.ena = count->ena; in perf_event__synthesize_stat()
Dsession.c975 event->stat.ena = bswap_64(event->stat.ena); in perf_event__stat_swap()
/tools/perf/tests/
Dstat.c76 TEST_ASSERT_VAL("wrong run", st->ena == 200); in process_stat_event()
86 count.ena = 200; in test__synthesize_stat()
Devent-times.c202 err = !(count.ena == count.run); in test_times()
206 count.ena, count.run); in test_times()
/tools/lib/perf/
Dmmap.c479 count->ena = READ_ONCE(pc->time_enabled); in perf_mmap__read_self()
482 if (pc->cap_user_time && count->ena != count->run) { in perf_mmap__read_self()
509 if (count->ena != count->run) { in perf_mmap__read_self()
517 count->ena += delta; in perf_mmap__read_self()
Devsel.c347 count->ena = data[idx++]; in perf_evsel__read_group()
375 count->ena = buf[n++]; in perf_evsel__adjust_values()
549 } else if (count->run < count->ena) { in perf_counts_values__scale()
551 count->val = (u64)((double)count->val * count->ena / count->run); in perf_counts_values__scale()
/tools/lib/perf/tests/
Dtest-evsel.c217 __T("failed to read TOTAL_TIME_ENABLED", counts.ena); in test_stat_read_format_single()
263 __T("failed to read leader TOTAL_TIME_ENABLED", counts.ena); in test_stat_read_format_group()
276 __T("failed to read member TOTAL_TIME_ENABLED", counts.ena); in test_stat_read_format_group()
Dtest-evlist.c482 expected_counts.ena == expected_counts.run); in test_stat_multiplexing()
531 i, counts[i].val, counts[i].run, counts[i].ena); in test_stat_multiplexing()
537 (double)counts[i].run / (double)counts[i].ena * 100.0, in test_stat_multiplexing()
538 counts[i].run, counts[i].ena); in test_stat_multiplexing()
/tools/lib/perf/include/perf/
Devsel.h19 uint64_t ena; member
Devent.h418 __u64 ena; member
/tools/lib/perf/Documentation/examples/
Dcounting.c75 counts.val, counts.ena, counts.run); in main()
/tools/perf/arch/x86/util/
Diostat.c436 if (count && count->run && count->ena) { in iostat_print_metric()
445 ((double) count->run / count->ena); in iostat_print_metric()
/tools/lib/perf/Documentation/
Dlibperf-counting.txt179 84 counts.val, counts.ena, counts.run);
Dlibperf.txt128 uint64_t ena;
/tools/perf/
Dbuiltin-stat.c286 count->ena = count->run = val; in read_single_counter()
299 count->ena = count->run = val; in read_single_counter()
336 perf_counts(counter->counts, cpu_map_idx, thread)->ena = 0; in read_counter_cpu()
356 count->val, count->ena, count->run); in read_counter_cpu()
/tools/perf/util/scripting-engines/
Dtrace-event-python.c1673 tuple_set_u64(t, n++, count->ena); in process_stat()

12