Valgrind?

Правка en1, от Namnamseo, 2016-07-17 14:01:12

Yesterday I had to monitor the memory usage, and I googled to come up with a tool named Valgrind.

It contains many interesting tools, such as Memcheck(monitors memory access and reports on invalid memory access), Massif(monitors memory usage, such as peak or average usage), and Callgrind(monitors function call and records usage). I think it'd be useful for some situations. I always used GDB to debug segmentation faults, but Valgrind looks better somehow.

IOI's contest environment has Valgrind (and GDB), but no one around me seems to have experience with Valgrind. What are the pros and cons of Valgrind you know?

Теги debug, valgrind

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Namnamseo 2016-07-17 14:01:12 633 Initial revision (published)