summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2016-04-12 05:28:39 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2016-04-12 05:28:39 -0400
commit4b802a09c52ca2a2274a232ba5a29936de8ec3a9 (patch)
tree0e9e87f29b5811d0a8ace0994f095d56ca3fe881 /src
parentd9193d1b2039739ef4fb264c742d37f9803817e5 (diff)
downloadgem5-4b802a09c52ca2a2274a232ba5a29936de8ec3a9.tar.xz
misc: Appease clang...again
Once again, clang is having issues with recently committed code. Unfortunately HSAIL_X86 is still broken.
Diffstat (limited to 'src')
-rw-r--r--src/dev/storage/disk_image.hh6
-rw-r--r--src/sim/power/thermal_domain.hh4
-rw-r--r--src/sim/power/thermal_model.hh8
3 files changed, 9 insertions, 9 deletions
diff --git a/src/dev/storage/disk_image.hh b/src/dev/storage/disk_image.hh
index 2a59dc0c3..0f86aab35 100644
--- a/src/dev/storage/disk_image.hh
+++ b/src/dev/storage/disk_image.hh
@@ -87,10 +87,10 @@ class RawDiskImage : public DiskImage
void close();
void open(const std::string &filename, bool rd_only = false);
- virtual std::streampos size() const;
+ std::streampos size() const override;
- virtual std::streampos read(uint8_t *data, std::streampos offset) const;
- virtual std::streampos write(const uint8_t *data, std::streampos offset);
+ std::streampos read(uint8_t *data, std::streampos offset) const override;
+ std::streampos write(const uint8_t *data, std::streampos offset) override;
};
/**
diff --git a/src/sim/power/thermal_domain.hh b/src/sim/power/thermal_domain.hh
index dc0e30cfa..9236a2437 100644
--- a/src/sim/power/thermal_domain.hh
+++ b/src/sim/power/thermal_domain.hh
@@ -83,7 +83,7 @@ class ThermalDomain : public SimObject, public ThermalEntity
/** Get nodal equation imposed by this node */
LinearEquation getEquation(ThermalNode * tn, unsigned n,
- double step) const;
+ double step) const override;
/**
* Emit a temperature update through probe points interface
@@ -95,7 +95,7 @@ class ThermalDomain : public SimObject, public ThermalEntity
*/
void setSubSystem(SubSystem * ss);
- void regStats();
+ void regStats() override;
void serialize(CheckpointOut &cp) const override;
void unserialize(CheckpointIn &cp) override;
diff --git a/src/sim/power/thermal_model.hh b/src/sim/power/thermal_model.hh
index 3cf44c55b..64f831982 100644
--- a/src/sim/power/thermal_model.hh
+++ b/src/sim/power/thermal_model.hh
@@ -90,7 +90,7 @@ class ThermalResistor : public SimObject, public ThermalEntity
}
LinearEquation getEquation(ThermalNode * tn, unsigned n,
- double step) const;
+ double step) const override;
private:
/* Resistance value in K/W */
@@ -114,7 +114,7 @@ class ThermalCapacitor : public SimObject, public ThermalEntity
void unserialize(CheckpointIn &cp) override;
LinearEquation getEquation(ThermalNode * tn, unsigned n,
- double step) const;
+ double step) const override;
void setNodes(ThermalNode * n1, ThermalNode * n2) {
node1 = n1;
@@ -143,7 +143,7 @@ class ThermalReference : public SimObject, public ThermalEntity
}
LinearEquation getEquation(ThermalNode * tn, unsigned n,
- double step) const;
+ double step) const override;
void serialize(CheckpointOut &cp) const override;
void unserialize(CheckpointIn &cp) override;
@@ -176,7 +176,7 @@ class ThermalModel : public ClockedObject
double getTemp() const;
- void startup();
+ void startup() override;
void doStep();
void serialize(CheckpointOut &cp) const override;