内存泄露:
sudo valgrind --tool=memcheck --leak-check=full --time-stamp=yes --max-threads=1000 --track-origins=yes --log-file=./valgrind_report_1000.log a.out
多线程竞争:
sudo valgrind --tool=helgrind --log-file=./valgrind_report_0906_mul_thread.log a.out
2024-02-16 16:10:04
内存泄露:
sudo valgrind --tool=memcheck --leak-check=full --time-stamp=yes --max-threads=1000 --track-origins=yes --log-file=./valgrind_report_1000.log a.out
多线程竞争:
sudo valgrind --tool=helgrind --log-file=./valgrind_report_0906_mul_thread.log a.out