how to get accurate time that like jiffes in Linux

just as topic

in all related functions which is most accurate?

Do you want the time as a clock (hour minute secondes) if so the best is to use nttp.

If all you want is measure deltas then ClockCycles is your best bet.