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?

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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.

Faça login para deixar um comentário.