Skip to content
Commit 41e97c63 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

x86: pin timer related get functions



Both arch_k_cycle_get_32() and z_tsc_read() are marked inline.
However, compiler may decide not to inline them which would put
them in the generic text section. Pin them in physical memory
as they are frequently used functions to avoid page fault costs.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 90ddb35d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment