From f2801642f0b44a19c8e49f068a152cfbaf613277 Mon Sep 17 00:00:00 2001 From: Armando Luiz Nicolini Delgado <nicolui@inf.ufpr.br> Date: Sat, 26 Jun 2021 12:30:17 -0300 Subject: [PATCH] =?UTF-8?q?Altera=C3=A7=C3=B5es=20para=20facilitar=20enten?= =?UTF-8?q?dimento=20do=20script=20'perfctr'=20e=20outras=20informa=C3=A7?= =?UTF-8?q?=C3=B5es=20auxiliares?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- perfctr | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/perfctr b/perfctr index 24db0a1..1c77274 100755 --- a/perfctr +++ b/perfctr @@ -1,12 +1,25 @@ #!/bin/bash +# Forma de uso: +# +# perfctr <CORE_ID> <GRUPO_PERFORMANCE> ./matmult <opcoe_matmult> +# +# Exemplo, para fazer as medições de performance de FLOPS_DP no core 3 +# +# perfctr 3 FLOPS_DP ./matmult -n 64 +# + LIKWID_CMD="likwid-perfctr -C $1 -g $2 -m" shift 2 ${LIKWID_CMD} $* +# Para obter topologia dos cpu's +# likwid-topology -c -g + # Para obter lista de grupos de indicadores de performance: # likwid-perfctr -a -# Para obter topologia dos processadores -# likwid-topology -c -g +# Para obter lista de Eventos e Contadores +# likwid-perfctr -e + -- GitLab