acl/lib_fiber/samples/fiber/valgrind.sh
2016-06-11 23:18:06 +08:00

5 lines
252 B
Bash

#!/bin/sh
#valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes --max-stackframe=3426305034400000 -v ./fiber -n 10 -m 20
valgrind --tool=memcheck --leak-check=yes --leak-check=full --show-reachable=yes -v ./fiber -n 1 -m 2