Commit 242459dc authored by fmg005's avatar fmg005

Updated comments

parent 821abfc7
......@@ -20,10 +20,7 @@ void Realtime::AdvanceModelTime(double time) {
m_next_start = CLOCKS_PER_SEC * time;
m_real_time = m_start + m_next_start;
/* check if simuation takes longer than expected
i.e., time = 1.0s
clocks (1s real-time equivalent) = CLOCKS_PER_SEC * time
*/
/* checking if simulation will take longer than allotted 'time' */
if ((m_end - m_start) > m_next_start)
m_logger->error("Simulation too slow");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment