Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Nadi Tomeh
SDA
Commits
b4861fed
Commit
b4861fed
authored
Dec 01, 2021
by
BENGHEZALA_ROMAISSA
Browse files
exo2
parent
2f122b39
Pipeline
#4675
passed with stage
in 6 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
C/Makefile
View file @
b4861fed
CC
=
gcc
CC
=
gcc
CXXFLAGS
=
-Wall
-ansi
--pedantic
-O3
CXXFLAGS
=
-Wall
-ansi
--pedantic
-O3
CPP_O_FILE
=
tasbinaire.o analyzer.o main_
bench
.o
CPP_O_FILE
=
tasbinaire
_dynamique
.o analyzer.o main_
dynamique
.o
LIB
=
-lm
LIB
=
-lm
all
:
$(CPP_O_FILE)
all
:
$(CPP_O_FILE)
$(CC)
$(CXXFLAGS)
-o
tasbinaire_analysis
$(CPP_O_FILE)
$(LIB)
$(CC)
$(CXXFLAGS)
-o
tasbinaire_
dynamique_
analysis
$(CPP_O_FILE)
$(LIB)
clean
:
clean
:
rm
-rf
*
.o
rm
-rf
*
.o
rm
-rf
*
~
rm
-rf
*
~
rm
-rf
tasbinaire_analysis
rm
-rf
tasbinaire_
dynamique_
analysis
launch_analysis.sh
View file @
b4861fed
...
@@ -9,7 +9,7 @@ cd C/
...
@@ -9,7 +9,7 @@ cd C/
make
make
echo
"
${
RED
}
Exécution des benchmarks en C
${
NC
}
"
echo
"
${
RED
}
Exécution des benchmarks en C
${
NC
}
"
./tasbinaire_analysis
./tasbinaire_
dynamique_
analysis
echo
"
${
RED
}
Nettoyage
${
NC
}
"
echo
"
${
RED
}
Nettoyage
${
NC
}
"
make clean
make clean
...
@@ -59,10 +59,10 @@ cd ..
...
@@ -59,10 +59,10 @@ cd ..
### Dans le répertoire plots, lisez le contenu du fichier plot_result
### Dans le répertoire plots, lisez le contenu du fichier plot_result
cd
plots
cd
plots
more plot_result
more plot_result
_exo2
### puis lancez ce script avec gnuplot
### puis lancez ce script avec gnuplot
gnuplot plot_result
gnuplot plot_result
_exo2
plots/dynamic_binary_heap_extract_amortized_time_C.pdf
0 → 100644
View file @
b4861fed
File added
plots/dynamic_binary_heap_extract_copy_C.pdf
0 → 100644
View file @
b4861fed
File added
plots/dynamic_binary_heap_extract_swap_C.pdf
0 → 100644
View file @
b4861fed
File added
plots/dynamic_binary_heap_extract_wasted_memory_C.pdf
0 → 100644
View file @
b4861fed
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment