|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#15
|
|||
|
|||
|
Re: 100% CPU Utilization Using 10ms Periodic Task
Once the code is inlined, the compiler will propagate constants, we call it constant-folding. The result of this is that the string is known at compile time and all other cases are eliminated for that instance because they are unreachable. The overhead when inlined, both in runtime size and execution is equivalent to wiring a constant.
Greg McKaskle |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|