========= Benchmark ========= Run the benchmark and plot the results as described below. Benchmark Program ================= :import: session03/matrix_bench.c Compile and Run =============== ---- SHELL(path=session03) -------------------------- gcc -Wall -std=c99 -O3 -o matrix_bench matrix_bench.c matrix_bench > bench.dat ----------------------------------------------------- Gnuplot Script ============== We will use the following script for Gnuplot. :import: session03/bench.gps Generate the Plot ================= Running ---- SHELL(path=session03) -------------------------- gnuplot bench.gps ----------------------------------------------------- creates the plot ---- IMAGE ------------------ session03/bench.svg ----------------------------- in file `bench.svg` :navigate: up -> doc:index back -> doc:session03/page09