Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Supporter
Impact
~555 people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
May
15
comment Information about how much time in spent in a function, based on the input of this function
Thank you. At first I was thinking of something similar using a database to capture the inputs. But I'd like to avoid modifying the code if possible.
May
15
comment Information about how much time in spent in a function, based on the input of this function
That's a nice idea, but I don't really want to impact the code I want to profile. I am looking for something more general that would profile the whole program and not just one single function.
May
15
awarded  Supporter
May
15
comment Information about how much time in spent in a function, based on the input of this function
Yes, I see your point and it's a good one. But the unit tests won't tell me that the users pressed 90% times the same button and had to wait on average 3 seconds because the if that handled this button was the last one checked.
May
15
awarded  Student
May
15
comment Information about how much time in spent in a function, based on the input of this function
@DocBrown Of course. For example, discriminating on the value of a pointer won't be really helpful. But if I can find such a tools, even if it has restrictions on the type of parameters it can handles (like working only for ValueType, Native type or on enums), I would gladly take a look at it.
May
15
asked Information about how much time in spent in a function, based on the input of this function
Mar
17
awarded  Autobiographer