ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Measuring run time
Hi,
I am pretty new to Flexsim. I am currently writing a User Events script and would like to measure the actual run time of a certain process in the User Events script. For example, I would like to know how long it takes to load an excel file and to import the data into the global table. Is there any Flexscript command to measure the run time? I have not found any yet. Thanks in advance. |
#2
|
||||
|
||||
You can use the realtime() command (refer to the command documentation for parameters and return values) to record the time at the beginning and end of your function. Then compare the values to see how long it took.
|
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Yongbin Kim (09-24-2010) |
Thread | Thread Starter | Forum | Replies | Last Post |
Displaying the simulation time with the various date/time formats. | Regan Blackett | Tips and Tricks | 12 | 11-12-2012 08:01 AM |
What is the exact start time of dewell time? | zhang xin | Container Terminal (CT) Library | 1 | 11-23-2009 10:56 AM |
All time related values 0,0000001 time units delayed | Patrick Cap | Q&A | 2 | 05-01-2009 01:50 AM |
Inter Arrival Time by Time of Day Mod | Brandon Peterson | Tips and Tricks | 0 | 04-23-2008 11:13 AM |