1.热点分析
1.1热点函数
1.2热点循环
格式说明: 热点循环-(函数执行次数-各层执行总次数)
执行百分比:热点循环占本函数执行比例
函数:primal_bea_mpp
pb.L1.1(80-102400-98304000)
执行百分比:99.0%
函数: refresh_potential
rp.L1.1(80-77040-98919360)
执行百分比:18.2%
函数: price_out_impl
po.L1.1(80-77120-98752160)
执行百分比:100%
函数: replace_weaker_arc
1.3 热点代码
/* 函数 primal_bea_mpp */
// pb.L1
for( ; arc < stop_arcs; arc += nr_group )
{
if( arc->ident > BASIC )
{
red_cost = arc->cost - arc->tail->potential + arc->head->potential;
}
}
/* 函数 refresh_potential */
// rp.L1
while( node != root )
{
while