mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
fix measure.sh for macos
This commit is contained in:
parent
fcce4517de
commit
24aacac58d
1 changed files with 7 additions and 3 deletions
|
@ -5,9 +5,13 @@ DURATION_SECONDS=10
|
|||
|
||||
SUBJECT=$1
|
||||
|
||||
|
||||
if echo $(uname) -eq "Darwin" ; then
|
||||
TSK_SRV=""
|
||||
TSK_LOAD=""
|
||||
else
|
||||
TSK_SRV="taskset -c 0,1,2,3"
|
||||
TSK_LOAD="taskset -c 4,5,6,7"
|
||||
fi
|
||||
|
||||
if [ "$SUBJECT" = "" ] ; then
|
||||
echo "usage: $0 subject # subject: zig or go"
|
||||
|
|
Loading…
Add table
Reference in a new issue