[pipepar] Avoid output when using "script"
Call script with -q to avoid any output
This commit is contained in:
parent
73f99e761e
commit
e4450d68c2
|
@ -2,7 +2,7 @@ CFLAGS?=-Wall -Wextra
|
|||
|
||||
ifeq ($(shell perf --help 2>/dev/null >/dev/null && echo y),y)
|
||||
runntimes = perf stat -r $(1) $(2)
|
||||
runntimesandlog = script -a -c "$(runntimes)" $(3)
|
||||
runntimesandlog = script -a -q -c "$(runntimes)" $(3)
|
||||
else
|
||||
# Run a command several times
|
||||
# @param N Number of time to run the command
|
||||
|
|
Loading…
Reference in New Issue