Measuring total wait time

3 posts, 1 answers
  1. Derek
    Derek avatar
    5 posts
    Member since:
    Jun 2013

    Posted 03 Apr Link to this post

    In a WinForms .NET application we use TrackFeatureStart/Stop to record total usage time and individual feature usages.  As well as telling me about the performance of key features, this lets me calculate an overall "efficiency" metric, i.e. total feature time / total session time = efficiency.  This technique captures some performance issues but not all, as often we have performance issues with something that we are not already measuring as a feature.  Is there an approach that lets me hook into the WinForms API at a low level and record all time that the user is not facing a blinking cursor?

    I propose that we use a stopwatch that I can start before all operations and then stop when the user has control again, reporting the total elapsed time at the end of the session using TrackFeatureValue.  Is there a better way?

     

  2. Answer
    Darin
    Admin
    Darin avatar
    3 posts

    Posted 04 Apr Link to this post

    Hello,

    Do you mean measuring the total time the application spent in a "frozen" state? I am not sure if such low level API exists in WinForms. Concerning your approach using a Stopwatch, this seems like the best way to accumulate the "user wait time" during operations and report it as a feature value at the end of the session.

    Regards,
    Darin
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Derek
    Derek avatar
    5 posts
    Member since:
    Jun 2013

    Posted 04 Apr Link to this post

    Hi Darin,

    Yes I did mean in a frozen state.  I was not sure that I could get the data I needed from the analytics client but have just discovered the API so I'm sure I can get it now.

Back to Top