Lines Matching defs:heat
175 item.heat = Percentage(item.eventCount_, config.eventCount_);
178 item.ToDebugString().c_str(), item.heat, item.eventCount_, config.eventCount_);
398 float heat = Percentage(eventCount, totalEventCount);
400 HLOGV("frame %f indent %d at %s", heat, indent, funcName.data());
402 CHECK_TRUE(heat < option_.callStackHeatLimit_, false, 0, ""); // don't print this three anymore
404 if (abs(heat - num) < ALMOST_ZERO) {
409 fprintf(output_, "%*.2f%% ", FULL_PERCENTAGE_NUM_LEN, heat);
487 if (reportItem.heat < option_.heatLimit_) {
491 fprintf(output_, "%*.2f%% ", FULL_PERCENTAGE_NUM_LEN, reportItem.heat);
520 void Report::OutputStdItemHeating(float heat, float heat2)
522 if (heat == heat2 and heat == 0.0f) {
526 fprintf(output_, "%*.2f%% ", FULL_PERCENTAGE_NUM_LEN, heat);
528 } else if (heat == 0) {
532 } else if (heat2 > heat) {
533 fprintf(output_, "%s%*.2f%%%s ", TEXT_RED.c_str(), FULL_PERCENTAGE_NUM_LEN, heat,
536 heat2 - heat, TEXT_RESET.c_str());
537 } else if (heat2 < heat) {
538 fprintf(output_, "%s%*.2f%%%s ", TEXT_GREEN.c_str(), FULL_PERCENTAGE_NUM_LEN, heat,
541 heat2 - heat, TEXT_RESET.c_str());
544 fprintf(output_, "%*.2f%% ", FULL_PERCENTAGE_NUM_LEN, heat);
545 fprintf(output_, "%+*.2f%% ", FULL_PERCENTAGE_DIFF_NUM_LEN, heat2 - heat);
563 if (it->heat > option_.heatLimit_ and it2->heat > option_.heatLimit_) {
564 OutputStdItemHeating(it->heat, it2->heat);
572 if (it2->heat > option_.heatLimit_) {
573 OutputStdItemHeating(0.0f, it2->heat);
582 if (it->heat > option_.heatLimit_) {
583 OutputStdItemHeating(it->heat, 0.0f);
592 OutputStdItemHeating(0, it2->heat);