[In-game scripting] Allow the use of StopWatch class
Submitted
Currently the only profiling tool we have is Runtime.LastRunTimeMs, which accounts not only for the entire script run, but also for unrelated costs like Just-In-Time compilation of the code.
Is there a particular reason why System.Diagnostics.StopWatch class is prohibited?
Hey, I just found this.. actually have a concrete suggestion out there that does not require opening up the entire Stopwatch, but would still allow scripts to measure internal time accurately.
https://support.keenswh.com/spaceengineers/pc/topic/suggestion-add-runtime-getcurrenttimestamp-method
Hey, I just found this.. actually have a concrete suggestion out there that does not require opening up the entire Stopwatch, but would still allow scripts to measure internal time accurately.
https://support.keenswh.com/spaceengineers/pc/topic/suggestion-add-runtime-getcurrenttimestamp-method
Replies have been locked on this page!