Get the execution time of feature in my application

8 posts, 0 answers
  1. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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.
  2. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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
  3. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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
  4. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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
  5. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    Hi Thanks for the response. Can you tell me when is the next release of .NET monitor? /Asad
  6. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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
  7. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    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.
  8. Guest
    Guest avatar
    506 posts
    Member since:
    Feb 2012

    Posted 14 Mar 2013 Link to this post

    Closed as duplicate.
Back to Top