Skip to content

Instantly share code, notes, and snippets.

@kondors1995
Created January 26, 2021 09:47
Show Gist options
  • Save kondors1995/7a0b7c0349cb7cc0d5bcc735c387a2cc to your computer and use it in GitHub Desktop.
Save kondors1995/7a0b7c0349cb7cc0d5bcc735c387a2cc to your computer and use it in GitHub Desktop.
freqbench-710-em
kondors1995@compute-v1:/datadrive/freqbench$ postprocess/legacy_em.py results/sdm710/main/results.json
/*
* Auto-generated legacy EAS energy model for incorporation in SoC device tree.
* Generated by freqbench postprocessing scripts using freqbench results.
* More info at https://github.com/kdrag0n/freqbench
*/
/ {
cpus {
cpu@0 {
efficiency = <612>;
capacity-dmips-mhz = <612>;
};
cpu@6 {
efficiency = <1024>;
capacity-dmips-mhz = <1024>;
};
};
energy_costs: energy-costs {
compatible = "sched-energy";
CPU_COST_0: core-cost0 {
busy-cost-data = <
300000 73
576000 81
748800 84
998400 107
1209600 110
1324800 128
1516800 131
1612800 142
1708800 162
>;
idle-cost-data = <
3 2 1
>;
};
CPU_COST_1: core-cost1 {
busy-cost-data = <
300000 82
652800 123
825600 170
979200 180
1132800 210
1363200 267
1536000 323
1747200 394
1843200 403
1996800 472
2054400 510
2169600 614
2208000 591
2304000 692
>;
idle-cost-data = <
3 2 1
>;
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment