I have a C code running on a PowerPC e500 embedded Linux. The code is running in an infinite loop with some heavy calculations inside the loop. I want to measure execution time of the loop as accurate as possible so I can estimate the calculation rate. Is there any tool that help in such estimation and hopefully supports being cross-compiled? The device has ELDK which does not support perf and I tried gprof but it's not working. Any other suggestions?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.