File: plot_all_benchmark.pro

package info (click to toggle)
gnudatalanguage 0.9.9-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 17,892 kB
  • sloc: cpp: 167,389; ansic: 9,358; sh: 566; python: 472; makefile: 252; f90: 28
file content (35 lines) | stat: -rw-r--r-- 807 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;
; AC, August 18th 2017
;
; Design to be run in any interpretors (Default X11 plots)
; but GDL only if /SVG, due to SVG output
;
pro PLOT_ALL_BENCHMARK, svg=svg, test=test, path=path
;
ON_ERROR, 2
;
CHECK_SAVE_RESTORE
;
if KEYWORD_set(svg) then begin
   if GDL_IDL_FL(/up) NE 'GDL' then MESSAGE, "SVG output only for GDL, sorry"
endif
;
a=EXECUTE('BENCH_FFT, /help')
a=EXECUTE('BENCH_MATRIX_INVERT, /help')
a=EXECUTE('BENCH_MATRIX_MULTIPLY, /help')
a=EXECUTE('BENCH_MEDIAN, /help')
;
if ~KEYWORD_set(svg) then window, 0
PLOT_BENCH_FFT, svg=svg, path=path
;
if ~KEYWORD_set(svg) then window, 1
PLOT_BENCH_MATRIX_INVERT, svg=svg, path=path
;
if ~KEYWORD_set(svg) then window, 2
PLOT_BENCH_MATRIX_MULTIPLY, svg=svg, path=path
;
if ~KEYWORD_set(svg) then window, 3
PLOT_BENCH_MEDIAN, svg=svg, path=path
;
end