Searched refs:counters (Results 1 - 25 of 29) sorted by relevance

12

/haiku-buildtools/gcc/libgcc/
H A Dlibgcov-merge.c32 void __gcov_merge_add (gcov_type *counters __attribute__ ((unused)),
37 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)),
42 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)),
49 /* The profile merging function that just adds the counters. It is given
50 an array COUNTERS of N_COUNTERS old counters and it reads the same number
51 of counters from the gcov file. */
53 __gcov_merge_add (gcov_type *counters, unsigned n_counters) argument
55 for (; n_counters; counters++, n_counters--)
56 *counters += gcov_get_counter ();
61 /* The profile merging function that just adds the counters
65 __gcov_merge_ior(gcov_type *counters, unsigned n_counters) argument
77 __gcov_merge_time_profile(gcov_type *counters, unsigned n_counters) argument
103 __gcov_merge_single(gcov_type *counters, unsigned n_counters) argument
142 __gcov_merge_delta(gcov_type *counters, unsigned n_counters) argument
176 __gcov_merge_icall_topn(gcov_type *counters, unsigned n_counters) argument
[all...]
H A Dlibgcov-profiler.c36 __gcov_interval_profiler (gcov_type *counters, gcov_type value, argument
41 counters[steps + 1]++;
43 counters[steps]++;
45 counters[delta]++;
54 __gcov_pow2_profiler (gcov_type *counters, gcov_type value) argument
57 counters[0]++;
59 counters[1]++;
74 __gcov_one_value_profiler_body (gcov_type *counters, gcov_type value) argument
76 if (value == counters[0])
77 counters[
90 __gcov_one_value_profiler(gcov_type *counters, gcov_type value) argument
109 __gcov_topn_value_profiler_body(gcov_type *counters, gcov_type value) argument
307 __gcov_time_profiler(gcov_type* counters) argument
319 __gcov_average_profiler(gcov_type *counters, gcov_type value) argument
330 __gcov_ior_profiler(gcov_type *counters, gcov_type value) argument
[all...]
H A Dlibgcov-util.c76 /* This variable contains all the counters for current module. */
78 /* The kind of counters that have been seen. */
80 /* Number of kind of counters that have been seen. */
83 /* Merge functions for counters. */
198 /* Handler for reading counters array tag with value as TAG and length of LENGTH. */
468 /* This part of the code is to merge profile counters. These
650 /* First pass on tgt_profile, we multiply w1 to all counters. */
685 /* Performing FN upon arc counters. */
688 __gcov_add_counter_op (gcov_type *counters, unsigned n_counters, argument
691 for (; n_counters; counters
725 __gcov_delta_counter_op(gcov_type *counters, unsigned n_counters, counter_op_fn fn, void *data1, void *data2) argument
742 __gcov_single_counter_op(gcov_type *counters, unsigned n_counters, counter_op_fn fn, void *data1, void *data2) argument
759 __gcov_icall_topn_counter_op(gcov_type *counters, unsigned n_counters, counter_op_fn fn, void *data1, void *data2) argument
[all...]
H A Dlibgcov-driver.c212 /* Computes a histogram of the arc counters to place in the summary SUM. */
224 /* This currently only applies to arc counters. */
345 /* This function merges counters in GI_PTR to an existing gcda file.
495 /* Write counters in GI_PTR and the summary in PRG to a gcda file. In
699 /* Sort the profile counters for all indirect call sites. Counters
703 gcov_sort_icall_topn_counter (const struct gcov_ctr_info *counters) argument
707 int n = counters->num;
710 values = counters->values;
719 /* Sort topn indirect_call profile counters in GI_PTR. */
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/s390/
H A Dhtm-builtins-1.c58 } counters = { 0, 0, 0 }; variable in typeref:struct:__anon233
123 counters.c1 = 0;
124 counters.c2 = 0;
127 __builtin_non_tx_store ((uint64_t *)&counters.c1, 1);
128 counters.c2 = 2;
134 if (counters.c1 != 1)
136 return 100 * counters.c1 + 2;
138 if (counters.c2 != 2)
140 return 100 * counters.c2 + 3;
155 counters
[all...]
H A Dhtm-builtins-2.c99 } counters = { 0, 0, 0 }; variable in typeref:struct:__anon237
251 counters.c1 = 0;
252 counters.c2 = 0;
253 counters.c3 = 0;
310 counters.c1 = 0;
311 counters.c2 = 0;
314 __TM_non_transactional_store((uint64_t *)&counters.c1, 1);
315 counters.c2 = 2;
321 if (counters.c1 != 1)
323 return 100 * counters
[all...]
/haiku-buildtools/binutils/gas/testsuite/gas/mips/
H A Dperfcount.d2 #name: MIPS R1[20]000 performance counters
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/mips/
H A Dperfcount.d2 #name: MIPS R1[20]000 performance counters
/haiku-buildtools/gcc/gcc/
H A Dvalue-prof.c119 collects the values to profile in a vec, and adds the number of counters
260 free (hist->hvalue.counters);
294 if (hist->hvalue.counters)
301 (int64_t) hist->hvalue.counters[i]);
303 (int64_t) hist->hvalue.counters[i]);
310 if (hist->hvalue.counters)
314 (int64_t) hist->hvalue.counters[0],
315 (int64_t) hist->hvalue.counters[1]);
322 if (hist->hvalue.counters)
327 (int64_t) hist->hvalue.counters[
[all...]
H A Dvalue-prof.h56 gcov_type *counters; /* Pointer to first counter. */
60 unsigned n_counters; /* Number of required counters. */
55 gcov_type *counters; /* Pointer to first counter. */ member in struct:histogram_value_t::__anon1939
H A Dipa-profile.c232 if (h->hvalue.counters[2])
238 = h->hvalue.counters [0];
240 = GCOV_COMPUTE_SCALE (h->hvalue.counters [1], h->hvalue.counters [2]);
H A Dprofile.c949 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters);
952 hist->hvalue.counters[j] = aact_count[j];
954 hist->hvalue.counters[j] = 0;
962 node->tp_first_run = hist->hvalue.counters[0];
H A Dauto-profile.c992 hist->hvalue.counters = XNEWVEC (gcov_type, hist->n_counters);
1006 hist->hvalue.counters[0]
1008 hist->hvalue.counters[1] = max_iter->second;
1009 hist->hvalue.counters[2] = total;
1017 get_identifier ((const char *) hist->hvalue.counters[0]));
H A Dcoverage.c132 static unsigned fn_ctr_mask; /* Mask of counters used. */
154 /* The names of merge functions for counters. */
346 error ("number of counters is %d instead of %d", entry->summary.num, n_counts);
353 error ("cannot merge separate %s counters for function %u",
383 /* Returns the counters for a particular tag. */
470 /* Allocate NUM counters of type COUNTER. Returns nonzero if the
812 build_fn_info_type (tree type, unsigned counters, tree gcov_info_type)
818 gcc_assert (counters);
857 array_type = build_index_type (size_int (counters - 1));
860 /* counters */
808 build_fn_info_type(tree type, unsigned counters, tree gcov_info_type) argument
[all...]
/haiku-buildtools/gcc/libgcc/config/arc/gmon/
H A Dprofil.S133 ; could save one cycle if the counters were allocated at link time and
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/bench/garbage/
H A Dparser.go90 // Once the heap is grown to full size, reset counters.
/haiku-buildtools/legacy/gcc/gcc/ch/
H A Dloop.c328 loop counters created for the loop''s exclusive use.
H A Dnloop.c338 loop counters created for the loop''s exclusive use.
/haiku-buildtools/legacy/binutils/opcodes/
H A Dbfin-dis.c349 #define counters(x) REGNAME (decode_counters[(x) & 1]) macro
2297 OUTS (outf, counters (c));
2307 OUTS (outf, counters (c));
2319 OUTS (outf, counters (c));
/haiku-buildtools/binutils/opcodes/
H A Dbfin-dis.c408 #define counters(x) REGNAME (decode_counters[(x) & 1]) macro
2587 OUTS (outf, counters (c));
2597 OUTS (outf, counters (c));
2609 OUTS (outf, counters (c));
/haiku-buildtools/legacy/binutils/texinfo/
H A Dtexinfo.tex3873 % all lower-level sectioning counters to zero.
/haiku-buildtools/libtool/doc/
H A Dtexinfo.tex4106 % all lower-level sectioning counters to zero.
/haiku-buildtools/autoconf/build-aux/
H A Dtexinfo.tex4379 % all lower-level sectioning counters to zero.
/haiku-buildtools/binutils/texinfo/
H A Dtexinfo.tex5124 % all lower-level sectioning counters to zero.
/haiku-buildtools/gcc/gmp/doc/
H A Dtexinfo.tex4896 % all lower-level sectioning counters to zero.

Completed in 426 milliseconds

12