For loop 3: there is also a double nested loop with same tripcount for all loops.
However, with this example, Code Analyzer estimates that II=2
.
A similar analysis and computation to the previous section can be performed and arrive to the conclusion that the innermost-loop has TI=TRIPCOUNT*II=16*2=32
and the outermost-loop has an overall TI=TRIPCOUNT*II=16*32=512
, finally adding 2 extra cycles for the state machine gives TI=512+2=514
.