Basic Block Execution weight in Histogram Tool

Basic Block Execution weight in Histogram Tool

Under the mix histogram description, it says:

  • The top 20 basic blocks are always printed in the output with their execution weights.

How is the execution weight computed? Does it depend on the number of instructions in the block?

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Yes, the execution weight for a block is the static number of instructions in the block times the number of times the block executed, relative to the total number of instructions executed.

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya