Theoretically calculate the code (python code) execution time and number of cycles in ARM Cortex-A53 SoC processor

Hi, I want to calculate the execution time and the number of cycles for the small set of code (python code). Currently, I am working with Raspberry Pi 3B (ARM Cortex-A53 SoC processor) and writing a python code. Now, I have to calculate execution time as well as a number of cycles for a small set of code. For example:


a = 10

b = 10

print("Sum ", (a+b))

Parents Reply Children
No data