📄 speedtest.sh
字号:
#!/bin/bash# Speed benchmark for FreeFem++# $Id: speedtest.sh,v 1.6 2005/01/10 21:19:58 hecht Exp $# The FreeFem++ executableffexe=${PROGLOC}/nw/FreeFem++-nw${EXEEXT}if test ! -x $ffexethen echo $ffexe non existent exit 1fi# Write some build information into the trace fileecho ------------------------------------------- >> speedtest.outdate >> speedtest.outecho CXXFLAGS=$CXXFLAGS >> speedtest.out# Run the actual test$ffexe lap3-cpu.edp \ |grep -E -- \ '-- lap (Cholesky|CG|UMFPACK|LU|Crout) +[0-9]+x[0-9]+' \ |tee -a speedtest.outif test $PIPESTATUS != 0 then exit 1fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -