summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/exit_gen.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2018-04-27 12:07:53 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2018-07-13 09:26:23 +0000
commit102027ee2ed50dcadf93b31ef2e7e485b61cc504 (patch)
treea729fc29c3e642df1cc0849b24ecf5dc2d5bd4b3 /src/cpu/testers/traffic_gen/exit_gen.hh
parent0793a1bbdc190a7bd41b7ed81ef8291ceaeb722e (diff)
downloadgem5-102027ee2ed50dcadf93b31ef2e7e485b61cc504.tar.xz
cpu: Unify error handling for address generators
Unify error handling and create factory methods for address generators. Change-Id: Ic3ab705e1bb58affd498a7db176536ebc721b904 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/11516 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/cpu/testers/traffic_gen/exit_gen.hh')
-rw-r--r--src/cpu/testers/traffic_gen/exit_gen.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/testers/traffic_gen/exit_gen.hh b/src/cpu/testers/traffic_gen/exit_gen.hh
index 45087e661..bf46653b0 100644
--- a/src/cpu/testers/traffic_gen/exit_gen.hh
+++ b/src/cpu/testers/traffic_gen/exit_gen.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited
+ * Copyright (c) 2017-2018 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -56,8 +56,8 @@ class ExitGen : public BaseGen
public:
- ExitGen(const std::string& _name, MasterID master_id, Tick _duration)
- : BaseGen(_name, master_id, _duration)
+ ExitGen(BaseTrafficGen &gen, Tick _duration)
+ : BaseGen(gen, _duration)
{ }
void enter();