You cannot generate accurate time without using the kernel to supply you with signals/clock. (that's basically what the time-related functions do)

You could try and simulate a clock with a certain number of loops delay, but it will drastically vary across machines and will also depend on how your program's execution is scheduled.