Creating Stats on Method Hits
Posted on 2007-11-16
Bit of a strange one, but I am looking to have a method:
That would simply return statistical information on how many times certain processes are done. I was thinking the best way to do this would be to use a KVP system and every time a method is called simply increment it by one.
So I would have:
This would go to the KVP look for the Matrix entry and update it's pairby one. Just making sure there really isnt an easier way before I put this all throughout my code.