Lines Matching defs:check_time
31 void check_time( const sc_time& t, sc_time_unit tu, const std::string & str )
73 check_time( sc_time( 10, SC_NS), SC_NS, "10 ns" );
74 check_time( sc_time( 100, SC_NS), SC_NS, "100 ns" );
75 check_time( sc_time(1000, SC_NS), SC_US, "1 us" );
76 check_time( sc_time( 0.1, SC_US), SC_NS, "100 ns" );
77 check_time( sc_time( 1, SC_US), SC_US, "1 us" );
78 check_time( sc_time( 10, SC_US), SC_US, "10 us" );
79 check_time( sc_time( 100, SC_US), SC_US, "100 us" );
80 check_time( sc_time(1000, SC_US), SC_MS, "1 ms" );
81 check_time( sc_time( 100, SC_SEC), SC_SEC, "100 s" );