Expand dump-functions for excluding user/unused memory (This is rebase commit for merging to development)
This commit is contained in:
committed by
Ken Sato
parent
325082a571
commit
a05b6e1ba8
16
test/dump/utils/gen_mem_chunks.sh
Executable file
16
test/dump/utils/gen_mem_chunks.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
NUMAS=$1
|
||||
MEM_SIZE=$2
|
||||
REP=$3
|
||||
CHUNKS=""
|
||||
|
||||
for numa in ${NUMAS}
|
||||
do
|
||||
for rep in `seq 1 ${REP}`
|
||||
do
|
||||
CHUNKS="${CHUNKS}${MEM_SIZE}@${numa},"
|
||||
done
|
||||
done
|
||||
|
||||
echo ${CHUNKS%,}
|
||||
Reference in New Issue
Block a user