rename run_serial to run
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 02 Sep 2006 12:09:59 +0200
changeset 21 a8f0cda66189
parent 20 19c395336b0d
child 22 2f11e12e33d0
rename run_serial to run
src/simulator/simulator.cc
--- a/src/simulator/simulator.cc	Sat Sep 02 12:09:07 2006 +0200
+++ b/src/simulator/simulator.cc	Sat Sep 02 12:09:59 2006 +0200
@@ -58,7 +58,6 @@
 
 	bool is_finished (void) const;
 	uint64_t next_us (void) const;
-	void run_serial (void);
 	void stop (void);
 	void stop_at_us (uint64_t at);
 	Event schedule_rel_us (Event event, uint64_t delta);
@@ -150,7 +149,7 @@
 
 
 void
-SimulatorPrivate::run_serial (void)
+SimulatorPrivate::run (void)
 {
 	while (!m_events->is_empty () && !m_stop && 
 	       (m_stop_at == 0 || m_stop_at > next_us ())) {
@@ -322,7 +321,7 @@
 void 
 Simulator::run (void)
 {
-	get_priv ()->run_serial ();
+	get_priv ()->run ();
 }
 void 
 Simulator::stop (void)