Hi! > > count=1666675 us50=20178 us250=99913 diff=79735 cpu_MHz=4180.536 tsc50=42614718 tsc250=211016124 diff=101 rdtsc_MHz=2112.014 > > > > It's also what's used by sbc-bench to verify that CPU vendors are not > > cheating in the embedded world. It's very simple, and not arch-dependent > > nor compiler-dependent (at least as long as you don't build at -O0 :-)). > > Seeing the rdtsc stuff, I was a bit skeptical, but it seems to work > fine on arm32 and rv64. > > Unfortunately you forgot to add a LICENSE file ;-) > > Alternatively, I can use the C version of BogoMIPS. Which has its > own merits and reputation. I'd expect BogoMIPS to be _much_ worse than Dhrystone. If all the cores are same, it should be good enough, but... > The nice thing about Dhrystones is that people still publish numbers > for comparison, also DMIPS/MHz and DMIPS/mW. ...and there seems to be no replacement for that. Dhrystones seem to become the standard in RISC-V community at least. Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates.