Home
last modified time | relevance | path

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

1234567

/openbsd-src/sys/dev/pci/bktr/
H A Dbktr_tuner.c757 tv_freq( bktr_ptr_t bktr, int frequency, int type ) in tv_freq() argument
778 if ( frequency < (160 * FREQFACTOR ) ) in tv_freq()
780 else if ( frequency < (454 * FREQFACTOR ) ) in tv_freq()
789 frequency -= 4; in tv_freq()
800 N = frequency + TBL_IF; in tv_freq()
810 if ( frequency > bktr->tuner.frequency ) { in tv_freq()
822 oldFrequency = frequency; in tv_freq()
826 N = frequency + TBL_IF; in tv_freq()
834 frequency = N - TBL_IF; in tv_freq()
836 … do_afc: returned freq %d (%d %% %d)\n", bktr_name(bktr), frequency, frequency / 16, frequency % 1… in tv_freq()
[all …]
H A Dbktr_tuner.h90 int tv_freq( bktr_ptr_t bktr, int frequency, int type );
94 int do_afc( bktr_ptr_t bktr, int addr, int frequency );
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dtracer.c102 if (e1->src->frequency * e1->probability !=
103 e2->src->frequency * e2->probability)
104 return (e1->src->frequency * e1->probability
105 > e2->src->frequency * e2->probability);
147 < bb->frequency * branch_ratio_cutoff)
164 fprintf (rtl_dump_file, "Trace seed %i [%i]", bb->index, bb->frequency);
173 fprintf (rtl_dump_file, ",%i [%i]", bb->index, bb->frequency);
177 fprintf (rtl_dump_file, " forward %i [%i]", bb->index, bb->frequency);
188 fprintf (rtl_dump_file, ",%i [%i]", bb->index, bb->frequency);
225 blocks[bb->index] = fibheap_insert (heap, -bb->frequency, in tail_duplicate()
[all …]
H A Dpredict.c126 if (bb->frequency < BB_FREQ_MAX / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION))
143 if (bb->frequency < BB_FREQ_MAX / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION))
892 REAL_VALUE_TYPE frequency; member
951 memcpy (&BLOCK_INFO (head)->frequency, &real_one, sizeof (real_one));
955 REAL_VALUE_TYPE cyclic_probability, frequency; local
958 memcpy (&frequency, &real_zero, sizeof (real_zero));
990 BLOCK_INFO (e->src)->frequency);
992 REAL_ARITHMETIC (frequency, PLUS_EXPR, frequency, tmp);
996 memcpy (&BLOCK_INFO (bb)->frequency, &frequency, sizeof (frequency));
1007 REAL_ARITHMETIC (BLOCK_INFO (bb)->frequency,
[all …]
H A Dcfgcleanup.c592 edge_frequency = ((edge_probability * b->frequency
606 first->frequency -= edge_frequency;
607 if (first->frequency < 0)
608 first->frequency = 0;
618 if (first->frequency)
619 prob = edge_frequency * REG_BR_PROB_BASE / first->frequency;
1416 redirect_to->frequency += src1->frequency;
1447 s->dest->frequency += EDGE_FREQUENCY (s);
1456 s2->dest->frequency -= EDGE_FREQUENCY (s);
1457 if (s2->dest->frequency < 0)
[all …]
H A Dregs.h94 : ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\
95 ? ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\
/openbsd-src/gnu/gcc/gcc/
H A Dtracer.c104 if (e1->src->frequency * e1->probability != in better_p()
105 e2->src->frequency * e2->probability) in better_p()
106 return (e1->src->frequency * e1->probability in better_p()
107 > e2->src->frequency * e2->probability); in better_p()
149 < bb->frequency * branch_ratio_cutoff) in find_best_predecessor()
164 fprintf (dump_file, "Trace seed %i [%i]", bb->index, bb->frequency); in find_trace()
173 fprintf (dump_file, ",%i [%i]", bb->index, bb->frequency); in find_trace()
177 fprintf (dump_file, " forward %i [%i]", bb->index, bb->frequency); in find_trace()
188 fprintf (dump_file, ",%i [%i]", bb->index, bb->frequency); in find_trace()
225 blocks[bb->index] = fibheap_insert (heap, -bb->frequency, in tail_duplicate()
[all …]
H A Dcfghooks.c117 if (bb->frequency < 0) in verify_flow_info()
120 bb->index, bb->frequency); in verify_flow_info()
331 new_bb->frequency = bb->frequency; in split_block()
409 ret->frequency = freq; in split_edge()
589 dummy->frequency -= EDGE_FREQUENCY (e); in make_forwarder_block()
591 if (dummy->frequency < 0) in make_forwarder_block()
592 dummy->frequency = 0; in make_forwarder_block()
745 new_bb->frequency = EDGE_FREQUENCY (e); in duplicate_block()
746 bb->frequency -= EDGE_FREQUENCY (e); in duplicate_block()
752 if (bb->frequency < 0) in duplicate_block()
[all …]
H A Dcfg.c458 if (abs (sum - bb->frequency) > 100) in check_bb_profile()
461 sum, bb->frequency); in check_bb_profile()
492 fprintf (file, ", freq %i", bb->frequency); in dump_bb_info()
888 if (bb->frequency) in update_bb_profile_for_threading()
889 prob = edge_frequency * REG_BR_PROB_BASE / bb->frequency; in update_bb_profile_for_threading()
905 bb->frequency -= edge_frequency; in update_bb_profile_for_threading()
906 if (bb->frequency < 0) in update_bb_profile_for_threading()
907 bb->frequency = 0; in update_bb_profile_for_threading()
913 bb->index, bb->frequency); in update_bb_profile_for_threading()
960 bbs[i]->frequency = RDIV (bbs[i]->frequency * num, den); in scale_bbs_frequencies_int()
[all …]
H A Dpredict.c124 if (bb->frequency < BB_FREQ_MAX / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION)) in maybe_hot_bb_p()
138 if (bb->frequency < BB_FREQ_MAX / PARAM_VALUE (HOT_BB_FREQUENCY_FRACTION)) in probably_cold_bb_p()
1526 sreal frequency; member
1589 memcpy (&BLOCK_INFO (head)->frequency, &real_one, sizeof (real_one)); in propagate_freq()
1594 sreal cyclic_probability, frequency; in propagate_freq() local
1597 memcpy (&frequency, &real_zero, sizeof (real_zero)); in propagate_freq()
1626 sreal_mul (&tmp, &tmp, &BLOCK_INFO (e->src)->frequency); in propagate_freq()
1628 sreal_add (&frequency, &frequency, &tmp); in propagate_freq()
1633 memcpy (&BLOCK_INFO (bb)->frequency, &frequency, in propagate_freq()
1634 sizeof (frequency)); in propagate_freq()
[all …]
H A Dcfgcleanup.c560 edge_frequency = ((edge_probability * b->frequency in try_forward_edges()
585 first->frequency -= edge_frequency; in try_forward_edges()
586 if (first->frequency < 0) in try_forward_edges()
587 first->frequency = 0; in try_forward_edges()
1735 redirect_to->frequency += src1->frequency; in try_crossjump_to_edge()
1767 s->dest->frequency += EDGE_FREQUENCY (s); in try_crossjump_to_edge()
1776 s2->dest->frequency -= EDGE_FREQUENCY (s); in try_crossjump_to_edge()
1777 if (s2->dest->frequency < 0) in try_crossjump_to_edge()
1778 s2->dest->frequency = 0; in try_crossjump_to_edge()
1783 if (!redirect_to->frequency && !src1->frequency) in try_crossjump_to_edge()
[all …]
H A Dregs.h97 : ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\
98 ? ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\
H A Dcfgexpand.c1254 new_bb->frequency = EDGE_FREQUENCY (false_edge); in expand_gimple_cond_expr()
1324 e->dest->frequency -= EDGE_FREQUENCY (e); in expand_gimple_tailcall()
1327 if (e->dest->frequency < 0) in expand_gimple_tailcall()
1328 e->dest->frequency = 0; in expand_gimple_tailcall()
1526 init_block->frequency = ENTRY_BLOCK_PTR->frequency; in construct_init_block()
1578 exit_block->frequency = EXIT_BLOCK_PTR->frequency; in construct_exit_block()
1599 exit_block->frequency -= EDGE_FREQUENCY (e2); in construct_exit_block()
1605 if (exit_block->frequency < 0) in construct_exit_block()
1606 exit_block->frequency = 0; in construct_exit_block()
H A Dbb-reorder.c208 block_not_hot_enough = (bb->frequency < exec_th in push_to_next_round_p()
247 if (e->dest->frequency > max_entry_frequency) in find_traces()
248 max_entry_frequency = e->dest->frequency; in find_traces()
281 fprintf (dump_file, "%d [%d] ", bb->index, bb->frequency); in find_traces()
282 fprintf (dump_file, "%d [%d]\n", bb->index, bb->frequency); in find_traces()
512 freq = e->dest->frequency; in find_traces_1_round()
625 > 4 * best_edge->dest->frequency / 5) in find_traces_1_round()
697 && 2 * e->dest->frequency >= EDGE_FREQUENCY (best_edge)) in find_traces_1_round()
837 return -(100 * BB_FREQ_MAX + 100 * priority + bb->frequency); in bb_to_key()
838 return -bb->frequency; in bb_to_key()
[all …]
H A Dsched-ebb.c209 || bb1->frequency > bb2->frequency) in rank()
212 || bb1->frequency < bb2->frequency) in rank()
H A Dtree-inline.c692 copy_basic_block->frequency = (bb->frequency in copy_bb()
867 copy_cfg_body (copy_body_data * id, gcov_type count, int frequency, in copy_cfg_body() argument
889 if (ENTRY_BLOCK_PTR_FOR_FUNCTION (src_cfun)->frequency) in copy_cfg_body()
890 frequency_scale = (REG_BR_PROB_BASE * frequency in copy_cfg_body()
892 ENTRY_BLOCK_PTR_FOR_FUNCTION (src_cfun)->frequency); in copy_cfg_body()
924 ENTRY_BLOCK_PTR->frequency = in copy_cfg_body()
925 (ENTRY_BLOCK_PTR_FOR_FUNCTION (src_cfun)->frequency * in copy_cfg_body()
930 EXIT_BLOCK_PTR->frequency = in copy_cfg_body()
931 (EXIT_BLOCK_PTR_FOR_FUNCTION (src_cfun)->frequency * in copy_cfg_body()
981 copy_body (copy_body_data *id, gcov_type count, int frequency, in copy_body() argument
[all …]
H A Dtree-tailcall.c673 decrease_profile (basic_block bb, gcov_type count, int frequency) in decrease_profile() argument
679 bb->frequency -= frequency; in decrease_profile()
680 if (bb->frequency < 0) in decrease_profile()
681 bb->frequency = 0; in decrease_profile()
/openbsd-src/gnu/llvm/llvm/docs/
H A DBlockFrequencyTerminology.rst11 Block Frequency is a metric for estimating the relative frequency of different
56 Block frequency is a relative metric that represents the number of times a
57 block executes. The ratio of a block frequency to the entry block frequency is
60 Block frequency is the main output of the ``BlockFrequencyInfo`` and
66 The implementation of the block frequency calculation analyses each loop,
93 mass is collected. This backedge mass is used to compute the exit frequency,
96 Implementation: Getting from mass and scale to frequency
103 We can get an initial frequency assignment (with entry frequency of 1.0) by
104 multiplying these masses and loop scales together. A given block's frequency
109 frequency assignment is shifted as necessary into the range of ``uint64_t``.
[all …]
/openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c493 uint32_t *frequency) in pp_atomfwctrl_get_clk_information_by_clkid() argument
512 *frequency = le32_to_cpu(output->atom_smu_outputclkfreq.smu_clock_freq_hz) / 10000; in pp_atomfwctrl_get_clk_information_by_clkid()
521 uint32_t frequency = 0; in pp_atomfwctrl_copy_vbios_bootup_values_3_2() local
534 …mfwctrl_get_clk_information_by_clkid(hwmgr, SMU11_SYSPLL0_SOCCLK_ID, SMU11_SYSPLL0_ID, &frequency)) in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
535 boot_values->ulSocClk = frequency; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
537 …fwctrl_get_clk_information_by_clkid(hwmgr, SMU11_SYSPLL0_DCEFCLK_ID, SMU11_SYSPLL0_ID, &frequency)) in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
538 boot_values->ulDCEFClk = frequency; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
540 …tomfwctrl_get_clk_information_by_clkid(hwmgr, SMU11_SYSPLL0_ECLK_ID, SMU11_SYSPLL0_ID, &frequency)) in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
541 boot_values->ulEClk = frequency; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
543 …tomfwctrl_get_clk_information_by_clkid(hwmgr, SMU11_SYSPLL0_VCLK_ID, SMU11_SYSPLL0_ID, &frequency)) in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
[all …]
/openbsd-src/sys/dev/isa/
H A Dspkr.c484 if (tp->duration < 0 || tp->frequency < 0) in spkrioctl()
486 if (tp->frequency == 0) in spkrioctl()
489 tone(tp->frequency, tp->duration); in spkrioctl()
498 if (ttp.duration < 0 || ttp.frequency < 0) in spkrioctl()
502 if (ttp.frequency == 0) in spkrioctl()
505 tone(ttp.frequency, ttp.duration); in spkrioctl()
H A Dspkrio.h15 int frequency; /* in hertz */ member
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h195 virtual uint64_t frequency(const Pass &P) const { return 1; } in frequency() function
230 uint64_t frequency(const Pass &P) const override;
268 uint64_t frequency(const Pass &P) const override;
308 uint64_t frequency(const Pass &P) const override;
/openbsd-src/sys/arch/armv7/exynos/
H A Dexiic.c75 uint16_t frequency; member
186 if (!sc->frequency) { in exiic_setspeed()
199 sc->frequency = (div & 0x0F) | 0xA0 | ((pres == 512) ? 0x40 : 0); in exiic_setspeed()
202 HWRITE4(sc, I2C_CON, sc->frequency); in exiic_setspeed()
/openbsd-src/sys/dev/ic/
H A Dimxiic.c112 if (!sc->frequency) { in imxiic_setspeed()
125 sc->frequency = sc->sc_clk_div[i].val; in imxiic_setspeed()
128 HWRITE1(sc, I2C_IFDR, sc->frequency); in imxiic_setspeed()
/openbsd-src/sys/arch/amd64/amd64/
H A Dtsc.c231 uint64_t count1, count2, frequency, min_freq, tsc1, tsc2; in measure_tsc_freq() local
262 frequency = calculate_tsc_freq(tsc1, tsc2, usec); in measure_tsc_freq()
264 min_freq = MIN(min_freq, frequency); in measure_tsc_freq()

1234567