From 8bfbcb5c9d20109975e0c635c571faa6faf5c292 Mon Sep 17 00:00:00 2001
From: Armando Luiz Nicolini Delgado <nicolui@inf.ufpr.br>
Date: Wed, 30 Oct 2024 09:46:52 -0300
Subject: [PATCH] =?UTF-8?q?/*=20Alterado=20'teste.sh'=20para=20ter=20a=20o?=
 =?UTF-8?q?p=C3=A7=C3=A3o=20'-c',=20=20=20=20que=20apaga=20os=20logs=20e?=
 =?UTF-8?q?=20programa=20gerados=20durante=20o=20teste.=20*/?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 likwid/teste.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/likwid/teste.sh b/likwid/teste.sh
index 7d4c2ae..5c1a41e 100755
--- a/likwid/teste.sh
+++ b/likwid/teste.sh
@@ -3,6 +3,11 @@
 METRICA="FLOPS_DP"
 CPU=3
 
+if [ "$1" = "-c" ]; then
+    rm -f *~ teste ${METRICA}*.log
+    exit
+fi
+
 LIKWID_HOME=/home/soft/likwid
 CFLAGS="-I${LIKWID_HOME}/include -DLIKWID_PERFMON"
 LFLAGS="-L${LIKWID_HOME}/lib -llikwid"
-- 
GitLab