I should have just consulted the source to begin with. I could provide my own 
posix implementation of gettimeofday as that is the fallback for when the OS 
isn't windows, mac, or Linux. But then you are forced into using extremely 
large variables.

Perhaps another os definition like, roll your own, could let you override the 
Nim proc getTicks() with whatever you wanted it to be.

Including build options that allow the Nim runtime to be customized only in 
user code would be a great feature. I think you could modify the system files 
yourself if you needed to. 

Reply via email to