Lines Matching defs:counters

58 void __gcov_merge_add (gcov_type *counters  __attribute__ ((unused)),
63 void __gcov_merge_single (gcov_type *counters __attribute__ ((unused)),
68 void __gcov_merge_delta (gcov_type *counters __attribute__ ((unused)),
606 /* The profile merging function that just adds the counters. It is given
607 an array COUNTERS of N_COUNTERS old counters and it reads the same number
608 of counters from the gcov file. */
610 __gcov_merge_add (gcov_type *counters, unsigned n_counters)
612 for (; n_counters; counters++, n_counters--)
613 *counters += gcov_read_counter ();
619 It is given an array COUNTERS of N_COUNTERS old counters and it
620 reads the same number of counters from the gcov file. The counters
628 __gcov_merge_single (gcov_type *counters, unsigned n_counters)
635 for (i = 0; i < n_measures; i++, counters += 3)
641 if (counters[0] == value)
642 counters[1] += counter;
643 else if (counter > counters[1])
645 counters[0] = value;
646 counters[1] = counter - counters[1];
649 counters[1] -= counter;
650 counters[2] += all;
658 given an array COUNTERS of N_COUNTERS old counters and it reads the
659 same number of counters from the gcov file. The counters are split
667 __gcov_merge_delta (gcov_type *counters, unsigned n_counters)
674 for (i = 0; i < n_measures; i++, counters += 4)
681 if (counters[1] == value)
682 counters[2] += counter;
683 else if (counter > counters[2])
685 counters[1] = value;
686 counters[2] = counter - counters[2];
689 counters[2] -= counter;
690 counters[3] += all;
702 __gcov_interval_profiler (gcov_type *counters, gcov_type value,
707 counters[steps + 1]++;
709 counters[steps]++;
711 counters[delta]++;
720 __gcov_pow2_profiler (gcov_type *counters, gcov_type value)
723 counters[0]++;
725 counters[1]++;
741 __gcov_one_value_profiler (gcov_type *counters, gcov_type value)
743 if (value == counters[0])
744 counters[1]++;
745 else if (counters[1] == 0)
747 counters[1] = 1;
748 counters[0] = value;
751 counters[1]--;
752 counters[2]++;