SystemC 3.0.0
Accellera SystemC proof-of-concept library
Classes | Namespaces | Macros | Enumerations | Functions | Variables
sc_time.h File Reference
#include "sysc/datatypes/int/sc_nbdefs.h"
#include "sysc/datatypes/fx/scfx_ieee.h"
#include <iostream>
#include <string_view>
Include dependency graph for sc_time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_core::sc_time
 
class  sc_core::sc_time_tuple
 
struct  sc_core::sc_time_params
 

Namespaces

namespace  sc_core
 

Macros

#define SC_TIME_DT   sc_dt::uint64
 

Enumerations

enum  sc_core::sc_time_unit {
  sc_core::SC_SEC = 5 , sc_core::SC_MS = 4 , sc_core::SC_US = 3 , sc_core::SC_NS = 2 ,
  sc_core::SC_PS = 1 , sc_core::SC_FS = 0 , sc_core::SC_AS = -1 , sc_core::SC_ZS = -2 ,
  sc_core::SC_YS = -3
}
 

Functions

const sc_time sc_core::operator+ (const sc_time &, const sc_time &)
 
const sc_time sc_core::operator- (const sc_time &, const sc_time &)
 
const sc_time sc_core::operator* (const sc_time &, double)
 
const sc_time sc_core::operator* (double, const sc_time &)
 
const sc_time sc_core::operator/ (const sc_time &, double)
 
double sc_core::operator/ (const sc_time &, const sc_time &)
 
inline ::std::ostream & sc_core::operator<< (::std::ostream &, const sc_time &)
 
const sc_time sc_core::operator% (const sc_time &t1, const sc_time &t2)
 
SC_API void sc_core::sc_set_time_resolution (double, sc_time_unit)
 
SC_API sc_time sc_core::sc_get_time_resolution ()
 
SC_API void sc_core::sc_set_default_time_unit (double, sc_time_unit)
 
SC_API sc_time sc_core::sc_get_default_time_unit ()
 

Variables

class SC_API sc_core::sc_time_tuple
 
SC_API const sc_time sc_core::SC_ZERO_TIME
 

Macro Definition Documentation

◆ SC_TIME_DT

#define SC_TIME_DT   sc_dt::uint64

Definition at line 70 of file sc_time.h.