@@ -85,30 +85,30 @@ class PerfCountersBuilder
8585 PRIO_DEBUGONLY = 0 ,
8686 };
8787 void add_u64 (int key, const char *name,
88- const char *description=NULL , const char *nick = NULL ,
88+ const char *description=nullptr , const char *nick = nullptr ,
8989 int prio=0 , int unit=UNIT_NONE);
9090 void add_u64_counter (int key, const char *name,
91- const char *description=NULL ,
92- const char *nick = NULL ,
91+ const char *description=nullptr ,
92+ const char *nick = nullptr ,
9393 int prio=0 , int unit=UNIT_NONE);
9494 void add_u64_avg (int key, const char *name,
95- const char *description=NULL ,
96- const char *nick = NULL ,
95+ const char *description=nullptr ,
96+ const char *nick = nullptr ,
9797 int prio=0 , int unit=UNIT_NONE);
9898 void add_time (int key, const char *name,
99- const char *description=NULL ,
100- const char *nick = NULL ,
99+ const char *description=nullptr ,
100+ const char *nick = nullptr ,
101101 int prio=0 );
102102 void add_time_avg (int key, const char *name,
103- const char *description=NULL ,
104- const char *nick = NULL ,
103+ const char *description=nullptr ,
104+ const char *nick = nullptr ,
105105 int prio=0 );
106106 void add_u64_counter_histogram (
107107 int key, const char * name,
108108 PerfHistogramCommon::axis_config_d x_axis_config,
109109 PerfHistogramCommon::axis_config_d y_axis_config,
110- const char *description=NULL ,
111- const char * nick = NULL ,
110+ const char *description=nullptr ,
111+ const char * nick = nullptr ,
112112 int prio=0 , int unit=UNIT_NONE);
113113
114114 void set_prio_default (int prio_)
@@ -160,9 +160,9 @@ class PerfCounters
160160 /* * Represents a PerfCounters data element. */
161161 struct perf_counter_data_any_d {
162162 perf_counter_data_any_d ()
163- : name(NULL ),
164- description (NULL ),
165- nick(NULL ),
163+ : name(nullptr ),
164+ description (nullptr ),
165+ nick(nullptr ),
166166 type(PERFCOUNTER_NONE),
167167 unit(UNIT_NONE)
168168 {}
0 commit comments