Skip to content
Snippets Groups Projects
Commit 9da3578f authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Use clock_gettime() to time steps

Simplest possible version. Still reports tick value for comparison.
parent 3cbee28a
No related branches found
No related tags found
2 merge requests!136Master,!105Show time in real milli seconds
Loading
  • Peter W. Draper @pdraper

    mentioned in issue #110 (closed)

    ·

    mentioned in issue #110 (closed)

    Toggle commit list
  • Owner

    Should we have the 'time_diff()' function in timers.[hc] ? I feel like that engine.c is pretty cramped and sort of a big untidy mix of stuff.

  • Author Owner

    Yes, I've already started a clocks.h to encapsulate this and handle the various possibilities. See the time-in-seconds branch. Early days so nothing to test just yet.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment