TFLite layers cpu cycles calculation on cortex m4/m7 cores

Hi,
Is there a way by which we can calculate cpu cycles of TFLite model on cortex-m4/m7 processors for some of the common layers like conv2d, maxpooling2d etc?

Any suggestion of help/advice is appreciated.

Regards,
Akshay