Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request #345  -  Add timer SAIL commands
Posted Nov 23, 2016 - updated Apr 08, 2018
action_vote_minus_faded.png
1
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Done" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Done
  • 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
  • Resolution
    RESOLVED
  • 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();