Measure total CPU time for leak(), add it to the ouput alongside the git revision
This commit is contained in:
2
Makefile
2
Makefile
@@ -74,6 +74,8 @@ GCCV:= $(shell (gcc -v 2>&1 | grep 'gcc version') || (apk info -a gcc 2> /dev/n
|
||||
VULN1:= $(shell (cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 2> /dev/null || printf unknown))
|
||||
VULN2:= $(shell (cat /sys/devices/system/cpu/vulnerabilities/spectre_v2 2> /dev/null || printf unknown))
|
||||
REVISION:= $(shell git rev-parse --short HEAD)
|
||||
CFLAGS+= -DREVISION=\"$(REVISION)\"
|
||||
|
||||
define BANNER
|
||||
printf '\033[1m\033[94m________ __\n'
|
||||
printf '\\_____ \\ _____/ |_ ____ ______ __ __ ______\n'
|
||||
|
||||
Reference in New Issue
Block a user