sc_time.cc (12925:a745745a930b) sc_time.cc (12927:6be191c20575)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 259 unchanged lines hidden (view full) ---

268
269sc_time
270sc_get_default_time_unit()
271{
272 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
273 return *(sc_time *)nullptr;
274}
275
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 259 unchanged lines hidden (view full) ---

268
269sc_time
270sc_get_default_time_unit()
271{
272 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
273 return *(sc_time *)nullptr;
274}
275
276sc_time_tuple::sc_time_tuple(const sc_time &)
277{
278 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
279}
280
281bool
282sc_time_tuple::has_value() const
283{
284 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
285 return false;
286}
287
288sc_dt::uint64
289sc_time_tuple::value() const
290{
291 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
292 return 0;
293}
294
295const char *
296sc_time_tuple::unit_symbol() const
297{
298 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
299 return "";
300}
301
302double
303sc_time_tuple::to_double() const
304{
305 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
306 return 0.0;
307}
308
309std::string
310sc_time_tuple::to_string() const
311{
312 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
313 return "";
314}
315
276} // namespace sc_core
316} // namespace sc_core