Hi,
prvSampleTimeNow is a FreeRTOS internal function. You can see it is announced as static. It means functions outside timers.c can't call it.
RT1050 hasn't ctimer. But it has PIT, PWM and GPT. All of them are timer. Please refer to their examples in SDK.
Regards,
Jing