Re: [hatari-devel] Hatari on constrained devices

[ Thread Index | Date Index | More Archives ]

Thomas Huth schrieb:

It's not measurable on modern CPUs.

I would agree to that.

Linux developers seem to look down on other platforms, because Linux has
the incredible "perf" tool. So, why not use it, I thought?

This is on a Raspberry Pi 400, certainly a less powerful CPU than in a
current PC. Somehow inspired by the command used during the EmuTOS
tests, I ran...

SDL_VIDEODRIVER=dummy SDL_AUDIODRIVER=dummy perf stat -e cycles -r 10
hatari --log-level fatal --sound off --fast-forward on --run-vbls 400
--fast-boot on --tos etos512de.img

.... to measure the amount of ARM CPU cycles spent, without any video or
audio output overhead. These are the average values and standard
deviations for 10 repetitions ("-r 10") respectively:

 3,333,167,644      cycles   ( +-  0.45% )

 3,267,861,361      cycles   ( +-  0.53% )

Therefore, ENABLE_SMALL_MEM=1 even seems to be (very marginally) faster
in this test!

Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA

Mail converted by MHonArc 2.6.19+