Can anyone tell me if there is a way to write profiler output to a file? An external application is invoking AIMMS from the command line multiple times during its run, so it would be useful to generate this file
Profiler Output to a File
Best answer by Chris Kuip
hello Tsterle,
You can use the functions ProfilerStart (for instance in MainInitialization) and ProfilerCollectAllData to collect the profiling information, also during a headless run.
Once collected, you can use
write <some identifiers> to file someFile.txt ;
to write the data.
For more information on the profiling functions, see https://documentation.aimms.com/functionreference/development-support/profiler-and-debugger/index.html
Does this answer your question?
With kind regards,
Chris
Sign up
Already have an account? Login
Please use your business or academic e-mail address to register
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.