A static class to count method invocation. More...
#include <XeCore.h>
Static Public Member Functions | |
static void | count (string method) |
count the number of times a method was invoked | |
static void | list () |
list the number of times all methods were invoked | |
static void | reset () |
reset all counters | |
Static Protected Attributes | |
static map< string, int > | counts |
A static class to count method invocation.
static void MethodCounter::count | ( | string | method | ) | [static] |
count the number of times a method was invoked
method | name of the method |