mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
167 lines
4.7 KiB
Plaintext
167 lines
4.7 KiB
Plaintext
IPA function summary for On_Charging_Status/1 inlinable
|
|
global time: 5.340000
|
|
self size: 7
|
|
global size: 7
|
|
min size: 0
|
|
self stack: 0
|
|
global stack: 0
|
|
size:4.000000, time:3.340000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Check_Charging_Status/0 inlinable
|
|
global time: 9.550000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 2
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
On_Charging_Status/1 function not considered for inlining
|
|
loop depth: 0 freq:0.25 size: 1 time: 10callee size: 3 stack: 0
|
|
|
|
|
|
Flattening functions:
|
|
Overall time estimate: 14.890000 weighted by profile: 0.000000
|
|
|
|
Deciding on inlining of small functions. Starting with size 0.
|
|
Enqueueing calls in On_Charging_Status/1.
|
|
Enqueueing calls in Check_Charging_Status/0.
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
|
|
Deciding on functions to be inlined into all callers and removing useless speculations:
|
|
Overall time estimate: 14.890000 weighted by profile: 0.000000
|
|
|
|
Why inlining failed?
|
|
call is unlikely and code size would grow : 1 calls, 0.255000 freq, 0 count
|
|
IPA function summary for On_Charging_Status/1 inlinable
|
|
global time: 5.340000
|
|
self size: 7
|
|
global size: 7
|
|
min size: 4
|
|
self stack: 0
|
|
global stack: 0
|
|
estimated growth:3
|
|
size:4.000000, time:3.340000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
|
|
IPA function summary for Check_Charging_Status/0 inlinable
|
|
global time: 9.550000
|
|
self size: 9
|
|
global size: 9
|
|
min size: 2
|
|
self stack: 0
|
|
global stack: 0
|
|
size:5.000000, time:5.000000
|
|
size:3.000000, time:2.000000, executed if:(not inlined)
|
|
calls:
|
|
On_Charging_Status/1 call is unlikely and code size would grow
|
|
loop depth: 0 freq:0.25 size: 1 time: 10callee size: 3 stack: 0
|
|
|
|
Symbol table:
|
|
|
|
GV_Charging_Status_Steer_Angle/4 (GV_Charging_Status_Steer_Angle) @068e7678
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status/1 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
GV_Charging_Status_val/3 (GV_Charging_Status_val) @068e7438
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: On_Charging_Status/1 (read)Check_Charging_Status/0 (write)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
ECU3/2 (ECU3) @068e73f0
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: Check_Charging_Status/0 (read)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
On_Charging_Status/1 (On_Charging_Status) @068e62a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: GV_Charging_Status_val/3 (read)GV_Charging_Status_Steer_Angle/4 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by: Check_Charging_Status/0 (273804165 (estimated locally),0.25 per call)
|
|
Calls:
|
|
Check_Charging_Status/0 (Check_Charging_Status) @068e6000
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: ECU3/2 (read)GV_Charging_Status_val/3 (write)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: count:1073741824 (estimated locally) body optimize_size
|
|
Called by:
|
|
Calls: On_Charging_Status/1 (273804165 (estimated locally),0.25 per call)
|
|
|
|
;; Function On_Charging_Status (On_Charging_Status, funcdef_no=1, decl_uid=5277, cgraph_uid=2, symbol_order=1)
|
|
|
|
On_Charging_Status ()
|
|
{
|
|
unsigned char GV_Charging_Status_val.1_1;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Charging_Status_val.1_1 = GV_Charging_Status_val;
|
|
if (GV_Charging_Status_val.1_1 == 1)
|
|
goto <bb 3>; [34.00%]
|
|
else
|
|
goto <bb 4>; [66.00%]
|
|
|
|
<bb 3> [local count: 365072220]:
|
|
# DEBUG BEGIN_STMT
|
|
GV_Charging_Status_Steer_Angle = 0;
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
;; Function Check_Charging_Status (Check_Charging_Status, funcdef_no=0, decl_uid=5279, cgraph_uid=1, symbol_order=0)
|
|
|
|
Check_Charging_Status ()
|
|
{
|
|
<unnamed-unsigned:3> _1;
|
|
unsigned char _2;
|
|
unsigned char _3;
|
|
|
|
<bb 2> [local count: 1073741824]:
|
|
# DEBUG BEGIN_STMT
|
|
_1 = ECU3.RX.CH0_BCM_VCU_Signal2_0x580.ChargingStatus;
|
|
_2 = (unsigned char) _1;
|
|
GV_Charging_Status_val = _2;
|
|
# DEBUG BEGIN_STMT
|
|
_3 = _2 + 255;
|
|
if (_3 <= 1)
|
|
goto <bb 3>; [25.50%]
|
|
else
|
|
goto <bb 4>; [74.50%]
|
|
|
|
<bb 3> [local count: 273804165]:
|
|
# DEBUG BEGIN_STMT
|
|
On_Charging_Status ();
|
|
|
|
<bb 4> [local count: 1073741824]:
|
|
return;
|
|
|
|
}
|
|
|
|
|