function graph(times, p)
% graph(times, path='benchmark.dat')
error(nargchk(1,2,nargin));
if nargin < 2
    p = 'benchmark.dat';
end

fd = fopen(p,'w');
fprintf(fd,'# name su s u su_s s_s u_s\n');
fprintf(fd,'cqkern %f %f %f %f %f %f\n', times.cqkern(6,:), times.cqkern(7,:));
fprintf(fd,'sparse %f %f %f %f %f %f\n', times.sparse(6,:), times.cqkern(7,:));
fprintf(fd,'cq     %f %f %f %f %f %f\n', times.cq(6,:), times.cqkern(7,:));
fprintf(fd,'ecq    %f %f %f %f %f %f\n', times.ecq(6,:), times.cqkern(7,:));
fprintf(fd,'vecq   %f %f %f %f %f %f\n', times.vecq(6,:), times.cqkern(7,:));
fprintf(fd,'secq   %f %f %f %f %f %f\n', times.secq(6,:), times.cqkern(7,:));
fprintf(fd,'svecq  %f %f %f %f %f %f\n', times.svecq(6,:), times.cqkern(7,:));
fclose(fd);
