Monday, May 24, 2010

Can C++ take into account time in the code scripting?

Yes, you can use the timer or datetimestamp or ticker functions to apply a timed delay in seconds, minutes days months or years for a process to launch.





If you want to time or bench mark how long a script tales you can use c++ for that.





If the code is external you'll approach it differently than if you can modify the code yourself.





If you can modify the code you can simply ad a functions to track time till eof or eoprocess and then do something with that.





If it's external you'd have to access the system library for tools that'll allow to to measure a running process or program.


No comments:

Post a Comment