SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_time.h File Reference

The time class. More...

#include "sysc/datatypes/int/sc_nbdefs.h"
#include "sysc/datatypes/fx/scfx_ieee.h"
#include <iostream>
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
 The time class. More...
 
class  sc_core::sc_time_tuple
 
struct  sc_core::sc_time_params
 Struct that holds the time resolution and default time unit. More...
 

Namespaces

 sc_core
 

Enumerations

enum  sc_core::sc_time_unit {
  sc_core::SC_FS = 0, sc_core::SC_PS, sc_core::SC_NS, sc_core::SC_US,
  sc_core::SC_MS, sc_core::SC_SEC
}
 Enumeration of time units. More...
 

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
 

Detailed Description

The time class.

Original Author: Martin Janssen, Synopsys, Inc., 2001-05-21

CHANGE LOG AT THE END OF THE FILE

Definition in file sc_time.h.