IPA function summary for GetElapsedValue/1 inlinable global time: 2.000000 self size: 3 global size: 3 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for GetCounterValue/0 inlinable global time: 2.000000 self size: 3 global size: 3 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Flattening functions: Overall time estimate: 4.000000 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in GetElapsedValue/1. Enqueueing calls in GetCounterValue/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: 4.000000 weighted by profile: 0.000000 Why inlining failed? IPA function summary for GetElapsedValue/1 inlinable global time: 2.000000 self size: 3 global size: 3 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: IPA function summary for GetCounterValue/0 inlinable global time: 2.000000 self size: 3 global size: 3 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:3.000000, time:2.000000, executed if:(not inlined) calls: Symbol table: GetElapsedValue/1 (GetElapsedValue) @068b3c40 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: GetCounterValue/0 (GetCounterValue) @068b39a0 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741824 (estimated locally) body optimize_size Called by: Calls: ;; Function GetCounterValue (GetCounterValue, funcdef_no=0, decl_uid=4061, cgraph_uid=1, symbol_order=0) GetCounterValue (CounterType ctrId, TickType * tickRef) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT return 0; } ;; Function GetElapsedValue (GetElapsedValue, funcdef_no=1, decl_uid=4065, cgraph_uid=2, symbol_order=1) GetElapsedValue (CounterType ctrId, TickType * valueRef, TickType * tickRef) { [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT return 0; }