rename run_serial to run
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat Sep 02 12:09:59 2006 +0200 (2006-09-02)
changeset 21a8f0cda66189
parent 20 19c395336b0d
child 22 2f11e12e33d0
rename run_serial to run
src/simulator/simulator.cc
     1.1 --- a/src/simulator/simulator.cc	Sat Sep 02 12:09:07 2006 +0200
     1.2 +++ b/src/simulator/simulator.cc	Sat Sep 02 12:09:59 2006 +0200
     1.3 @@ -58,7 +58,6 @@
     1.4  
     1.5  	bool is_finished (void) const;
     1.6  	uint64_t next_us (void) const;
     1.7 -	void run_serial (void);
     1.8  	void stop (void);
     1.9  	void stop_at_us (uint64_t at);
    1.10  	Event schedule_rel_us (Event event, uint64_t delta);
    1.11 @@ -150,7 +149,7 @@
    1.12  
    1.13  
    1.14  void
    1.15 -SimulatorPrivate::run_serial (void)
    1.16 +SimulatorPrivate::run (void)
    1.17  {
    1.18  	while (!m_events->is_empty () && !m_stop && 
    1.19  	       (m_stop_at == 0 || m_stop_at > next_us ())) {
    1.20 @@ -322,7 +321,7 @@
    1.21  void 
    1.22  Simulator::run (void)
    1.23  {
    1.24 -	get_priv ()->run_serial ();
    1.25 +	get_priv ()->run ();
    1.26  }
    1.27  void 
    1.28  Simulator::stop (void)