【发布时间】:2014-06-09 09:36:31
【问题描述】:
我在一个大型代码库上运行 Valgrind,"--time-stamp=yes"
我需要找出分配每个内存的实际(相对)时间戳
问题:Valgrind 报告包含生成泄漏摘要的时间戳
Steps:
- Run the codebase for 24 Hours with valgrind [ options
"--tool=memcheck --leak-check=full --time-stamp=yes"]
- Terminate the process with "kill -15" after 24 hours, Leak Summary is
generated.
- Time-Stamps In Valgrind Report= Time of Leak Report Generation [Not
the Actual Time at which Memory was Allocated]
是否有任何选项可以让我获得 ACTUAL TIMESTAMPS -- Leaked Memory 被分配的时间?
谢谢
【问题讨论】:
标签: c memory-management memory-leaks valgrind