core.cc (12334:e0ab29a34764) | core.cc (13409:071d5425ce37) |
---|---|
1/* 2 * Copyright (c) 2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 231 unchanged lines hidden (view full) --- 240 .def("doExitCleanup", &doExitCleanup) 241 242 .def("disableAllListeners", &ListenSocket::disableAll) 243 .def("listenersDisabled", &ListenSocket::allDisabled) 244 .def("listenersLoopbackOnly", &ListenSocket::loopbackOnly) 245 .def("seedRandom", [](uint64_t seed) { random_mt.init(seed); }) 246 247 | 1/* 2 * Copyright (c) 2017 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 231 unchanged lines hidden (view full) --- 240 .def("doExitCleanup", &doExitCleanup) 241 242 .def("disableAllListeners", &ListenSocket::disableAll) 243 .def("listenersDisabled", &ListenSocket::allDisabled) 244 .def("listenersLoopbackOnly", &ListenSocket::loopbackOnly) 245 .def("seedRandom", [](uint64_t seed) { random_mt.init(seed); }) 246 247 |
248 .def("fixClockFrequency", &fixClockFrequency) 249 .def("clockFrequencyFixed", &clockFrequencyFixed) 250 |
|
248 .def("setClockFrequency", &setClockFrequency) | 251 .def("setClockFrequency", &setClockFrequency) |
252 .def("getClockFrequency", &getClockFrequency) |
|
249 .def("curTick", curTick) 250 ; 251 252 /* TODO: These should be read-only */ 253 m_core.attr("compileDate") = py::cast(compileDate); 254 255 m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG); 256 m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG); --- 24 unchanged lines hidden --- | 253 .def("curTick", curTick) 254 ; 255 256 /* TODO: These should be read-only */ 257 m_core.attr("compileDate") = py::cast(compileDate); 258 259 m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG); 260 m_core.attr("flag_DEBUG") = py::cast(flag_DEBUG); --- 24 unchanged lines hidden --- |