28#include "pybind11/operators.h"
37 pybind11::class_<sc_core::sc_time> sc_time(systemc,
"sc_time");
40 .def(pybind11::init<>())
41 .def(pybind11::init<double, sc_core::sc_time_unit>())
42 .def(pybind11::init<const sc_core::sc_time &>())
52 .def(pybind11::self == pybind11::self)
53 .def(pybind11::self != pybind11::self)
54 .def(pybind11::self < pybind11::self)
55 .def(pybind11::self <= pybind11::self)
56 .def(pybind11::self > pybind11::self)
57 .def(pybind11::self >= pybind11::self)
58 .def(pybind11::self += pybind11::self)
59 .def(pybind11::self -= pybind11::self)
60 .def(pybind11::self *=
double())
61 .def(pybind11::self /=
double())
64 pybind11::enum_<sc_core::sc_time_unit>(sc_time,
"sc_time_unit")
double to_seconds() const
const std::string to_string() const
sc_dt::uint64 value() const