Project inspector: is my function really stored in ram?

I am inspecting memory usage of my program but this part confuses me a bit

In KP6502.cpp I have a “step” function

static void __not_in_flash_func(step)(int wClocks)

since this function is__not_in_flash_func it was mean to be copied to ram

But for KP6502.cpp it says it only consumes 3.3KB ram, which does not sound right because that function alone is 21.8KB

Does it simply not accounting functions stored in .data?

I am using rp2040 if that matters