在该例程中收集到的采样数量与处理器在执行指令时所花的时间成正比。
The number of samples collected in the routine is proportional to the the time spent by the processor in executing instructions.
而我们执行的逻辑ISAM指令的数量是6百万次读取,锁请求数是(就是所读取的物理指示器)是590亿。
While the amount of logical ISAM instructions we have performed is at 6 million reads, the number of lock requests (which is a physical indicator of what was read) is at 59 billion.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
应用推荐