Lines Matching defs:ns
290 PerfData(CounterNS ns, const char* name, Units u, Variability v);
362 PerfLong(CounterNS ns, const char* namep, Units u, Variability v);
388 PerfLongConstant(CounterNS ns, const char* namep, Units u,
390 : PerfLong(ns, namep, u, V_Constant) {
410 PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,
412 : PerfLong(ns, namep, u, v) {
416 PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,
419 PerfLongVariant(CounterNS ns, const char* namep, Units u, Variability v,
445 PerfLongCounter(CounterNS ns, const char* namep, Units u,
447 : PerfLongVariant(ns, namep, u, V_Monotonic,
450 PerfLongCounter(CounterNS ns, const char* namep, Units u, jlong* sampled)
451 : PerfLongVariant(ns, namep, u, V_Monotonic, sampled) { }
453 PerfLongCounter(CounterNS ns, const char* namep, Units u,
455 : PerfLongVariant(ns, namep, u, V_Monotonic,
472 PerfLongVariable(CounterNS ns, const char* namep, Units u,
474 : PerfLongVariant(ns, namep, u, V_Variable,
477 PerfLongVariable(CounterNS ns, const char* namep, Units u, jlong* sampled)
478 : PerfLongVariant(ns, namep, u, V_Variable, sampled) { }
480 PerfLongVariable(CounterNS ns, const char* namep, Units u,
482 : PerfLongVariant(ns, namep, u, V_Variable,
502 PerfByteArray(CounterNS ns, const char* namep, Units u, Variability v,
512 PerfString(CounterNS ns, const char* namep, Variability v, jint length,
514 : PerfByteArray(ns, namep, U_String, v, length) {
543 PerfStringConstant(CounterNS ns, const char* namep,
564 PerfStringVariable(CounterNS ns, const char* namep, jint max_length,
566 : PerfString(ns, namep, V_Variable, max_length+1,
699 static const char* ns_to_string(CounterNS ns) {
700 return _name_spaces[ns];
705 static bool is_stable_supported(CounterNS ns) {
706 return (ns != NULL_NS) && ((ns % 3) == JAVA_NS);
708 static bool is_unstable_supported(CounterNS ns) {
709 return (ns != NULL_NS) && ((ns % 3) == COM_NS);
711 static bool is_unstable_unsupported(CounterNS ns) {
712 return (ns == NULL_NS) || ((ns % 3) == SUN_NS);
756 static PerfStringConstant* create_string_constant(CounterNS ns,
760 static PerfLongConstant* create_long_constant(CounterNS ns,
767 static PerfStringVariable* create_string_variable(CounterNS ns,
772 static PerfStringVariable* create_string_variable(CounterNS ns,
775 return create_string_variable(ns, name, 0, s, CHECK_NULL);
778 static PerfLongVariable* create_long_variable(CounterNS ns,
783 static PerfLongVariable* create_long_variable(CounterNS ns,
786 return create_long_variable(ns, name, u, (jlong)0, CHECK_NULL);
793 static PerfLongVariable* create_long_variable(CounterNS ns,
801 static PerfLongCounter* create_long_counter(CounterNS ns, const char* name,
805 static PerfLongCounter* create_long_counter(CounterNS ns, const char* name,
807 return create_long_counter(ns, name, u, (jlong)0, CHECK_NULL);
810 static PerfLongCounter* create_long_counter(CounterNS ns, const char* name,
814 static PerfLongCounter* create_long_counter(CounterNS ns, const char* name,
823 static PerfConstant* create_constant(CounterNS ns, const char* name,
825 return create_long_constant(ns, name, u, val, CHECK_NULL);
828 static PerfVariable* create_variable(CounterNS ns, const char* name,
830 return create_long_variable(ns, name, u, ival, CHECK_NULL);
833 static PerfVariable* create_variable(CounterNS ns, const char* name,
835 return create_long_variable(ns, name, u, (jlong)0, CHECK_NULL);
838 static PerfVariable* create_variable(CounterNS ns, const char* name,
840 return create_long_variable(ns, name, u, sp, CHECK_NULL);
843 static PerfVariable* create_variable(CounterNS ns, const char* name,
846 return create_long_variable(ns, name, u, sh, CHECK_NULL);
849 static PerfCounter* create_counter(CounterNS ns, const char* name,
851 return create_long_counter(ns, name, u, ival, CHECK_NULL);
854 static PerfCounter* create_counter(CounterNS ns, const char* name,
856 return create_long_counter(ns, name, u, (jlong)0, CHECK_NULL);
859 static PerfCounter* create_counter(CounterNS ns, const char* name,
861 return create_long_counter(ns, name, u, sp, CHECK_NULL);
864 static PerfCounter* create_counter(CounterNS ns, const char* name,
867 return create_long_counter(ns, name, u, sh, CHECK_NULL);