Lines Matching defs:ns
78 PerfData::PerfData(CounterNS ns, const char* name, Units u, Variability v)
82 const char* prefix = PerfDataManager::ns_to_string(ns);
87 if (ns == NULL_NS) {
102 if (PerfDataManager::is_stable_supported(ns) ||
103 PerfDataManager::is_unstable_supported(ns)) {
188 PerfLong::PerfLong(CounterNS ns, const char* namep, Units u, Variability v)
189 : PerfData(ns, namep, u, v) {
198 PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,
200 : PerfLong(ns, namep, u, v),
206 PerfLongVariant::PerfLongVariant(CounterNS ns, const char* namep, Units u,
208 : PerfLong(ns, namep, u, v),
226 PerfByteArray::PerfByteArray(CounterNS ns, const char* namep, Units u,
228 : PerfData(ns, namep, u, v), _length(length) {
247 PerfStringConstant::PerfStringConstant(CounterNS ns, const char* namep,
249 : PerfString(ns, namep, V_Constant,
360 char* PerfDataManager::counter_name(const char* ns, const char* name) {
361 assert(ns != NULL, "ns string required");
364 size_t len = strlen(ns) + strlen(name) + 2;
366 sprintf(result, "%s.%s", ns, name);
370 char* PerfDataManager::name_space(const char* ns, const char* sub,
374 return name_space(ns, name_space(sub, intbuf));
377 char *PerfDataManager::name_space(const char* ns, int instance) {
380 return name_space(ns, intbuf);
383 PerfStringConstant* PerfDataManager::create_string_constant(CounterNS ns,
388 PerfStringConstant* p = new PerfStringConstant(ns, name, s);
401 PerfLongConstant* PerfDataManager::create_long_constant(CounterNS ns,
406 PerfLongConstant* p = new PerfLongConstant(ns, name, u, val);
419 PerfStringVariable* PerfDataManager::create_string_variable(CounterNS ns,
429 PerfStringVariable* p = new PerfStringVariable(ns, name, max_length, s);
442 PerfLongVariable* PerfDataManager::create_long_variable(CounterNS ns,
447 PerfLongVariable* p = new PerfLongVariable(ns, name, u, ival);
460 PerfLongVariable* PerfDataManager::create_long_variable(CounterNS ns,
468 PerfLongVariable* p = new PerfLongVariable(ns, name, u, sp);
481 PerfLongVariable* PerfDataManager::create_long_variable(CounterNS ns,
490 PerfLongVariable* p = new PerfLongVariable(ns, name, u, sh);
503 PerfLongCounter* PerfDataManager::create_long_counter(CounterNS ns,
508 PerfLongCounter* p = new PerfLongCounter(ns, name, u, ival);
521 PerfLongCounter* PerfDataManager::create_long_counter(CounterNS ns,
529 PerfLongCounter* p = new PerfLongCounter(ns, name, u, sp);
542 PerfLongCounter* PerfDataManager::create_long_counter(CounterNS ns,
551 PerfLongCounter* p = new PerfLongCounter(ns, name, u, sh);