Measuring the performance of a C program on a Raspberry Pi
My C (PolarSSL Simple Client) runs on Raspberry Pi. I want to measure the RAM usage and cpu timings of this client. Valgrind does not work on Raspberry Pi. Instead, it throws the following exception:
==3199== valgrind: Unrecognised instruction at address 0x4843588.
==3199== at 0x4843588: ??? (in /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so)
From what I'm collecting, this exception is the well known Walgrind problem on Malin.
What can I do to fix this problem?
+3
source to share