using valgrind at specific point while running program

ε祈祈猫儿з 提交于 2019-12-11 08:52:15

问题


I want to use valrgind at a specific time while my program is running. For example, when I use -O3 it will take 0.5 hours to reach the desired point. When I use -g -ggdb it will take nearly 2.5 hours to reach the desired point.

Now if I use valgrind with -g -ggdb, the program is extremely slow and I can not predict when it reach the desired point.

What should I do?

来源:https://stackoverflow.com/questions/18438963/using-valgrind-at-specific-point-while-running-program

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!