equal
deleted
inserted
replaced
691 |
691 |
692 // method to check for the existence of a PerfData item with |
692 // method to check for the existence of a PerfData item with |
693 // the given name. |
693 // the given name. |
694 static bool exists(const char* name) { return _all->contains(name); } |
694 static bool exists(const char* name) { return _all->contains(name); } |
695 |
695 |
|
696 // method to search for a instrumentation object by name |
|
697 static PerfData* find_by_name(const char* name); |
|
698 |
696 // method to map a CounterNS enumeration to a namespace string |
699 // method to map a CounterNS enumeration to a namespace string |
697 static const char* ns_to_string(CounterNS ns) { |
700 static const char* ns_to_string(CounterNS ns) { |
698 return _name_spaces[ns]; |
701 return _name_spaces[ns]; |
699 } |
702 } |
700 |
703 |