Home
last modified time | relevance | path

Searched refs:max_freq (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/core/mindrt/src/thread/
Dcore_affinity.cc58 int max_freq; member
193 int max_freq = -1; in GetMaxFrequency() local
196 return max_freq; in GetMaxFrequency()
204 if (freq > max_freq) { in GetMaxFrequency()
205 max_freq = freq; in GetMaxFrequency()
209 return max_freq; in GetMaxFrequency()
218 int max_freq = GetMaxFrequency(i); in InitHardwareCoreInfo() local
219 core_freq_[i] = max_freq; in InitHardwareCoreInfo()
221 freq_set[i].max_freq = max_freq; in InitHardwareCoreInfo()
231 if (freq_set[i].max_freq < freq_set[j].max_freq || in InitHardwareCoreInfo()
[all …]
/third_party/mesa3d/src/freedreno/perfcntrs/
Dfreedreno_dt.c49 uint32_t max_freq; member
85 dev.max_freq = MAX2(dev.max_freq, freq); in find_freqs_fn()
98 dev.max_freq = 0; in find_freqs()
223 printf("min_freq=%u, max_freq=%u\n", dev.min_freq, dev.max_freq); in find_device()
229 fd_dt_find_freqs(uint32_t *min_freq, uint32_t *max_freq) in fd_dt_find_freqs() argument
235 *max_freq = dev.max_freq; in fd_dt_find_freqs()
Dfdperf.c81 uint32_t max_freq; member
149 if (!fd_dt_find_freqs(&dev.min_freq, &dev.max_freq)) in find_device()
153 dev.max_freq = val; in find_device()
156 printf("min_freq=%u, max_freq=%u\n", dev.min_freq, dev.max_freq); in find_device()
329 ((float)dev.max_freq) / 1000000.0); in redraw_footer()
377 val = val / (float)dev.max_freq; in redraw_counter_value_cycles()
Dfreedreno_dt.h41 bool fd_dt_find_freqs(uint32_t *min_freq, uint32_t *max_freq);
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_query.c138 debug_assert(batch->ctx->screen->max_freq > 0); in time_elapsed_get_sample()
224 result->u64 += n * 1000000000 / ctx->screen->max_freq; in time_elapsed_accumulate_result()
236 result->u64 = n * 1000000000 / ctx->screen->max_freq; in timestamp_accumulate_result()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c134 debug_assert(screen->max_freq > 0); in fd_screen_get_timestamp()
135 return n * 1000000000 / screen->max_freq; in fd_screen_get_timestamp()
503 return (screen->max_freq > 0) && in fd_screen_get_param()
763 RET((uint32_t[]){screen->max_freq / 1000000}); in fd_get_compute_param()
978 screen->max_freq = 0; in fd_screen_create()
980 screen->max_freq = val; in fd_screen_create()
Dfreedreno_screen.h88 uint32_t max_freq; member
/third_party/mesa3d/src/freedreno/ds/
Dfd_pps_driver.cc64 return 100.0 * (PERF_CP_BUSY_CYCLES / time) / max_freq; in setup_a6xx_counters()
81 return 100.0 * (PERF_SP_BUSY_CYCLES / time) / (max_freq * info->num_sp_cores); in setup_a6xx_counters()
143 max_freq = val; in init_perfcnt()
Dfd_pps_driver.h36 uint32_t max_freq; variable
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dio-sim.h53 unsigned int max_freq,
Dio-sim.c409 unsigned int max_freq, unsigned int amplitude, unsigned int seed) in vbi_raw_add_noise() argument
438 f0 = ((double) min_freq + max_freq) * 0.5; in vbi_raw_add_noise()
445 bw = fabs (vbi_log2 (MAX (min_freq, max_freq) / f0)); in vbi_raw_add_noise()
/third_party/mindspore/mindspore/lite/src/runtime/gpu/
Dgpu_runtime.h42 uint32_t max_freq{0};
/third_party/ffmpeg/libavfilter/
Davf_showspectrum.c649 const float max_freq = sample_rate / 2; in get_log_hz() local
650 const float hz_per_bin = max_freq / num_bins; in get_log_hz()
652 const float scaled_freq = log_scale(freq + 1, 21, max_freq) - 1; in get_log_hz()
654 return num_bins * scaled_freq / max_freq; in get_log_hz()
674 const float max_freq = sample_rate / 2; in bin_pos() local
675 const float hz_per_bin = max_freq / num_bins; in bin_pos()
677 const float scaled_freq = inv_log_scale(freq + 1, 21, max_freq) - 1; in bin_pos()
679 return num_bins * scaled_freq / max_freq; in bin_pos()