Hi,
Today I found
https://stackoverflow.com/questions/5580140/is-there-a-way-to-tell-gcc-not-t
o-optimise-a-particular-piece-of-code.
So for functions you want to debug with -O0 option, place
#pragma GCC push_options
#pragma GCC optimize ("O0")
In front of the function, and place
#pragma
Updated:
I check the frequency of the CPU by `cat /proc/cpuinfo`.
On Wed, Jan 19, 2022 at 9:23 AM 孙世龙 sunshilong
wrote:
> Hi, list
> I am using Linux 5.4.78 with PREEMPT_RT patch.
> Hardware name: UNO-2372G-J021AE.
>
> It's strange that the frequency of the CPU is not constant(i.e.
> not fixed