Based on quick read of C++ specs (although more thorough reading of C++ specs would be required), (1) std::chrono::high_resolution_clock::now is declared to be no-except(cannot throw exceptions). (2) high_resolution_-clock may be a synonym for system_clock or steady_clock
When calling this function in Safari ASM.JS worker(Mac), The test program is same as: https://github.com/kripken/emscripten/issues/2980 It's just that this asm.js is loaded from javascript webworker. Function *__ZNSt3__16chrono12steady_clock3nowE *calls *__ZNSt3__120__throw_system_errorEiPKc (via *invoke_vii). Shouldn't emscripten fallback to Date.now() if Performance.now() is not implemented ? -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
