|
From: Paul F. <pj...@wa...> - 2018-03-08 20:07:21
|
Hi Recently there was the question of removing exp-sgcheck. I was using dhat recently, and was wondering if it should be ‘promoted’ to plain dhat? I was also thinking about the output for types like the C++ std::vector (or a C malloc’d array). In the case where the data is allocated in many small chunks there is a dump of the aggregate access counts (this works well with something like an std::map). However, for a std::vector the allocation is usually either done all at once when the object is created (using reserve() or an appropriate constructor) or else the memory gets reallocated with exponentially growing size if elements are added using push_back(). Would it be feasible to indicate the element size for the allocated memory so that the aggregate counts could be generated per vector/array element? A+ Paul |