plot_benchmarks.m.in | plot_benchmarks.m.in | |||
---|---|---|---|---|
function plot_benchmarks(hostname) | function plot_benchmarks(hostname) | |||
% function plot_benchmarks(hostname) | % function plot_benchmarks(hostname) | |||
% | % | |||
% $Id: plot_benchmarks.m.in,v 1.1 2002/03/08 08:55:39 patricg Exp $ | % $Id: plot_benchmarks.m.in,v 1.2 2004/03/22 11:03:40 patricg Exp $ | |||
% | % | |||
% Copyright (c) 2001 Patrick Guio <patrick.guio@fys.uio.no> | % Copyright (c) 2001 Patrick Guio <patrick.guio@fys.uio.no> | |||
% | % | |||
% All Rights Reserved. | % All Rights Reserved. | |||
% | % | |||
% This program is free software; you can redistribute it and/or modify it | % This program is free software; you can redistribute it and/or modify it | |||
% under the terms of the GNU General Public License as published by the | % under the terms of the GNU General Public License as published by the | |||
% Free Software Foundation; either version 2. of the License, or (at your | % Free Software Foundation; either version 2. of the License, or (at your | |||
% option) any later version. | % option) any later version. | |||
% | % | |||
skipping to change at line 34 | skipping to change at line 34 | |||
bench={'daxpy','haney','loop1','loop2','loop3','loop5','loop6','loop8',... | bench={'daxpy','haney','loop1','loop2','loop3','loop5','loop6','loop8',... | |||
'loop9','loop10','loop11','loop12','loop13','loop14','loop15','loop1 6',... | 'loop9','loop10','loop11','loop12','loop13','loop14','loop15','loop1 6',... | |||
'loop17','loop18','loop19','loop21','loop22','loop23','loop24','loop 25',... | 'loop17','loop18','loop19','loop21','loop22','loop23','loop24','loop 25',... | |||
'loop36','stencil'}; | 'loop36','stencil'}; | |||
if nargin == 0, | if nargin == 0, | |||
str=sprintf('@PACKAGE@-@VERSION@ benchmark on a %s', computer); | str=sprintf('@PACKAGE@-@VERSION@ benchmark on a %s', computer); | |||
else | else | |||
str=sprintf('@PACKAGE@-@VERSION@ benchmark on %s (%s)', hostname, co mputer); | str=sprintf('@PACKAGE@-@VERSION@ benchmark on %s (%s)', hostname, co mputer); | |||
end | end | |||
str=sprintf('%s\nCXX=@CXX@ CXXFLAGS=@CXXFLAGS@ @CXX_OPTIMIZE_FLAGS@', str); | ||||
str=sprintf('%s\nF77=@F77@ FFLAGS=@FFLAGS@ @F77_OPTIMIZE_FLAGS@', str); | ||||
if length('@FC@') | ||||
str=sprintf('%s\nFC=@FC@ FCFLAGS=@FCFLAGS@ @FC_OPTIMIZE_FLAGS@', str | ||||
); | ||||
end | ||||
str=strrep(str,'_','\_'); | ||||
h=text(0.5,0.5,str); | h=text(0.5,0.5,str); | |||
set(h,'HorizontalAlignment','center') | set(h,'HorizontalAlignment','center') | |||
set(h,'FontSize',18) | set(h,'FontSize',18) | |||
set(h,'FontWeight','demi') | set(h,'FontWeight','demi') | |||
set(gca,'visible','off') | set(gca,'visible','off') | |||
orient landscape | orient landscape | |||
print -dpsc benchmarks.ps | print -dpsc benchmarks.ps | |||
for i=1:length(bench), | for i=1:length(bench), | |||
eval(bench{i}) | eval(bench{i}) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |