helloworld
10th December 2010, 19:44
Hi!
(How) can I measure how much memory a QHash is using?
capacity() * sizeof(valuetype)
... or?
Thanks!
wysota
10th December 2010, 21:08
Hi!
(How) can I measure how much memory a QHash is using?
capacity() * sizeof(valuetype)
No, not really.
... or?
Or you can use one of widely available solutions for measuring memory allocations in c/c++ applications. Or you can do the counting yourself based on QHash source code.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.