local analysis of task_1s scanning: Time_Tick1s (); scanning: CAN_Task_1000ms (); scanning: _1 = gb.led_flag; scanning: _2 = _1 == 0; scanning: _3 = (int) _2; scanning: led_onoff (_3); scanning: return; Function is locally const. local analysis of task_200ms scanning: CAN_Task_200ms (); scanning: PWM_for_dirve_mode (); scanning: return; Function is locally const. local analysis of task_100ms scanning: test_pwm.1_1 = test_pwm; scanning: if (test_pwm.1_1 <= 99) scanning: _2 = test_pwm.1_1 + 1; scanning: test_pwm = _2; scanning: test_pwm = 0; scanning: C_100ms.4_3 = C_100ms; scanning: _4 = C_100ms.4_3 + 1; scanning: C_100ms = _4; scanning: CAN_Task_100ms (); scanning: return; Function is locally const. local analysis of task_50ms scanning: return; Function is locally const. local analysis of task_20ms scanning: CAN_Task_20ms (); scanning: return; Function is locally const. local analysis of task_10ms scanning: CAN_Task_10ms (); scanning: return; Function is locally const. local analysis of task_5ms scanning: CAN_Task_5ms (); scanning: return; Function is locally const. local analysis of task_2ms scanning: ECU3_KATECH_Logic_2ms (); scanning: return; Function is locally const. local analysis of task_1ms scanning: return; Function is locally const. local analysis of task_500us scanning: can_tx_check (); scanning: can_main_ECU3 (); scanning: return; Function is locally const. local analysis of main scanning: Gvar_init (); scanning: Clock_Ip_Init (&Mcu_aClockConfigPB[0]); scanning: Siul2_Port_Ip_Init (78, &g_pin_mux_InitConfigArr0); scanning: IntCtrl_Ip_Init (&IntCtrlConfig_0); scanning: IntCtrl_Ip_ConfigIrqRouting (&intRouteConfig); scanning: Uart_Init (); scanning: _1 = gb.pwm_max_tick; scanning: pwm_init (_1); scanning: Adc_Init (); scanning: i2c1_init (); scanning: i2c0_init (); scanning: SPI_init (); scanning: Pit_Ip_Init (0, &PIT_0_InitConfig_PB); scanning: Pit_Ip_InitChannel (0, &PIT_0_ChannelConfig_PB[0]); scanning: Pit_Ip_EnableChannelInterrupt (0, 0); scanning: Pit_Ip_StartChannel (0, 0, 20000); scanning: _2 = (int) ch_23; scanning: Can_Init_ECU3 (_2); scanning: ch_104 = ch_23 + 1; scanning: if (ch_23 != 6) scanning: board_init (); scanning: tick_500us_71 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_1ms_72 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_2ms_73 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_5ms_74 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_10ms_75 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_20ms_76 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_50ms_77 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_100ms_78 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_200ms_79 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tick_1sec_80 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: tmr_delay (1000); scanning: WATCHDOG_HAL_Init (); scanning: debug_printf ("Board Init Finished\n\r"); scanning: ECU3_KATECH_Logic_init (); scanning: _3 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _4 = tick_1sec_34 + 1000; scanning: if (_3 >= _4) scanning: tick_1sec_85 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: task_1s (); scanning: _5 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _6 = tick_200ms_42 + 200; scanning: if (_5 >= _6) scanning: tick_200ms_87 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: task_200ms (); scanning: _7 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _8 = tick_100ms_24 + 100; scanning: if (_7 >= _8) scanning: tick_100ms_89 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: task_100ms (); scanning: _9 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _10 = tick_50ms_30 + 50; scanning: if (_9 >= _10) scanning: tick_50ms_91 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _11 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _12 = tick_20ms_28 + 20; scanning: if (_11 >= _12) scanning: tick_20ms_93 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: CAN_Task_20ms (); scanning: _13 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _14 = tick_10ms_26 + 10; scanning: if (_13 >= _14) scanning: tick_10ms_94 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: CAN_Task_10ms (); scanning: _15 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _16 = tick_5ms_40 + 5; scanning: if (_15 >= _16) scanning: tick_5ms_95 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: CAN_Task_5ms (); scanning: _17 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _18 = tick_2ms_32 + 2; scanning: if (_17 >= _18) scanning: tick_2ms_96 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: ECU3_KATECH_Logic_2ms (); scanning: _19 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _20 = tick_1ms_36 + 1; scanning: if (_19 >= _20) scanning: tick_1ms_97 ={v} gb.tmr_cnt; Volatile stmt is not const/pure scanning: _21 ={v} gb.x500us; Volatile stmt is not const/pure scanning: _22 = tick_500us_38 + 1; scanning: if (_21 >= _22) scanning: tick_500us_99 ={v} gb.x500us; Volatile stmt is not const/pure scanning: task_500us (); scanning: WATCHDOG_HAL_Fed (); scanning: uds_wait (); Function is locally looping. Function is locally pure. callgraph: task_1ms/94 (task_1ms) @06bacc40 Type: function definition analyzed Visibility: public next sharing asm name: 34 Aux: @08d7aa30 References: Referring: Function task_1ms/94 is inline copy in task_50ms/40 Clone of task_1ms/34 Availability: local Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size Called by: task_50ms/40 (inlined) (1073741824 (estimated locally),1.00 per call) Calls: led_onoff/87 (led_onoff) @09643b60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_1000ms/86 (CAN_Task_1000ms) @09643a80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: Time_Tick1s/85 (Time_Tick1s) @096439a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: PWM_for_dirve_mode/84 (PWM_for_dirve_mode) @096437e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_200ms/43 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_200ms/83 (CAN_Task_200ms) @09643700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_200ms/43 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_100ms/82 (CAN_Task_100ms) @09643540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_100ms/42 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_20ms/81 (CAN_Task_20ms) @096431c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_20ms/38 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_10ms/80 (CAN_Task_10ms) @09643000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_10ms/37 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_5ms/79 (CAN_Task_5ms) @0963fee0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_5ms/36 (1073741824 (estimated locally),1.00 per call) Calls: ECU3_KATECH_Logic_2ms/78 (ECU3_KATECH_Logic_2ms) @0963fd20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_2ms/35 (1073741824 (estimated locally),1.00 per call) Calls: can_main_ECU3/77 (can_main_ECU3) @0963fa80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_500us/33 (1073741824 (estimated locally),1.00 per call) Calls: can_tx_check/76 (can_tx_check) @0963f9a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_500us/33 (1073741824 (estimated locally),1.00 per call) Calls: uds_wait/75 (uds_wait) @0963f7e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (1073741824 (estimated locally),10000.02 per call) Calls: WATCHDOG_HAL_Fed/74 (WATCHDOG_HAL_Fed) @0963f700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (1073741824 (estimated locally),10000.02 per call) Calls: ECU3_KATECH_Logic_init/73 (ECU3_KATECH_Logic_init) @0963f620 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: debug_printf/72 (debug_printf) @0963f540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: WATCHDOG_HAL_Init/71 (WATCHDOG_HAL_Init) @0963f460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: tmr_delay/70 (tmr_delay) @0963f380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: board_init/69 (board_init) @0963f2a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Can_Init_ECU3/68 (Can_Init_ECU3) @0963f1c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (644019 (estimated locally),6.00 per call) Calls: Pit_Ip_StartChannel/67 (Pit_Ip_StartChannel) @0963f0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_EnableChannelInterrupt/66 (Pit_Ip_EnableChannelInterrupt) @0963f000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_InitChannel/64 (Pit_Ip_InitChannel) @09639ee0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_Init/62 (Pit_Ip_Init) @09639d20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: SPI_init/61 (SPI_init) @09639c40 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: i2c0_init/60 (i2c0_init) @09639b60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: i2c1_init/59 (i2c1_init) @09639a80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Adc_Init/58 (Adc_Init) @096399a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: pwm_init/57 (pwm_init) @096398c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Uart_Init/56 (Uart_Init) @096397e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: IntCtrl_Ip_ConfigIrqRouting/54 (IntCtrl_Ip_ConfigIrqRouting) @09639700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: IntCtrl_Ip_Init/52 (IntCtrl_Ip_Init) @09639620 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Siul2_Port_Ip_Init/50 (Siul2_Port_Ip_Init) @09639540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Clock_Ip_Init/48 (Clock_Ip_Init) @09639460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Gvar_init/47 (Gvar_init) @09639380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: task_1s/46 (task_1s) @09633620 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa90 References: gb/27 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: led_onoff/87 (1073741824 (estimated locally),1.00 per call) CAN_Task_1000ms/86 (1073741824 (estimated locally),1.00 per call) Time_Tick1s/85 (1073741824 (estimated locally),1.00 per call) task_200ms/43 (task_200ms) @09633e00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa10 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: PWM_for_dirve_mode/84 (1073741824 (estimated locally),1.00 per call) CAN_Task_200ms/83 (1073741824 (estimated locally),1.00 per call) task_100ms/42 (task_100ms) @09633b60 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ad50 References: test_pwm/39 (read)test_pwm/39 (write)test_pwm/39 (write)C_100ms/41 (read)C_100ms/41 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: CAN_Task_100ms/82 (1073741824 (estimated locally),1.00 per call) task_50ms/40 (task_50ms) @096337e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac90 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_1ms/94 (inlined) (1073741824 (estimated locally),1.00 per call) task_20ms/38 (task_20ms) @09633460 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7a9b0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_20ms/81 (1073741824 (estimated locally),1.00 per call) task_10ms/37 (task_10ms) @096331c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_10ms/80 (1073741824 (estimated locally),1.00 per call) task_5ms/36 (task_5ms) @0962ce00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_5ms/79 (1073741824 (estimated locally),1.00 per call) task_2ms/35 (task_2ms) @0962c8c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab30 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ECU3_KATECH_Logic_2ms/78 (1073741824 (estimated locally),1.00 per call) task_1ms/34 (task_1ms) @0962cd20 Type: function definition analyzed Visibility: externally_visible public previous sharing asm name: 94 Aux: @08d7aab0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_500us/33 (task_500us) @0962ca80 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7acf0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (719407022 (estimated locally),6700.01 per call) Calls: can_main_ECU3/77 (1073741824 (estimated locally),1.00 per call) can_tx_check/76 (1073741824 (estimated locally),1.00 per call) main/32 (main) @0962c7e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac70 References: Mcu_aClockConfigPB/49 (addr)g_pin_mux_InitConfigArr0/51 (addr)IntCtrlConfig_0/53 (addr)intRouteConfig/55 (addr)gb/27 (read)PIT_0_InitConfig_PB/63 (addr)PIT_0_ChannelConfig_PB/65 (addr)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read) Referring: Availability: available Function flags: count:107374 (estimated locally) body only_called_at_startup executed_once optimize_size Called by: Calls: uds_wait/75 (1073741824 (estimated locally),10000.02 per call) WATCHDOG_HAL_Fed/74 (1073741824 (estimated locally),10000.02 per call) task_500us/33 (719407022 (estimated locally),6700.01 per call) ECU3_KATECH_Logic_2ms/78 (354334802 (estimated locally),3300.01 per call) CAN_Task_5ms/79 (354334802 (estimated locally),3300.01 per call) CAN_Task_10ms/80 (354334802 (estimated locally),3300.01 per call) CAN_Task_20ms/81 (354334802 (estimated locally),3300.01 per call) task_100ms/42 (354334802 (estimated locally),3300.01 per call) task_200ms/43 (354334802 (estimated locally),3300.01 per call) task_1s/46 (354334802 (estimated locally),3300.01 per call) ECU3_KATECH_Logic_init/73 (107374 (estimated locally),1.00 per call) debug_printf/72 (107374 (estimated locally),1.00 per call) WATCHDOG_HAL_Init/71 (107374 (estimated locally),1.00 per call) tmr_delay/70 (107374 (estimated locally),1.00 per call) board_init/69 (107374 (estimated locally),1.00 per call) Can_Init_ECU3/68 (644019 (estimated locally),6.00 per call) Pit_Ip_StartChannel/67 (107374 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/66 (107374 (estimated locally),1.00 per call) Pit_Ip_InitChannel/64 (107374 (estimated locally),1.00 per call) Pit_Ip_Init/62 (107374 (estimated locally),1.00 per call) SPI_init/61 (107374 (estimated locally),1.00 per call) i2c0_init/60 (107374 (estimated locally),1.00 per call) i2c1_init/59 (107374 (estimated locally),1.00 per call) Adc_Init/58 (107374 (estimated locally),1.00 per call) pwm_init/57 (107374 (estimated locally),1.00 per call) Uart_Init/56 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_ConfigIrqRouting/54 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_Init/52 (107374 (estimated locally),1.00 per call) Siul2_Port_Ip_Init/50 (107374 (estimated locally),1.00 per call) Clock_Ip_Init/48 (107374 (estimated locally),1.00 per call) Gvar_init/47 (107374 (estimated locally),1.00 per call) ordered call graph: reduced for nothrow task_1ms/94 (task_1ms) @06bacc40 Type: function definition analyzed Visibility: public next sharing asm name: 34 Aux: @08d7aa30 References: Referring: Function task_1ms/94 is inline copy in task_50ms/40 Clone of task_1ms/34 Availability: local Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size Called by: task_50ms/40 (inlined) (1073741824 (estimated locally),1.00 per call) Calls: task_1s/46 (task_1s) @09633620 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa90 References: gb/27 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: led_onoff/87 (1073741824 (estimated locally),1.00 per call) CAN_Task_1000ms/86 (1073741824 (estimated locally),1.00 per call) Time_Tick1s/85 (1073741824 (estimated locally),1.00 per call) task_200ms/43 (task_200ms) @09633e00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa10 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: PWM_for_dirve_mode/84 (1073741824 (estimated locally),1.00 per call) CAN_Task_200ms/83 (1073741824 (estimated locally),1.00 per call) task_100ms/42 (task_100ms) @09633b60 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ad50 References: test_pwm/39 (read)test_pwm/39 (write)test_pwm/39 (write)C_100ms/41 (read)C_100ms/41 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: CAN_Task_100ms/82 (1073741824 (estimated locally),1.00 per call) task_50ms/40 (task_50ms) @096337e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac90 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_1ms/94 (inlined) (1073741824 (estimated locally),1.00 per call) task_20ms/38 (task_20ms) @09633460 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7a9b0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_20ms/81 (1073741824 (estimated locally),1.00 per call) task_10ms/37 (task_10ms) @096331c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_10ms/80 (1073741824 (estimated locally),1.00 per call) task_5ms/36 (task_5ms) @0962ce00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_5ms/79 (1073741824 (estimated locally),1.00 per call) task_2ms/35 (task_2ms) @0962c8c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab30 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ECU3_KATECH_Logic_2ms/78 (1073741824 (estimated locally),1.00 per call) task_1ms/34 (task_1ms) @0962cd20 Type: function definition analyzed Visibility: externally_visible public previous sharing asm name: 94 Aux: @08d7aab0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_500us/33 (task_500us) @0962ca80 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7acf0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (719407022 (estimated locally),6700.01 per call) Calls: can_main_ECU3/77 (1073741824 (estimated locally),1.00 per call) can_tx_check/76 (1073741824 (estimated locally),1.00 per call) main/32 (main) @0962c7e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac70 References: Mcu_aClockConfigPB/49 (addr)g_pin_mux_InitConfigArr0/51 (addr)IntCtrlConfig_0/53 (addr)intRouteConfig/55 (addr)gb/27 (read)PIT_0_InitConfig_PB/63 (addr)PIT_0_ChannelConfig_PB/65 (addr)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read) Referring: Availability: available Function flags: count:107374 (estimated locally) body only_called_at_startup executed_once optimize_size Called by: Calls: uds_wait/75 (1073741824 (estimated locally),10000.02 per call) WATCHDOG_HAL_Fed/74 (1073741824 (estimated locally),10000.02 per call) task_500us/33 (719407022 (estimated locally),6700.01 per call) ECU3_KATECH_Logic_2ms/78 (354334802 (estimated locally),3300.01 per call) CAN_Task_5ms/79 (354334802 (estimated locally),3300.01 per call) CAN_Task_10ms/80 (354334802 (estimated locally),3300.01 per call) CAN_Task_20ms/81 (354334802 (estimated locally),3300.01 per call) task_100ms/42 (354334802 (estimated locally),3300.01 per call) task_200ms/43 (354334802 (estimated locally),3300.01 per call) task_1s/46 (354334802 (estimated locally),3300.01 per call) ECU3_KATECH_Logic_init/73 (107374 (estimated locally),1.00 per call) debug_printf/72 (107374 (estimated locally),1.00 per call) WATCHDOG_HAL_Init/71 (107374 (estimated locally),1.00 per call) tmr_delay/70 (107374 (estimated locally),1.00 per call) board_init/69 (107374 (estimated locally),1.00 per call) Can_Init_ECU3/68 (644019 (estimated locally),6.00 per call) Pit_Ip_StartChannel/67 (107374 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/66 (107374 (estimated locally),1.00 per call) Pit_Ip_InitChannel/64 (107374 (estimated locally),1.00 per call) Pit_Ip_Init/62 (107374 (estimated locally),1.00 per call) SPI_init/61 (107374 (estimated locally),1.00 per call) i2c0_init/60 (107374 (estimated locally),1.00 per call) i2c1_init/59 (107374 (estimated locally),1.00 per call) Adc_Init/58 (107374 (estimated locally),1.00 per call) pwm_init/57 (107374 (estimated locally),1.00 per call) Uart_Init/56 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_ConfigIrqRouting/54 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_Init/52 (107374 (estimated locally),1.00 per call) Siul2_Port_Ip_Init/50 (107374 (estimated locally),1.00 per call) Clock_Ip_Init/48 (107374 (estimated locally),1.00 per call) Gvar_init/47 (107374 (estimated locally),1.00 per call) MALLOC LATTICE Initial: task_1ms: malloc_bottom task_1s: malloc_bottom task_200ms: malloc_bottom task_100ms: malloc_bottom task_50ms: malloc_bottom task_20ms: malloc_bottom task_10ms: malloc_bottom task_5ms: malloc_bottom task_2ms: malloc_bottom task_1ms: malloc_bottom task_500us: malloc_bottom main: malloc_bottom MALLOC LATTICE after propagation: task_1ms: malloc_bottom task_1s: malloc_bottom task_200ms: malloc_bottom task_100ms: malloc_bottom task_50ms: malloc_bottom task_20ms: malloc_bottom task_10ms: malloc_bottom task_5ms: malloc_bottom task_2ms: malloc_bottom task_1ms: malloc_bottom task_500us: malloc_bottom main: malloc_bottom callgraph: task_1ms/94 (task_1ms) @06bacc40 Type: function definition analyzed Visibility: public next sharing asm name: 34 Aux: @08d7abb0 References: Referring: Function task_1ms/94 is inline copy in task_50ms/40 Clone of task_1ms/34 Availability: local Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size Called by: task_50ms/40 (inlined) (1073741824 (estimated locally),1.00 per call) Calls: led_onoff/87 (led_onoff) @09643b60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_1000ms/86 (CAN_Task_1000ms) @09643a80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: Time_Tick1s/85 (Time_Tick1s) @096439a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_1s/46 (1073741824 (estimated locally),1.00 per call) Calls: PWM_for_dirve_mode/84 (PWM_for_dirve_mode) @096437e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_200ms/43 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_200ms/83 (CAN_Task_200ms) @09643700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_200ms/43 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_100ms/82 (CAN_Task_100ms) @09643540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_100ms/42 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_20ms/81 (CAN_Task_20ms) @096431c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_20ms/38 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_10ms/80 (CAN_Task_10ms) @09643000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_10ms/37 (1073741824 (estimated locally),1.00 per call) Calls: CAN_Task_5ms/79 (CAN_Task_5ms) @0963fee0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_5ms/36 (1073741824 (estimated locally),1.00 per call) Calls: ECU3_KATECH_Logic_2ms/78 (ECU3_KATECH_Logic_2ms) @0963fd20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) task_2ms/35 (1073741824 (estimated locally),1.00 per call) Calls: can_main_ECU3/77 (can_main_ECU3) @0963fa80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_500us/33 (1073741824 (estimated locally),1.00 per call) Calls: can_tx_check/76 (can_tx_check) @0963f9a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: task_500us/33 (1073741824 (estimated locally),1.00 per call) Calls: uds_wait/75 (uds_wait) @0963f7e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (1073741824 (estimated locally),10000.02 per call) Calls: WATCHDOG_HAL_Fed/74 (WATCHDOG_HAL_Fed) @0963f700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (1073741824 (estimated locally),10000.02 per call) Calls: ECU3_KATECH_Logic_init/73 (ECU3_KATECH_Logic_init) @0963f620 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: debug_printf/72 (debug_printf) @0963f540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: WATCHDOG_HAL_Init/71 (WATCHDOG_HAL_Init) @0963f460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: tmr_delay/70 (tmr_delay) @0963f380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: board_init/69 (board_init) @0963f2a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Can_Init_ECU3/68 (Can_Init_ECU3) @0963f1c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (644019 (estimated locally),6.00 per call) Calls: Pit_Ip_StartChannel/67 (Pit_Ip_StartChannel) @0963f0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_EnableChannelInterrupt/66 (Pit_Ip_EnableChannelInterrupt) @0963f000 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_InitChannel/64 (Pit_Ip_InitChannel) @09639ee0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Pit_Ip_Init/62 (Pit_Ip_Init) @09639d20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: SPI_init/61 (SPI_init) @09639c40 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: i2c0_init/60 (i2c0_init) @09639b60 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: i2c1_init/59 (i2c1_init) @09639a80 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Adc_Init/58 (Adc_Init) @096399a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: pwm_init/57 (pwm_init) @096398c0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Uart_Init/56 (Uart_Init) @096397e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: IntCtrl_Ip_ConfigIrqRouting/54 (IntCtrl_Ip_ConfigIrqRouting) @09639700 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: IntCtrl_Ip_Init/52 (IntCtrl_Ip_Init) @09639620 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Siul2_Port_Ip_Init/50 (Siul2_Port_Ip_Init) @09639540 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Clock_Ip_Init/48 (Clock_Ip_Init) @09639460 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: Gvar_init/47 (Gvar_init) @09639380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: main/32 (107374 (estimated locally),1.00 per call) Calls: task_1s/46 (task_1s) @09633620 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab30 References: gb/27 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: led_onoff/87 (1073741824 (estimated locally),1.00 per call) CAN_Task_1000ms/86 (1073741824 (estimated locally),1.00 per call) Time_Tick1s/85 (1073741824 (estimated locally),1.00 per call) task_200ms/43 (task_200ms) @09633e00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac10 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: PWM_for_dirve_mode/84 (1073741824 (estimated locally),1.00 per call) CAN_Task_200ms/83 (1073741824 (estimated locally),1.00 per call) task_100ms/42 (task_100ms) @09633b60 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac30 References: test_pwm/39 (read)test_pwm/39 (write)test_pwm/39 (write)C_100ms/41 (read)C_100ms/41 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: CAN_Task_100ms/82 (1073741824 (estimated locally),1.00 per call) task_50ms/40 (task_50ms) @096337e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ad50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_1ms/94 (inlined) (1073741824 (estimated locally),1.00 per call) task_20ms/38 (task_20ms) @09633460 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7a9b0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_20ms/81 (1073741824 (estimated locally),1.00 per call) task_10ms/37 (task_10ms) @096331c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_10ms/80 (1073741824 (estimated locally),1.00 per call) task_5ms/36 (task_5ms) @0962ce00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa30 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_5ms/79 (1073741824 (estimated locally),1.00 per call) task_2ms/35 (task_2ms) @0962c8c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ECU3_KATECH_Logic_2ms/78 (1073741824 (estimated locally),1.00 per call) task_1ms/34 (task_1ms) @0962cd20 Type: function definition analyzed Visibility: externally_visible public previous sharing asm name: 94 Aux: @08d7aab0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_500us/33 (task_500us) @0962ca80 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (719407022 (estimated locally),6700.01 per call) Calls: can_main_ECU3/77 (1073741824 (estimated locally),1.00 per call) can_tx_check/76 (1073741824 (estimated locally),1.00 per call) main/32 (main) @0962c7e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa10 References: Mcu_aClockConfigPB/49 (addr)g_pin_mux_InitConfigArr0/51 (addr)IntCtrlConfig_0/53 (addr)intRouteConfig/55 (addr)gb/27 (read)PIT_0_InitConfig_PB/63 (addr)PIT_0_ChannelConfig_PB/65 (addr)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read) Referring: Availability: available Function flags: count:107374 (estimated locally) body only_called_at_startup executed_once optimize_size Called by: Calls: uds_wait/75 (1073741824 (estimated locally),10000.02 per call) WATCHDOG_HAL_Fed/74 (1073741824 (estimated locally),10000.02 per call) task_500us/33 (719407022 (estimated locally),6700.01 per call) ECU3_KATECH_Logic_2ms/78 (354334802 (estimated locally),3300.01 per call) CAN_Task_5ms/79 (354334802 (estimated locally),3300.01 per call) CAN_Task_10ms/80 (354334802 (estimated locally),3300.01 per call) CAN_Task_20ms/81 (354334802 (estimated locally),3300.01 per call) task_100ms/42 (354334802 (estimated locally),3300.01 per call) task_200ms/43 (354334802 (estimated locally),3300.01 per call) task_1s/46 (354334802 (estimated locally),3300.01 per call) ECU3_KATECH_Logic_init/73 (107374 (estimated locally),1.00 per call) debug_printf/72 (107374 (estimated locally),1.00 per call) WATCHDOG_HAL_Init/71 (107374 (estimated locally),1.00 per call) tmr_delay/70 (107374 (estimated locally),1.00 per call) board_init/69 (107374 (estimated locally),1.00 per call) Can_Init_ECU3/68 (644019 (estimated locally),6.00 per call) Pit_Ip_StartChannel/67 (107374 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/66 (107374 (estimated locally),1.00 per call) Pit_Ip_InitChannel/64 (107374 (estimated locally),1.00 per call) Pit_Ip_Init/62 (107374 (estimated locally),1.00 per call) SPI_init/61 (107374 (estimated locally),1.00 per call) i2c0_init/60 (107374 (estimated locally),1.00 per call) i2c1_init/59 (107374 (estimated locally),1.00 per call) Adc_Init/58 (107374 (estimated locally),1.00 per call) pwm_init/57 (107374 (estimated locally),1.00 per call) Uart_Init/56 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_ConfigIrqRouting/54 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_Init/52 (107374 (estimated locally),1.00 per call) Siul2_Port_Ip_Init/50 (107374 (estimated locally),1.00 per call) Clock_Ip_Init/48 (107374 (estimated locally),1.00 per call) Gvar_init/47 (107374 (estimated locally),1.00 per call) ordered call graph: reduced task_50ms/40 (task_50ms) @096337e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ad50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: task_1ms/94 (inlined) (1073741824 (estimated locally),1.00 per call) task_1ms/94 (task_1ms) @06bacc40 Type: function definition analyzed Visibility: public next sharing asm name: 34 Aux: @08d7abb0 References: Referring: Function task_1ms/94 is inline copy in task_50ms/40 Clone of task_1ms/34 Availability: local Function flags: count:1073741824 (estimated locally) body local icf_merged optimize_size Called by: task_50ms/40 (inlined) (1073741824 (estimated locally),1.00 per call) Calls: task_20ms/38 (task_20ms) @09633460 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7a9b0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_20ms/81 (1073741824 (estimated locally),1.00 per call) task_10ms/37 (task_10ms) @096331c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_10ms/80 (1073741824 (estimated locally),1.00 per call) task_5ms/36 (task_5ms) @0962ce00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa30 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: CAN_Task_5ms/79 (1073741824 (estimated locally),1.00 per call) task_2ms/35 (task_2ms) @0962c8c0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab50 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ECU3_KATECH_Logic_2ms/78 (1073741824 (estimated locally),1.00 per call) task_1ms/34 (task_1ms) @0962cd20 Type: function definition analyzed Visibility: externally_visible public previous sharing asm name: 94 Aux: @08d7aab0 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body icf_merged optimize_size Called by: Calls: main/32 (main) @0962c7e0 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7aa10 References: Mcu_aClockConfigPB/49 (addr)g_pin_mux_InitConfigArr0/51 (addr)IntCtrlConfig_0/53 (addr)intRouteConfig/55 (addr)gb/27 (read)PIT_0_InitConfig_PB/63 (addr)PIT_0_ChannelConfig_PB/65 (addr)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read)gb/27 (read) Referring: Availability: available Function flags: count:107374 (estimated locally) body only_called_at_startup executed_once optimize_size Called by: Calls: uds_wait/75 (1073741824 (estimated locally),10000.02 per call) WATCHDOG_HAL_Fed/74 (1073741824 (estimated locally),10000.02 per call) task_500us/33 (719407022 (estimated locally),6700.01 per call) ECU3_KATECH_Logic_2ms/78 (354334802 (estimated locally),3300.01 per call) CAN_Task_5ms/79 (354334802 (estimated locally),3300.01 per call) CAN_Task_10ms/80 (354334802 (estimated locally),3300.01 per call) CAN_Task_20ms/81 (354334802 (estimated locally),3300.01 per call) task_100ms/42 (354334802 (estimated locally),3300.01 per call) task_200ms/43 (354334802 (estimated locally),3300.01 per call) task_1s/46 (354334802 (estimated locally),3300.01 per call) ECU3_KATECH_Logic_init/73 (107374 (estimated locally),1.00 per call) debug_printf/72 (107374 (estimated locally),1.00 per call) WATCHDOG_HAL_Init/71 (107374 (estimated locally),1.00 per call) tmr_delay/70 (107374 (estimated locally),1.00 per call) board_init/69 (107374 (estimated locally),1.00 per call) Can_Init_ECU3/68 (644019 (estimated locally),6.00 per call) Pit_Ip_StartChannel/67 (107374 (estimated locally),1.00 per call) Pit_Ip_EnableChannelInterrupt/66 (107374 (estimated locally),1.00 per call) Pit_Ip_InitChannel/64 (107374 (estimated locally),1.00 per call) Pit_Ip_Init/62 (107374 (estimated locally),1.00 per call) SPI_init/61 (107374 (estimated locally),1.00 per call) i2c0_init/60 (107374 (estimated locally),1.00 per call) i2c1_init/59 (107374 (estimated locally),1.00 per call) Adc_Init/58 (107374 (estimated locally),1.00 per call) pwm_init/57 (107374 (estimated locally),1.00 per call) Uart_Init/56 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_ConfigIrqRouting/54 (107374 (estimated locally),1.00 per call) IntCtrl_Ip_Init/52 (107374 (estimated locally),1.00 per call) Siul2_Port_Ip_Init/50 (107374 (estimated locally),1.00 per call) Clock_Ip_Init/48 (107374 (estimated locally),1.00 per call) Gvar_init/47 (107374 (estimated locally),1.00 per call) task_1s/46 (task_1s) @09633620 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ab30 References: gb/27 (read) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: led_onoff/87 (1073741824 (estimated locally),1.00 per call) CAN_Task_1000ms/86 (1073741824 (estimated locally),1.00 per call) Time_Tick1s/85 (1073741824 (estimated locally),1.00 per call) task_200ms/43 (task_200ms) @09633e00 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac10 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: PWM_for_dirve_mode/84 (1073741824 (estimated locally),1.00 per call) CAN_Task_200ms/83 (1073741824 (estimated locally),1.00 per call) task_100ms/42 (task_100ms) @09633b60 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac30 References: test_pwm/39 (read)test_pwm/39 (write)test_pwm/39 (write)C_100ms/41 (read)C_100ms/41 (write) Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (354334802 (estimated locally),3300.01 per call) Calls: CAN_Task_100ms/82 (1073741824 (estimated locally),1.00 per call) task_500us/33 (task_500us) @0962ca80 Type: function definition analyzed Visibility: externally_visible public Aux: @08d7ac70 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: main/32 (719407022 (estimated locally),6700.01 per call) Calls: can_main_ECU3/77 (1073741824 (estimated locally),1.00 per call) can_tx_check/76 (1073741824 (estimated locally),1.00 per call) Function found to be looping pure: main Declaration updated to be looping pure: main Function found not to call free: task_1ms Function found not to call free: task_1ms Function found not to call free: task_50ms task_1s () { int _1; _Bool _2; int _3; [local count: 1073741824]: # DEBUG BEGIN_STMT Time_Tick1s (); # DEBUG BEGIN_STMT CAN_Task_1000ms (); # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = gb.led_flag; _2 = _1 == 0; _3 = (int) _2; led_onoff (_3); return; } task_200ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT CAN_Task_200ms (); # DEBUG BEGIN_STMT PWM_for_dirve_mode (); return; } task_100ms () { unsigned char test_pwm.1_1; unsigned char _2; long unsigned int C_100ms.4_3; long unsigned int _4; [local count: 1073741824]: # DEBUG BEGIN_STMT test_pwm.1_1 = test_pwm; if (test_pwm.1_1 <= 99) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT _2 = test_pwm.1_1 + 1; test_pwm = _2; goto ; [100.00%] [local count: 536870913]: # DEBUG BEGIN_STMT test_pwm = 0; [local count: 1073741824]: # DEBUG BEGIN_STMT C_100ms.4_3 = C_100ms; _4 = C_100ms.4_3 + 1; C_100ms = _4; # DEBUG BEGIN_STMT CAN_Task_100ms (); return; } task_50ms () { [local count: 1073741824]: task_1ms (); [tail call] return; } task_20ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT CAN_Task_20ms (); return; } task_10ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT CAN_Task_10ms (); return; } task_5ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT CAN_Task_5ms (); return; } task_2ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT ECU3_KATECH_Logic_2ms (); return; } task_1ms () { [local count: 1073741824]: # DEBUG BEGIN_STMT return; } task_500us () { [local count: 1073741824]: # DEBUG BEGIN_STMT can_tx_check (); # DEBUG BEGIN_STMT can_main_ECU3 (); return; } main () { u64 tick_200ms; u64 tick_5ms; u64 tick_500us; u64 tick_1ms; u64 tick_1sec; u64 tick_2ms; u64 tick_50ms; u64 tick_20ms; u64 tick_10ms; u64 tick_100ms; char ch; unsigned int _1; int _2; long unsigned int _3; long unsigned int _4; long unsigned int _5; long unsigned int _6; long unsigned int _7; long unsigned int _8; long unsigned int _9; long unsigned int _10; long unsigned int _11; long unsigned int _12; long unsigned int _13; long unsigned int _14; long unsigned int _15; long unsigned int _16; long unsigned int _17; long unsigned int _18; long unsigned int _19; long unsigned int _20; long unsigned int _21; long unsigned int _22; [local count: 107374]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT Gvar_init (); # DEBUG BEGIN_STMT Clock_Ip_Init (&Mcu_aClockConfigPB[0]); # DEBUG BEGIN_STMT Siul2_Port_Ip_Init (78, &g_pin_mux_InitConfigArr0); # DEBUG BEGIN_STMT IntCtrl_Ip_Init (&IntCtrlConfig_0); # DEBUG BEGIN_STMT IntCtrl_Ip_ConfigIrqRouting (&intRouteConfig); # DEBUG BEGIN_STMT Uart_Init (); # DEBUG BEGIN_STMT _1 = gb.pwm_max_tick; pwm_init (_1); # DEBUG BEGIN_STMT Adc_Init (); # DEBUG BEGIN_STMT i2c1_init (); # DEBUG BEGIN_STMT i2c0_init (); # DEBUG BEGIN_STMT SPI_init (); # DEBUG BEGIN_STMT Pit_Ip_Init (0, &PIT_0_InitConfig_PB); # DEBUG BEGIN_STMT Pit_Ip_InitChannel (0, &PIT_0_ChannelConfig_PB[0]); # DEBUG BEGIN_STMT Pit_Ip_EnableChannelInterrupt (0, 0); # DEBUG BEGIN_STMT Pit_Ip_StartChannel (0, 0, 20000); # DEBUG BEGIN_STMT # DEBUG ch => 0 goto ; [100.00%] [local count: 644019]: # DEBUG BEGIN_STMT _2 = (int) ch_23; Can_Init_ECU3 (_2); # DEBUG BEGIN_STMT ch_104 = ch_23 + 1; # DEBUG ch => ch_104 [local count: 751393]: # ch_23 = PHI <0(2), ch_104(3)> # DEBUG ch => ch_23 # DEBUG BEGIN_STMT if (ch_23 != 6) goto ; [85.71%] else goto ; [14.29%] [local count: 107374]: # DEBUG BEGIN_STMT board_init (); # DEBUG BEGIN_STMT tick_500us_71 ={v} gb.tmr_cnt; # DEBUG tick_500us => tick_500us_71 # DEBUG BEGIN_STMT tick_1ms_72 ={v} gb.tmr_cnt; # DEBUG tick_1ms => tick_1ms_72 # DEBUG BEGIN_STMT tick_2ms_73 ={v} gb.tmr_cnt; # DEBUG tick_2ms => tick_2ms_73 # DEBUG BEGIN_STMT tick_5ms_74 ={v} gb.tmr_cnt; # DEBUG tick_5ms => tick_5ms_74 # DEBUG BEGIN_STMT tick_10ms_75 ={v} gb.tmr_cnt; # DEBUG tick_10ms => tick_10ms_75 # DEBUG BEGIN_STMT tick_20ms_76 ={v} gb.tmr_cnt; # DEBUG tick_20ms => tick_20ms_76 # DEBUG BEGIN_STMT tick_50ms_77 ={v} gb.tmr_cnt; # DEBUG tick_50ms => tick_50ms_77 # DEBUG BEGIN_STMT tick_100ms_78 ={v} gb.tmr_cnt; # DEBUG tick_100ms => tick_100ms_78 # DEBUG BEGIN_STMT tick_200ms_79 ={v} gb.tmr_cnt; # DEBUG tick_200ms => tick_200ms_79 # DEBUG BEGIN_STMT tick_1sec_80 ={v} gb.tmr_cnt; # DEBUG tick_1sec => tick_1sec_80 # DEBUG BEGIN_STMT tmr_delay (1000); # DEBUG BEGIN_STMT WATCHDOG_HAL_Init (); # DEBUG BEGIN_STMT debug_printf ("Board Init Finished\n\r"); # DEBUG BEGIN_STMT ECU3_KATECH_Logic_init (); [local count: 1073741824]: # tick_100ms_24 = PHI # tick_10ms_26 = PHI # tick_20ms_28 = PHI # tick_50ms_30 = PHI # tick_2ms_32 = PHI # tick_1sec_34 = PHI # tick_1ms_36 = PHI # tick_500us_38 = PHI # tick_5ms_40 = PHI # tick_200ms_42 = PHI # DEBUG tick_200ms => tick_200ms_42 # DEBUG tick_5ms => tick_5ms_40 # DEBUG tick_500us => tick_500us_38 # DEBUG tick_1ms => tick_1ms_36 # DEBUG tick_1sec => tick_1sec_34 # DEBUG tick_2ms => tick_2ms_32 # DEBUG tick_50ms => tick_50ms_30 # DEBUG tick_20ms => tick_20ms_28 # DEBUG tick_10ms => tick_10ms_26 # DEBUG tick_100ms => tick_100ms_24 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _3 ={v} gb.tmr_cnt; _4 = tick_1sec_34 + 1000; if (_3 >= _4) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_1sec_85 ={v} gb.tmr_cnt; # DEBUG tick_1sec => tick_1sec_85 # DEBUG BEGIN_STMT task_1s (); [local count: 1073741824]: # tick_1sec_35 = PHI # DEBUG tick_1sec => tick_1sec_35 # DEBUG BEGIN_STMT _5 ={v} gb.tmr_cnt; _6 = tick_200ms_42 + 200; if (_5 >= _6) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_200ms_87 ={v} gb.tmr_cnt; # DEBUG tick_200ms => tick_200ms_87 # DEBUG BEGIN_STMT task_200ms (); [local count: 1073741824]: # tick_200ms_43 = PHI # DEBUG tick_200ms => tick_200ms_43 # DEBUG BEGIN_STMT _7 ={v} gb.tmr_cnt; _8 = tick_100ms_24 + 100; if (_7 >= _8) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_100ms_89 ={v} gb.tmr_cnt; # DEBUG tick_100ms => tick_100ms_89 # DEBUG BEGIN_STMT task_100ms (); [local count: 1073741824]: # tick_100ms_25 = PHI # DEBUG tick_100ms => tick_100ms_25 # DEBUG BEGIN_STMT _9 ={v} gb.tmr_cnt; _10 = tick_50ms_30 + 50; if (_9 >= _10) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT tick_50ms_91 ={v} gb.tmr_cnt; # DEBUG tick_50ms => tick_50ms_91 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_50ms # DEBUG BEGIN_STMT [local count: 1073741824]: # tick_50ms_31 = PHI # DEBUG tick_50ms => tick_50ms_31 # DEBUG BEGIN_STMT _11 ={v} gb.tmr_cnt; _12 = tick_20ms_28 + 20; if (_11 >= _12) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_20ms_93 ={v} gb.tmr_cnt; # DEBUG tick_20ms => tick_20ms_93 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_20ms # DEBUG BEGIN_STMT CAN_Task_20ms (); [local count: 1073741824]: # tick_20ms_29 = PHI # DEBUG tick_20ms => tick_20ms_29 # DEBUG BEGIN_STMT _13 ={v} gb.tmr_cnt; _14 = tick_10ms_26 + 10; if (_13 >= _14) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_10ms_94 ={v} gb.tmr_cnt; # DEBUG tick_10ms => tick_10ms_94 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_10ms # DEBUG BEGIN_STMT CAN_Task_10ms (); [local count: 1073741824]: # tick_10ms_27 = PHI # DEBUG tick_10ms => tick_10ms_27 # DEBUG BEGIN_STMT _15 ={v} gb.tmr_cnt; _16 = tick_5ms_40 + 5; if (_15 >= _16) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_5ms_95 ={v} gb.tmr_cnt; # DEBUG tick_5ms => tick_5ms_95 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_5ms # DEBUG BEGIN_STMT CAN_Task_5ms (); [local count: 1073741824]: # tick_5ms_41 = PHI # DEBUG tick_5ms => tick_5ms_41 # DEBUG BEGIN_STMT _17 ={v} gb.tmr_cnt; _18 = tick_2ms_32 + 2; if (_17 >= _18) goto ; [33.00%] else goto ; [67.00%] [local count: 354334802]: # DEBUG BEGIN_STMT tick_2ms_96 ={v} gb.tmr_cnt; # DEBUG tick_2ms => tick_2ms_96 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_2ms # DEBUG BEGIN_STMT ECU3_KATECH_Logic_2ms (); [local count: 1073741824]: # tick_2ms_33 = PHI # DEBUG tick_2ms => tick_2ms_33 # DEBUG BEGIN_STMT _19 ={v} gb.tmr_cnt; _20 = tick_1ms_36 + 1; if (_19 >= _20) goto ; [50.00%] else goto ; [50.00%] [local count: 536870913]: # DEBUG BEGIN_STMT tick_1ms_97 ={v} gb.tmr_cnt; # DEBUG tick_1ms => tick_1ms_97 # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY task_1ms # DEBUG BEGIN_STMT [local count: 1073741824]: # tick_1ms_37 = PHI # DEBUG tick_1ms => tick_1ms_37 # DEBUG BEGIN_STMT _21 ={v} gb.x500us; _22 = tick_500us_38 + 1; if (_21 >= _22) goto ; [67.00%] else goto ; [33.00%] [local count: 719407022]: # DEBUG BEGIN_STMT tick_500us_99 ={v} gb.x500us; # DEBUG tick_500us => tick_500us_99 # DEBUG BEGIN_STMT task_500us (); [local count: 1073741824]: # tick_500us_39 = PHI # DEBUG tick_500us => tick_500us_39 # DEBUG BEGIN_STMT WATCHDOG_HAL_Fed (); # DEBUG BEGIN_STMT uds_wait (); # DEBUG BEGIN_STMT goto ; [100.00%] }