Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Logging execution time?
Ryujakk
Hello,
I want to log the execution time of an operator in a log file using the Log operator. However, when I use to Log operator, and ask for the time, RM returns (currentTime - operatorStartTime). What I want is (operatorEndTime - operatorStartTime), which is logged at FINEST level as "operator: execution time was xxx.xx ms". Is there a simple way to do this?
Thank you,
- R
Find more posts tagged with
AI Studio
Accepted answers
All comments
land
Hi,
currently this is not possible. You might put the logging operator directly behind to avoid other's operators runtime to avoid confusing this. If this is not possible, you could do a simple trick: Log the time of the operator you are interested in and the directly following one. At the end of the process, change the log to an ExampleSet and use the generate attribute operator to build the difference which will be the runtime of the first operator...
Greetings,
Sebastian
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups