Searched refs:getRefCount (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_smart_ptr.cpp94 obj.def("getRefCount", &Object::getRefCount);
168 bool good = o->getRefCount() == 1;
172 good &= o->getRefCount() == 2;
H A Dobject.h17 int getRefCount() const { return m_refCount; }; function in class:Object
H A Dtest_smart_ptr.py9 assert o.getRefCount() == 1

Completed in 5 milliseconds