local analysis of OsIf_MicrosToTicks scanning: switch (SelectedCounter_3(D)) [33.33%], case 0: [33.33%], case 1: [33.33%]> scanning: : scanning: : scanning: Value_7 = OsIf_Timer_System_MicrosToTicks (Micros_5(D)); scanning: : scanning: return Value_1; Function is locally const. local analysis of OsIf_SetTimerFrequency scanning: if (SelectedCounter_2(D) == 1) scanning: : scanning: OsIf_Timer_System_SetTimerFrequency (Freq_4(D)); scanning: : scanning: return; Function is locally const. local analysis of OsIf_GetElapsed scanning: switch (SelectedCounter_3(D)) [33.33%], case 0: [33.33%], case 1: [33.33%]> scanning: : scanning: : scanning: Value_7 = OsIf_Timer_System_GetElapsed (CurrentRef_5(D)); scanning: : scanning: return Value_1; Function is locally const. local analysis of OsIf_GetCounter scanning: if (SelectedCounter_3(D) == 1) scanning: : scanning: Value_6 = OsIf_Timer_System_GetCounter (); scanning: : scanning: return Value_1; Function is locally const. local analysis of OsIf_Init scanning: if (Config_2(D) != 0B) scanning: x ={v} 0; Volatile stmt is not const/pure Volatile operand is not const/pure scanning: x.0_4 ={v} x; Volatile stmt is not const/pure Volatile operand is not const/pure scanning: if (x.0_4 != 0) scanning: OsIf_Timer_System_Init (); scanning: return; callgraph: OsIf_Timer_System_MicrosToTicks/15 (OsIf_Timer_System_MicrosToTicks) @05e1a380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_MicrosToTicks/10 (357878150 (estimated locally),0.33 per call) Calls: OsIf_Timer_System_SetTimerFrequency/14 (OsIf_Timer_System_SetTimerFrequency) @05e1a0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_SetTimerFrequency/9 (217325345 (estimated locally),0.20 per call) Calls: OsIf_Timer_System_GetElapsed/13 (OsIf_Timer_System_GetElapsed) @05e130e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_GetElapsed/8 (357878150 (estimated locally),0.33 per call) Calls: OsIf_Timer_System_GetCounter/12 (OsIf_Timer_System_GetCounter) @05e13d20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_GetCounter/7 (217325345 (estimated locally),0.20 per call) Calls: OsIf_Timer_System_Init/11 (OsIf_Timer_System_Init) @05e139a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_Init/6 (152706 (estimated locally),0.59 per call) Calls: OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4ab8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call) OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4bb8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call) OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c18 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call) OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c38 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call) OsIf_Init/6 (OsIf_Init) @05e2d540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4b18 References: Referring: Availability: available Function flags: count:260080 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call) ordered call graph: reduced for nothrow OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4ab8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call) OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4bb8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call) OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c18 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call) OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c38 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call) OsIf_Init/6 (OsIf_Init) @05e2d540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4b18 References: Referring: Availability: available Function flags: count:260080 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call) MALLOC LATTICE Initial: OsIf_MicrosToTicks: malloc_bottom OsIf_SetTimerFrequency: malloc_bottom OsIf_GetElapsed: malloc_bottom OsIf_GetCounter: malloc_bottom OsIf_Init: malloc_bottom MALLOC LATTICE after propagation: OsIf_MicrosToTicks: malloc_bottom OsIf_SetTimerFrequency: malloc_bottom OsIf_GetElapsed: malloc_bottom OsIf_GetCounter: malloc_bottom OsIf_Init: malloc_bottom callgraph: OsIf_Timer_System_MicrosToTicks/15 (OsIf_Timer_System_MicrosToTicks) @05e1a380 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_MicrosToTicks/10 (357878150 (estimated locally),0.33 per call) Calls: OsIf_Timer_System_SetTimerFrequency/14 (OsIf_Timer_System_SetTimerFrequency) @05e1a0e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_SetTimerFrequency/9 (217325345 (estimated locally),0.20 per call) Calls: OsIf_Timer_System_GetElapsed/13 (OsIf_Timer_System_GetElapsed) @05e130e0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_GetElapsed/8 (357878150 (estimated locally),0.33 per call) Calls: OsIf_Timer_System_GetCounter/12 (OsIf_Timer_System_GetCounter) @05e13d20 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_GetCounter/7 (217325345 (estimated locally),0.20 per call) Calls: OsIf_Timer_System_Init/11 (OsIf_Timer_System_Init) @05e139a0 Type: function Visibility: external public References: Referring: Availability: not_available Function flags: optimize_size Called by: OsIf_Init/6 (152706 (estimated locally),0.59 per call) Calls: OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c38 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call) OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4bb8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call) OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4cf8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call) OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4978 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call) OsIf_Init/6 (OsIf_Init) @05e2d540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4998 References: Referring: Availability: available Function flags: count:260080 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call) ordered call graph: reduced OsIf_MicrosToTicks/10 (OsIf_MicrosToTicks) @05e13540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4c38 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_MicrosToTicks/15 (357878150 (estimated locally),0.33 per call) OsIf_SetTimerFrequency/9 (OsIf_SetTimerFrequency) @05e132a0 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4bb8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_SetTimerFrequency/14 (217325345 (estimated locally),0.20 per call) OsIf_GetElapsed/8 (OsIf_GetElapsed) @05e13000 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4cf8 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetElapsed/13 (357878150 (estimated locally),0.33 per call) OsIf_GetCounter/7 (OsIf_GetCounter) @05e2da80 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4978 References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_GetCounter/12 (217325345 (estimated locally),0.20 per call) OsIf_Init/6 (OsIf_Init) @05e2d540 Type: function definition analyzed Visibility: externally_visible public Aux: @05ad4998 References: Referring: Availability: available Function flags: count:260080 (estimated locally) body optimize_size Called by: Calls: OsIf_Timer_System_Init/11 (152706 (estimated locally),0.59 per call) OsIf_MicrosToTicks (uint32 Micros, OsIf_CounterType SelectedCounter) { uint32 Value; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG Value => 0 # DEBUG BEGIN_STMT switch (SelectedCounter_3(D)) [33.33%], case 0: [33.33%], case 1: [33.33%]> [local count: 357878150]: : # DEBUG BEGIN_STMT # DEBUG Micros => Micros_5(D) # DEBUG INLINE_ENTRY NULL # DEBUG BEGIN_STMT # DEBUG Micros => NULL # DEBUG Value => Micros_5(D) # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 357878150]: : # DEBUG BEGIN_STMT Value_7 = OsIf_Timer_System_MicrosToTicks (Micros_5(D)); # DEBUG Value => Value_7 # DEBUG BEGIN_STMT [local count: 1073634451]: # Value_1 = PHI : # DEBUG Value => Value_1 # DEBUG BEGIN_STMT return Value_1; } OsIf_SetTimerFrequency (uint32 Freq, OsIf_CounterType SelectedCounter) { [local count: 1073741824]: # DEBUG BEGIN_STMT if (SelectedCounter_2(D) == 1) goto ; [20.24%] else goto ; [79.76%] [local count: 217325345]: : # DEBUG BEGIN_STMT OsIf_Timer_System_SetTimerFrequency (Freq_4(D)); # DEBUG BEGIN_STMT [local count: 1073741824]: : # DEBUG Freq => NULL return; } OsIf_GetElapsed (uint32 * const CurrentRef, OsIf_CounterType SelectedCounter) { uint32 Value; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG Value => 0 # DEBUG BEGIN_STMT switch (SelectedCounter_3(D)) [33.33%], case 0: [33.33%], case 1: [33.33%]> [local count: 357878150]: : # DEBUG BEGIN_STMT # DEBUG D#1 => CurrentRef_5(D) # DEBUG INLINE_ENTRY NULL # DEBUG CurrentRef => D#1 # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG Value => 1 # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 357878150]: : # DEBUG BEGIN_STMT Value_7 = OsIf_Timer_System_GetElapsed (CurrentRef_5(D)); # DEBUG Value => Value_7 # DEBUG BEGIN_STMT [local count: 1073634451]: # Value_1 = PHI <1(3), Value_7(4), 0(2)> : # DEBUG Value => Value_1 # DEBUG BEGIN_STMT return Value_1; } OsIf_GetCounter (OsIf_CounterType SelectedCounter) { uint32 Value; [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG Value => 0 # DEBUG BEGIN_STMT if (SelectedCounter_3(D) == 1) goto ; [20.24%] else goto ; [79.76%] [local count: 217325345]: : # DEBUG BEGIN_STMT Value_6 = OsIf_Timer_System_GetCounter (); # DEBUG Value => Value_6 # DEBUG BEGIN_STMT [local count: 1073741824]: # Value_1 = PHI <0(2), Value_6(3)> : # DEBUG Value => Value_1 # DEBUG BEGIN_STMT return Value_1; } OsIf_Init (const void * Config) { volatile boolean x; _Bool x.0_4; [local count: 260080]: # DEBUG BEGIN_STMT if (Config_2(D) != 0B) goto ; [82.57%] else goto ; [17.43%] [local count: 214748]: # DEBUG BEGIN_STMT x ={v} 0; # DEBUG x => x # DEBUG INLINE_ENTRY DevAssert # DEBUG BEGIN_STMT x.0_4 ={v} x; if (x.0_4 != 0) goto ; [50.00%] else goto ; [50.00%] [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] [local count: 152706]: # DEBUG x => NULL # DEBUG BEGIN_STMT # DEBUG INLINE_ENTRY NULL # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT OsIf_Timer_System_Init (); return; }