exynos5_counters_get(9)
π NAME π
exynos5_counters_get β the function that grabs the performance counters values, bestie. This is the exynos5_counters_get(9) page in the Kernel API Manual, and we are so ready to read it. π
β¨ SYNOPSIS β¨
int exynos5_counters_get (struct exynos5_dmc *dmc , unsigned long
*load_count , unsigned long *total_count );
π ARGUMENTS π
dmcβ the device whose counters are getting checked, periodt.load_countβ a variable that gets populated with the counter value. πtotal_countβ a variable used as the'wall clock'reference.
πΈ DESCRIPTION πΈ
Okay so this function provides performance counters values, and it does it by summing up the counters for two DMC channels. total_count is used as your reference and max value, bestie. The ratio load_count/total_count shows the busy percentage, and it lands in the range [0%, 100%]. Slay. π₯
π¦ SEE ALSO π¦
Kernel file ./drivers/memory/samsung/exynos5422-dmc.c is the main character here, and the whole friend group is:
struct dmc_opp_table(9)struct exynos5_dmc(9)find_target_freq_idx(9)exynos5_switch_timing_regs(9)exynos5_init_freq_table(9)exynos5_set_bypass_dram_timings(9)exynos5_dram_change_timings(9)exynos5_dmc_align_target_voltage(9)exynos5_dmc_align_bypass_voltage(9)exynos5_dmc_align_bypass_dram_timings(9)exynos5_dmc_switch_to_bypass_configuration(9)exynos5_dmc_change_freq_and_volt(9)exynos5_dmc_get_volt_freq(9)exynos5_dmc_target(9)exynos5_dmc_start_perf_events(9)exynos5_dmc_perf_events_calc(9)exynos5_dmc_perf_events_check(9)exynos5_dmc_enable_perf_events(9)exynos5_dmc_disable_perf_events(9)exynos5_dmc_get_status(9)exynos5_dmc_get_cur_freq(9)exynos5_dmc_align_init_freq(9)create_timings_aligned(9)of_get_dram_timings(9)exynos5_dmc_init_clks(9)exynos5_performance_counters_init(9)exynos5_dmc_set_pause_on_switching(9)exynos5_dmc_probe(9)exynos5_dmc_remove(9)
That's the whole page, bestie π«Ά β source/version is ./drivers/memory/samsung, dated October 2026, and the manual page is exynos5_counters_get(9). Periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms