Lines Matching refs:top
186 Top top("top");
192 top.ev.notify(); // Wake from 1st pause on immed notification
206 sc_assert( top.last_time == sc_time_stamp() );
210 sc_assert( top.count == 10 );
211 // sc_assert( top.last_time == sc_time_stamp() );
213 top.ev.notify(SC_ZERO_TIME); // Wake from 2nd pause on delta notification
216 sc_assert( top.last_time == sc_time_stamp() );
218 top.ev.notify(1, SC_NS); // Wake from 3rd pause on timed notification
221 sc_assert( top.last_time == sc_time_stamp() );
223 top.ev.notify(2, SC_NS); // Future notification beyond the subsequent start
231 sc_assert( top.last_time == sc_time_stamp() );
233 top.ev.notify(); // Wake from 5th pause on immed notification
236 sc_assert( top.last_time == sc_time_stamp() );
240 top.ev.notify(1, SC_NS); // Future notification before calling sc_stop
245 sc_assert( top.last_time == sc_time_stamp() );
246 sc_assert( top.reached_end );