sipeed / Maixduino

Arduino port on Maix board ( k210 )
https://maixduino.sipeed.com
Other
213 stars 93 forks source link

400 / 600 mhz no difference in performance #46

Open dimitre opened 4 years ago

dimitre commented 4 years ago

Hello, I've just tested some benchmark at 400Mhz and 600Mhz and the performance outputs the same. I think this options aren't working on Maixduino yet. https://github.com/PaulStoffregen/CoreMark Thanks Screen Shot 2019-08-07 at 1 03 05 PM Screen Shot 2019-08-07 at 1 04 19 PM

CombiesGit commented 4 years ago

`void setup() { sysctl_cpu_set_freq(F_CPU); }

void loop() {

}`

Are there any side effects? I dont know.

romainreignier commented 1 year ago

Indeed, I have looked into the source code and the menu entry does not attempt to change the CPU frequency anywhere. It only changes the SystemCoreClock constant but it is not used anywhere, not even in the millis() implementation.