callgraph: Set_PWM_Duty/3 (Set_PWM_Duty) @05f722a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: PWM_for_dirve_mode/0 (524845004 (estimated locally),0.49 per call) PWM_for_dirve_mode/0 (524845004 (estimated locally),0.49 per call) PWM_for_dirve_mode/0 (274448410 (estimated locally),0.26 per call) PWM_for_dirve_mode/0 (274448410 (estimated locally),0.26 per call) PWM_for_dirve_mode/0 (274448410 (estimated locally),0.26 per call) PWM_for_dirve_mode/0 (274448410 (estimated locally),0.26 per call) Calls: PWM_for_dirve_mode/0 (PWM_for_dirve_mode) @05f6ab60 Type: function definition analyzed Visibility: externally_visible public References: GV_Operation_Mode/1 (read)GV_PWM_1/2 (read)GV_PWM_1/2 (write)GV_PWM_2/4 (write)GV_PWM_1/2 (write)GV_PWM_2/4 (write)GV_PWM_2/4 (write)GV_PWM_1/2 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Set_PWM_Duty/3 (524845004 (estimated locally),0.49 per call) Set_PWM_Duty/3 (524845004 (estimated locally),0.49 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Clearing variable flags: Function name:PWM_for_dirve_mode/0: locals read: locals written: ordered call graph: reduced PWM_for_dirve_mode/0 (PWM_for_dirve_mode) @05f6ab60 Type: function definition analyzed Visibility: externally_visible public Aux: @04e86c98 References: GV_Operation_Mode/1 (read)GV_PWM_1/2 (read)GV_PWM_1/2 (write)GV_PWM_2/4 (write)GV_PWM_1/2 (write)GV_PWM_2/4 (write)GV_PWM_2/4 (write)GV_PWM_1/2 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: Set_PWM_Duty/3 (524845004 (estimated locally),0.49 per call) Set_PWM_Duty/3 (524845004 (estimated locally),0.49 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Set_PWM_Duty/3 (274448410 (estimated locally),0.26 per call) Function name:PWM_for_dirve_mode/0: locals read: locals written: globals read: ALL globals written: ALL PWM_for_dirve_mode () { unsigned char GV_Operation_Mode.0_1; unsigned char GV_PWM_1.1_2; [local count: 1073741824]: # DEBUG BEGIN_STMT GV_Operation_Mode.0_1 = GV_Operation_Mode; if (GV_Operation_Mode.0_1 == 1) goto ; [51.12%] else goto ; [48.88%] [local count: 548896821]: # DEBUG BEGIN_STMT GV_PWM_1.1_2 = GV_PWM_1; if (GV_PWM_1.1_2 == 0) goto ; [50.00%] else goto ; [50.00%] [local count: 274448410]: # DEBUG BEGIN_STMT Set_PWM_Duty (0, 1.0e+2); # DEBUG BEGIN_STMT Set_PWM_Duty (1, 0.0); # DEBUG BEGIN_STMT GV_PWM_1 = 1; # DEBUG BEGIN_STMT GV_PWM_2 = 0; goto ; [100.00%] [local count: 274448410]: # DEBUG BEGIN_STMT Set_PWM_Duty (0, 0.0); # DEBUG BEGIN_STMT Set_PWM_Duty (1, 0.0); # DEBUG BEGIN_STMT GV_PWM_1 = 0; # DEBUG BEGIN_STMT GV_PWM_2 = 0; goto ; [100.00%] [local count: 524845004]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT Set_PWM_Duty (1, 0.0); # DEBUG BEGIN_STMT Set_PWM_Duty (0, 0.0); # DEBUG BEGIN_STMT GV_PWM_2 = 0; # DEBUG BEGIN_STMT GV_PWM_1 = 0; [local count: 1073741824]: return; }