Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
OPEN  Feature request #345  -  Add timer SAIL commands
Posted Nov 23, 2016 - updated Nov 23, 2016
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Feature request
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Stucuk
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
Issue description
Add the ability to time how long sections of SAIL code take to execute via TimerStart and TimerEnd (Where TimerEnd returns a floating point number representing seconds).

Useful for debugging code to see where slowdowns are.

Usage:
  1. TimerStart();
  2. <Some Code>
  3. time := TimerEnd();