int pstate, double speedScale,
tmgr_trace_t speedTrace, int core,
int initiallyOn,
- tmgr_trace_t state_trace);
+ tmgr_trace_t state_trace) override;
double shareResources(double now) override;
void updateActionsState(double now, double delta) override;
void addTraces() override;
virtual int sharingPolicy();
/** @brief Check if the Link is used */
- bool isUsed();
+ bool isUsed() override;
void turnOn() override;
void turnOff() override;
~Storage();
/** @brief Check if the Storage is used (if an action currently uses its resources) */
- bool isUsed();
+ bool isUsed() override;
/**
* @brief Update the state of the current Storage
* @param value [description]
* @param date [description]
*/
- void updateState(tmgr_trace_event_t event_type, double value, double date);
+ void updateState(tmgr_trace_event_t event_type, double value, double date) override;
void turnOn() override;
void turnOff() override;
~VMHL13Model(){};
VirtualMachine *createVM(const char *name, sg_host_t host_PM) override;
- double shareResources(double now);
+ double shareResources(double now) override;
void adjustWeightOfDummyCpuActions() override {};
void updateActionsState(double /*now*/, double /*delta*/) override;
};
void migrate(sg_host_t ind_dst_pm) override;
- void setBound(double bound);
- void setAffinity(Cpu *cpu, unsigned long mask);
+ void setBound(double bound) override;
+ void setAffinity(Cpu *cpu, unsigned long mask) override;
};
/**********
std::free(line);
std::fclose(fp);
- return std::move(ret);
+ return std::move(ret); // MPOQUET FIXME: this line generates a warning on clang 3.7.0
#else
/* On FreeBSD, kinfo_getvmmap() could be used but mmap() support is disabled
anyway. */
/* declarations */
+/* MPOQUET FIXME: the __foo__ function generates a warning on clang 3.7.0
+ MPOQUET FIXME: the credits is unused if __foo__ is commented*/
static char credits[] = "\n\
@(#)snprintf.c, v2.2: Mark Martinec, <mark.martinec@ijs.si>\n\
@(#)snprintf.c, v2.2: Copyright 1999, Mark Martinec. Frontier Artistic License applies.\n\