mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 09:53:59 +09:00
147 lines
3.7 KiB
Plaintext
147 lines
3.7 KiB
Plaintext
|
|
Analyzing function: On_Charging_Status/1
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 1 }
|
|
|
|
Analyzing function body size: On_Charging_Status
|
|
|
|
IPA function summary for On_Charging_Status/1 inlinable
|
|
global time: 5.340000
|
|
self size: 7
|
|
global size: 0
|
|
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:
|
|
|
|
|
|
Analyzing function: Check_Charging_Status/0
|
|
;; 1 loops found
|
|
;;
|
|
;; Loop 0
|
|
;; header 0, latch 1
|
|
;; depth 0, outer -1
|
|
;; nodes: 0 1 2 3 4
|
|
;; 2 succs { 3 4 }
|
|
;; 3 succs { 4 }
|
|
;; 4 succs { 1 }
|
|
|
|
Analyzing function body size: Check_Charging_Status
|
|
|
|
IPA function summary for Check_Charging_Status/0 inlinable
|
|
global time: 9.550000
|
|
self size: 9
|
|
global size: 0
|
|
min size: 0
|
|
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
|
|
|
|
Symbol table:
|
|
|
|
GV_Charging_Status_Steer_Angle/4 (GV_Charging_Status_Steer_Angle) @06b06558
|
|
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) @06b06318
|
|
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) @06b062d0
|
|
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) @06b052a0
|
|
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) @06b05000
|
|
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)
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|