Searched refs:view (Results 1 - 9 of 9) sorted by relevance

/gem5/util/minorview/
H A Dview.py53 """The canvas view of the pipeline"""
76 # Offset of this view's time from self.time used for miniviews
80 # Maximum view size for initial window mapping
96 """Add a BlobController to this view"""
100 """Draw the view to a PNG file"""
142 """Redraw the whole view"""
164 """Set the time index for the view. A time index is an index into
187 def __init__(self, model, view,
190 self.view = view
[all...]
H A Dblobs.py185 def render(self, cr, view, event, select, time):
212 def render(self, cr, view, event, select, time):
239 box_size = size - view.blobIndentFactor.scale(2)
243 cr.scale(*view.pitch.to_pair())
275 cr.set_line_width(view.midLineWidth / view.pitch.x)
348 cr.set_line_width(view.thickLineWidth * self.border)
366 def render(self, cr, view, event, select, time):
368 cr.scale(*view.pitch.to_pair())
376 cr.set_line_width(view
[all...]
/gem5/ext/pybind11/include/pybind11/
H A Dbuffer_info.h49 explicit buffer_info(Py_buffer *view, bool ownview = true) argument
50 : buffer_info(view->buf, view->itemsize, view->format, view->ndim,
51 {view->shape, view->shape + view->ndim}, {view->strides, view
87 Py_buffer *view = nullptr; member in struct:buffer_info
[all...]
H A Dpytypes.h1318 Py_buffer *view = new Py_buffer(); local
1319 if (PyObject_GetBuffer(m_ptr, view, flags) != 0) {
1320 delete view;
1323 return buffer_info(view);
/gem5/util/
H A Dminorview.py53 from minorview.view import BlobView, BlobController, BlobWindow
84 view = BlobView(model) variable
85 controller = BlobController(model, view,
88 window = BlobWindow(model, view, controller)
/gem5/ext/pybind11/include/pybind11/detail/
H A Dclass.h463 /// buffer_protocol: Fill in the view as specified by flags.
464 extern "C" inline int pybind11_getbuffer(PyObject *obj, Py_buffer *view, int flags) { argument
472 if (view == nullptr || !tinfo || !tinfo->get_buffer) {
473 if (view)
474 view->obj = nullptr;
478 std::memset(view, 0, sizeof(Py_buffer));
480 view->obj = obj;
481 view->ndim = 1;
482 view->internal = info;
483 view
500 pybind11_releasebuffer(PyObject *, Py_buffer *view) argument
[all...]
/gem5/ext/pybind11/tests/
H A Dtest_eigen.cpp183 const Eigen::MatrixXd &view() { return mat; } function in class:ReturnTester
201 .def("view", &ReturnTester::view, rvp::reference_internal)
202 .def("view_ptr", &ReturnTester::view, rvp::reference_internal)
204 .def("copy_view", &ReturnTester::view) // "
H A Dtest_eigen.py236 a_view1 = a.view()
364 for meth in [m.ReturnTester.get, m.ReturnTester.get_ptr, m.ReturnTester.view,
H A Dtest_numpy_array.py47 a = np.array([[1, 2, 3], [4, 5, 6]], 'u2').view()

Completed in 24 milliseconds