]> gitweb.factorcode.org Git - factor.git/commitdiff
Use nano_count instead of system_micros
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 17 Jun 2010 04:20:00 +0000 (23:20 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 17 Jun 2010 04:20:00 +0000 (23:20 -0500)
vm/factor.cpp

index 9c565750098393b3b7c2cabb2a757c38054dffef..6a6d7f55f923db1b396cb7ac838c115656186973 100755 (executable)
@@ -123,7 +123,7 @@ void factor_vm::init_factor(vm_parameters *p)
        if(p->image_path == NULL)
                p->image_path = default_image_path();
 
-       srand((unsigned int)system_micros());
+       srand((unsigned int)nano_count());
        init_ffi();
        init_contexts(p->datastack_size,p->retainstack_size,p->callstack_size);
        init_callbacks(p->callback_size);