diff --git a/gnuplot/plot.gp b/gnuplot/plot.gp
index dc01ef4b343bea7557d60dc61180b06129c50935..103b0b23ff435112f948e7f50dc8adfca0a6ecfc 100755
--- a/gnuplot/plot.gp
+++ b/gnuplot/plot.gp
@@ -1,8 +1,12 @@
 #!/usr/bin/gnuplot -c
+
 ## set encoding iso_8859_15
 set encoding utf
-set terminal qt persist
+
+# set terminal qt persist
+
 set grid
+
 set style data point
 set style function line
 set style line 1 lc 3 pt 7 ps 0.3
@@ -14,17 +18,24 @@ set xlabel  "N (bytes)"
 #
 # ALTERNATIVA 1: Tabelas em arquivos separados (2 colunas)
 #
+set key center center # posição da legenda: center, left, right
+set datafile separator comma
 set ylabel  "<metrica 1>"
+set logscale x
 set title   "<campo[marcador 1]>"
 set terminal qt 0 title "<campo[marcador 1]>"
-plot 'plot_exemplo-01.dat' title "<sem otimização>" with linespoints, \
-     'plot_exemplo-02.dat' title "<com otimização>" with linespoints
+plot 'plot_exemplo-01.dat' using 1:2 title "<sem otimização>" lc rgb "green" with linespoints, \
+     '' using 1:3 title "<com otimização>" lc rgb "blue" with linespoints, \
+     'plot_exemplo-02.dat' title "<com avx>" lc rgb "red" with linespoints
 
 pause -1
 
 #
 # ALTERNATIVA 2: Tabela com 3 colunas 
 #
+set key outside right # posição da legenda: outside {left | right}
+unset logscale x
+set datafile separator whitespace
 set ylabel  "<metrica 1>"
 set title   "<campo[marcador 1]>"
 set terminal qt 1 title "<campo[marcador 1]>"
diff --git a/gnuplot/plot_exemplo-01.dat b/gnuplot/plot_exemplo-01.dat
index 80be8a97aa032c88f76a50600b4a4a2857c9ba46..9bea290d419ce9029db42bd9d606248dded20285 100644
--- a/gnuplot/plot_exemplo-01.dat
+++ b/gnuplot/plot_exemplo-01.dat
@@ -1,7 +1,7 @@
 # Marcador "matPtrVet"
 # n <METRICA 1> (sem otimização)
-64 0.5
-100 50.433210629261
-128  25.798359943835
-2000 27.337482595053
-2048 18.873424079086
+64,1.1,0.5
+100,50.433210629261,45.433210629261
+128,25.798359943835,21.798359943835
+2000,27.337482595053,21.337482595053
+2048,18.873424079086,14.873424079086
diff --git a/gnuplot/plot_exemplo-02.dat b/gnuplot/plot_exemplo-02.dat
index d5c852b1b620a8975b0a50487ffd5704d8832612..cef04aabf777b30bb52e998da7df2934cc180051 100644
--- a/gnuplot/plot_exemplo-02.dat
+++ b/gnuplot/plot_exemplo-02.dat
@@ -1,7 +1,7 @@
 # Marcador "matPtrVet"
 # n <METRICA 1> (com otimização)
-64 0.5
-100 45.433210629261
-128  21.798359943835
-2000 21.337482595053
-2048 14.873424079086
+64,0.8
+100,35.433210629261
+128,18.798359943835
+2000,25.337482595053
+2048,10.873424079086
diff --git a/utils/utils.c b/utils/utils.c
index eeb7e4e4cd478f2506fd4fb81dc3984e4a28564f..1035eb5d42938a5a3dcd556526e6e92a3f7205a7 100644
--- a/utils/utils.c
+++ b/utils/utils.c
@@ -8,7 +8,7 @@
 
     Forma de uso:
  
-    double tempo;
+    rtime_t tempo;
     tempo = timestamp();
     <trecho de programa do qual se deseja medir tempo>
     tempo = timestamp() - tempo;
@@ -55,7 +55,7 @@ int isPot2(int n)
 
     Forma de uso:
  
-    double tempo;
+    rtime_t tempo;
     tempo = timestamp();
     <trecho de programa do qual se deseja medir tempo>
     tempo = timestamp() - tempo;