X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e5b7ca2bccfd542f49b069ef8239391ecadcbc55..1ca34b76da924ef9743ce07316d18e69ba45374f:/src/surf/cpu_interface.hpp?ds=sidebyside diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index 032df194e0..4a3f3b26da 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -133,12 +133,12 @@ public: int coresAmount_ = 1; simgrid::s4u::Host* host_; - xbt_dynar_t speedPerPstate_ = NULL; /*< List of supported CPU capacities (pstate related) */ + xbt_dynar_t speedPerPstate_ = nullptr; /*< List of supported CPU capacities (pstate related) */ int pstate_ = 0; /*< Current pstate (index in the speedPeakList)*/ /* Note (hypervisor): */ - lmm_constraint_t *p_constraintCore=NULL; - void **p_constraintCoreId=NULL; + lmm_constraint_t *p_constraintCore=nullptr; + void **p_constraintCoreId=nullptr; public: virtual void setStateTrace(tmgr_trace_t trace); /*< setup the trace file with states events (ON or OFF). Trace must contain boolean values (0 or 1). */