SyTen

◆ totalSize()

template<typename T >
constexpr MemorySize syten::MemoryUsage::totalSize ( T const &  obj)
constexpr

Returns the amount of total memory required by obj and its members.

Instantiates TotalSize<T, MemorySize> and calls TotalSize::get() on it.

References syten::MemoryUsage::TotalSize< T, U >::get().

Referenced by syten::BinaryTree::Node< T >::allocSize(), syten::Cached< Type >::cache(), syten::AsyncCached< Type >::cache(), syten::Eigen::eigenGen(), syten::Eigen::eigenSym(), syten::Pyten::expose_syten_class(), syten::MemoryUsage::AllocSize< std::unordered_map< Key, Value >, MemorySize >::get(), syten::Pyten::init_tensor(), syten::STensorImpl::STensor::operator=(), syten::TensorProd::prod_impl(), syten::STensorImpl::registry_printout(), and syten::STensorImpl::STensor::STensor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: