Cycles per Block¶
The Cycles per Block tab shows which blocks take the most cycles on a processor: the blocks worth optimizing, or worth switching to another implementation.

The table¶
Choose the processor after "Worst-case cycles per block (linear code) on target:". The table lists every block of the model that was measured on it:
| Column | Meaning |
|---|---|
| Block, Library, Implementation | The block, its library and the implementation used in the model, e.g. FiP16 or Float32 |
| Sample Time | The sample time of the block, as a multiple of Ts |
| Amount | How often the block occurs in the model with this implementation and sample time |
| Cycles (max) | Maximum cycles of one instance of the block |
| Total (max) | Amount × Cycles (max) |
| Share | Share of the total of all listed blocks |
The table starts sorted by share, largest first. Click a column header to sort by another column.
The line below the table shows the sum of all listed blocks and the block coverage of the processor, e.g. "Sum of covered blocks: 2,310 cycles (max), TMS320F28335: 18 / 18 blocks covered". The sum is the maximum of the linear code on the Cycles tab, the top of its whisker.
Blocks without measured data on the processor are not listed; they are missing from the sum as well, see Coverage.