Intel also provides vtune to annotate sequenced instructions and profile the microseconds and power consumption down to the level of individual instructions.
I assume those NOPs you mention exist for alignment padding. Clang and GCC let you configure the alignment padding of any or all functions, and Clang lets you explicitly align any for-loop anywhere you want with `[[clang::code_align]]`.
Comments
Intel also provides vtune to annotate sequenced instructions and profile the microseconds and power consumption down to the level of individual instructions.
I assume those NOPs you mention exist for alignment padding. Clang and GCC let you configure the alignment padding of any or all functions, and Clang lets you explicitly align any for-loop anywhere you want with `[[clang::code_align]]`.