This is a migrated thread and some comments may be shown as answers.

Get the execution time of feature in my application

7 Answers 73 Views
Monitor integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Guest
Top achievements
Rank 1
Guest asked on 14 Mar 2013, 09:29 AM
Hey I need to get the time of a feature executed in my application so that i could log the feature execution time with my values. The feature value is not enough. i need to log more values but there is no way of connecting the log data with the feature execution time so is it possible to get this information.

7 Answers, 1 is accepted

Sort by
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hi, The Analytics monitor API offers a way of tracking execution time of any part of your code using TrackFeatureStart and TrackFeatureStop. That appear to solve your immediate need, to log execution time of a specific feature, and it's just right for the job - better than using TrackFeatureValue. I am not quite sure what you mean by "no way of connecting the log data with the feature execution time". By "log data", do you mean data submitted using the SendLog call? best regards, Richard Flamsholt EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hey Thanks for you quick response. Yes i am using the TrackFeatureStart and TrackFeatureEnd to measure the feature execution time and it works fine. But i also want to see how which configuration i used in that feature (i have 8 or 9 options in my configuration). The problem is that i cannot use TrackFeatureValue to save all the configuration and if I use SendLog to some how save those configuration values. Then i can't tell which log (the configuration value) took how much time to execute (feature execution time). Is there any way through which i can get the Feature Execution time that i can log in the SendLog. Thanks
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hi Asad, Ah, okay - now I get it. In the next release of the .NET monitor a call to TrackFeatureStop will return the elapsed time, but it is not part of the current release. (It is for Win32 and MacOS/iOS, but not on .NET yet). As a suboptimal work-around the best approach is probably to do the timing yourself, alongside with the TrackFeatureStart/stop, and log that to the SendLog message. I'm glad you asked, though, because that shows that there is indeed a demand for having TrackFeatureStop return the elapsed time :-) best regards, Richard Flamsholt EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hi Thanks for the response. Can you tell me when is the next release of .NET monitor? /Asad
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hi Asad, For your information, we have just released a new version 3.1.63 of the .NET monitor, that has the feature we were talking about. You can get it here: http://eqatec.com/Analytics/Download.aspx best regards, Richard Flamsholt EQATEC Team
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Hey I need to get the time of a feature executed in my application so that i could log the feature execution time with my values. The feature value is not enough. i need to log more values but there is no way of connecting the log data with the feature execution time so is it possible to get this information.
0
Guest
Top achievements
Rank 1
answered on 14 Mar 2013, 09:29 AM
Closed as duplicate.
Tags
Monitor integration
Asked by
Guest
Top achievements
Rank 1
Answers by
Guest
Top achievements
Rank 1
Share this question
or