From 0e0269def1e97f774a0843fde00c3f50ed0e9cff Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 26 Oct 2022 19:28:57 -0400 Subject: Added new profile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ba5fd3a..5281b96 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,10 @@ uninstall: [ "$$confirm" != n ] && rm -rf ~/.config/$(NAME); \ fi -profile: +profile_grammar: perf stat -r 100 -e L1-dcache-loads,L1-dcache-load-misses,L1-dcache-stores -e cycles bp -f plain -g bp -p Grammar grammars/bp.bp >/dev/null +profile_pattern: + perf stat -r 1 -e L1-dcache-loads,L1-dcache-load-misses,L1-dcache-stores -e cycles bp -f plain -p 'id parens' /usr/include/*.h >/dev/null + .PHONY: all clean install install-lib uninstall leaktest splint test tutorial lua profile -- cgit v1.2.3