1. 02 Apr, 2014 1 commit
  2. 24 Feb, 2014 1 commit
  3. 13 Feb, 2014 20 commits
    • Roland Levillain's avatar
      0b465a3c
    • Roland Levillain's avatar
      apps/bench: Simplify `fast_static' and `faster_static' cases. · a1853472
      Roland Levillain authored
      	* apps/bench/trait.hh (mln_static_qixter, mln_static_qixter_)
      	(mln_static_fwd_qixter, mln_static_fwd_qixter_)
      	(mln_static_bkd_qixter, mln_static_bkd_qixter_):
      	Remove macros.
      	(mln::static_fwd_qixter, mln::static_bkd_qixter):
      	Remove traits.
      	(mln::fwd_qixter< image2d<T>, static_window<D, n> >)
      	(mln::fwd_qixter< const image2d<T>, static_window<D, n> >)
      	(mln::bkd_qixter< image2d<T>, static_window<D, n> >)
      	(mln::bkd_qixter< const image2d<T>, static_window<D, n> >):
      	New traits.
      	* apps/bench/dilation-lena.hh
      	(fast_static::dilation): Delegate to fast::dilation.
      	(faster_static::dilation): Delegate to faster::dilation.
      a1853472
    • Roland Levillain's avatar
      apps/bench: Aesthetic changes in the output of list2table. · 091e1bec
      Roland Levillain authored
      	* apps/bench/list2table: Here.
      091e1bec
    • Roland Levillain's avatar
      apps/bench: New (postprocessing) script: list2table. · 55fd2b0c
      Roland Levillain authored
      	* apps/bench/list2table: New.
      55fd2b0c
    • Roland Levillain's avatar
      apps/bench: Split dilation-lena-bench. · 90d29df9
      Roland Levillain authored
      	* apps/bench/dilation-lena-bench.cc: Remove and split into...
      	* apps/bench/dilation-lena-bench-macros.hh,
      	* apps/bench/dilation-lena-bench-fast.cc,
      	* apps/bench/dilation-lena-bench-fast_static.cc,
      	* apps/bench/dilation-lena-bench-gen.cc,
      	* apps/bench/dilation-lena-bench-nongen.cc,
      	* apps/bench/dilation-lena-bench-nongen_2ptr.cc:
      	...these (new) files.
      	* apps/bench/test-dilation-lena-bench.in: New test.
      	* apps/bench/Makefile.am (noinst_PROGRAMS): Add
      	dilation-lena-bench-nongen, dilation-lena-bench-nongen_2ptr,
      	dilation-lena-bench-gen, dilation-lena-bench-fast and
      	dilation-lena-bench-fast_static.
      	Remove dilation-lena-bench.
      	(noinst_HEADERS): Add dilation-lena-bench-macros.hh.
      	(edit): New variable.
      	(EXTRA_DIST): Add test-dilation-lena-bench.in.
      	(test-dilation-lena-bench): New target.
      	(TESTS, CLEANFILES): Add test-dilation-lena-bench.
      90d29df9
    • Roland Levillain's avatar
      apps/bench: New experiment: dilation-lena-bench. · b43f22a4
      Roland Levillain authored
      	* apps/bench/dilation-lena-bench.cc: New.
      	* apps/bench/Makefile.am (noinst_PROGRAMS):
      	Add dilation-lena-bench.
      b43f22a4
    • Roland Levillain's avatar
      apps/bench: Have dilation-lena-table behave more like dilation-lena. · 27fd9c88
      Roland Levillain authored
      	* apps/bench/dilation-lena-table.cc: Here.
      	* apps/bench/Makefile.am (MOSTLYCLEANFILES): Update.
      27fd9c88
    • Roland Levillain's avatar
      apps/bench: Misc. changes. · b368f268
      Roland Levillain authored
      	* apps/bench/dilation-lena.hh,
      	* apps/bench/dilation-lena.cc,
      	* apps/bench/dilation-lena-table.cc:
      	Here.
      	* apps/bench/Makefile.am (AM_CXXFLAGS):
      	Set to $(APPS_CXXFLAGS_NODEBUG)
      b368f268
    • Roland Levillain's avatar
      apps/bench: Generate a LaTeX table from some results of dilation-lena. · 26be3832
      Roland Levillain authored
      	* apps/bench/dilation-lena-table.cc: New.
      	* apps/bench/Makefile.am (noinst_PROGRAMS):
      	Add dilation-lena-table.
      26be3832
    • Roland Levillain's avatar
      apps/bench: Split dilation-lena.cc. · a2742cb6
      Roland Levillain authored
      	* apps/bench/dilation-lena.cc
      	(nongen::dilation)
      	(nongen_2ptr::dilation)
      	(nongen_1ptr::dilation)
      	(gen::dilation)
      	(fast::dilation)
      	(fast_noaccu::dilation)
      	(faster::dilation)
      	(faster_noaccu::dilation)
      	(fast_static::dilation)
      	(faster_static::dilation):
      	Move functions...
      	* apps/bench/dilation-lena.hh: ...here (new file).
      	* apps/bench/dilation-lena.cc: Adjust.
      	* apps/bench/Makefile.am (noinst_HEADERS): Add dilation-lena.hh
      a2742cb6
    • Roland Levillain's avatar
      apps/bench: More comparisons (2- and 1-pointer based non-gen impl.). · 1f64874f
      Roland Levillain authored
      	* apps/bench/trait.hh: New.
      	Use it...
      	* apps/bench/dilation-lena.cc: ...here.
      	(nongen_2ptr::dilation, nongen_1ptr::dilation): New functions.
      	Exercise them...
      	(run): ...here.
      	(main): Store the number of iterations in a variable.
      	* apps/bench/static_dpoints_pixter.hh
      	(mln::static_dpoints_fwd_pixter<I, n>)
      	(mln::static_dpoints_bkd_pixter<I, n>):
      	Turn into...
      	(mln::static_dpoints_fwd_pixter<I, W>)
      	(mln::static_dpoints_bkd_pixter<I, W>):
      	...these, so that these pixters are built from a (static) window
      	instead of a length.
      	(mln::static_dpoints_fwd_pixter<I, W>::n)
      	(mln::static_dpoints_bkd_pixter<I, W>::n):
      	New attributes.
      	* apps/bench/static_window.hh
      	(mln::static_window<D, n>::Size): Rename as...
      	(mln::static_window<D, n>::length): ...this.
      	* apps/bench/Makefile.am (noinst_HEADERS): Add trait.hh.
      	(MOSTLYCLEANFILES): Update.
      1f64874f
    • Roland Levillain's avatar
      apps/bench: Run more test cases, make comparisons more robust, factor. · f588e466
      Roland Levillain authored
      	* apps/bench/dilation-lena.cc
      	(DILATION_WITH_BUILTIN_WINDOW, DILATION): New macros.
      	Use them to factor repetitive code...
      	(run): ...here (new function).
      	Call it from...
      	(main): ...here, and adjust.
      	* apps/bench/lena2048.pgm: New.
      	* apps/bench/Makefile.am (EXTRA_DIST): Add lena2048.pgm.
      	(MOSTLYCLEANFILES): Update.
      f588e466
    • Roland Levillain's avatar
      apps/bench: More comparisons on dilation (static win + single pixter). · 1e7c979f
      Roland Levillain authored
      	* apps/bench/dilation-lena.cc (faster_static::dilation):
      	New function.
      	Exercise it...
      	(main): ...here.
      	* apps/bench/Makefile.am (MOSTLYCLEANFILES): Update.
      1e7c979f
    • Roland Levillain's avatar
      apps/bench: More comparisons on dilation (variants without accu). · ccb4093b
      Roland Levillain authored
      	* apps/bench/dilation-lena.cc
      	(fast_noaccu::dilation, faster_noaccu::dilation): New functions.
      	Exercise them...
      	(main): ...here.
      	* apps/bench/Makefile.am (MOSTLYCLEANFILES): Update.
      ccb4093b
    • Roland Levillain's avatar
      apps/bench: More comparisons on dilation (static windows and qixters). · 1681fb5f
      Roland Levillain authored
      	* apps/bench/static_array.hh,
      	* apps/bench/static_dpoints_pixter.hh,
      	* apps/bench/static_window.hh:
      	New.
      	* apps/bench/dilation-lena.cc (fast_static::dilation):
      	New function.
      	Exercise it...
      	(main): ...here.
      	* apps/bench/Makefile.am (noinst_HEADERS): Add static_array.hh,
      	static_dpoints_pixter.hh and static_window.hh.
      	(MOSTLYCLEANFILES): Update.
      1681fb5f
    • Roland Levillain's avatar
      apps/bench: Comparison on dilation. · ad8c64bf
      Roland Levillain authored
      	* apps/bench/dilation-lena.cc: New.
      	* apps/bench/lena1024.pgm: New.
      	* apps/bench/Makefile.am (EXTRA_DIST): Add lena1024.pgm.
      	(noinst_PROGRAMS): Add dilation-lena.
      	(MOSTLYCLEANFILES): Update.
      ad8c64bf
    • Roland Levillain's avatar
      apps/bench: More (specialized) test/bench gradient on lena.pgm. · d9fc1df7
      Roland Levillain authored
      	* apps/bench/gradient-spe-lena.cc,
      	* apps/bench/and_not.hh,
      	* apps/bench/minus.hh:
      	New.
      	* apps/bench/Makefile.am (noinst_PROGRAMS): Add gradient-spe-lena.
      	(noinst_HEADERS): Add and_not.hh and minus.h.
      	(MOSTLYCLEANFILES): Update.
      d9fc1df7
    • Roland Levillain's avatar
      apps/Makefile.am (SUBDIRS): Add bench. · c8848046
      Roland Levillain authored
      c8848046
    • Roland Levillain's avatar
      Start a micro benchmark about generic vs non-generic code. · 3a881634
      Roland Levillain authored
      	* apps/bench/gradient-lena.cc,
      	* apps/bench/Makefile.am:
      	New.
      3a881634
    • Roland Levillain's avatar
      Fix paths in ChangeLogs. · bb4a0447
      Roland Levillain authored
      bb4a0447
  4. 25 Oct, 2013 1 commit
  5. 22 Oct, 2013 1 commit
  6. 09 Oct, 2013 11 commits
  7. 08 Oct, 2013 1 commit
  8. 13 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Milena: Factor Makefiles a bit more using file inclusion. · 83c98751
      Roland Levillain authored
      	* tests/tests.mk (AM_CPPFLAGS): Move general flags...
      	* common.mk (AM_CPPFLAGS): ...here.
      	Include it...
      	* doc/Makefile.am: ...here, to factor common parts.
      	* milena/apps/apps.mk: New file.
      	Include it...
      	* apps/constrained-connectivity/Makefile.am,
      	* apps/generic-skel/Makefile.am,
      	* apps/graph-morpho/Makefile.am,
      	* apps/morphers/Makefile.am,
      	* apps/papers/levillain.09.ismm/Makefile.am:
      	...here, to factor common parts.
      	* apps/mesh-segm-skel/Makefile.am: Likewise.
      	(noinst_HEADERS): Add save_bin_alt.hh.
      	(mesh_complex_skel_SOURCES)
      	(mesh_complex_max_curv_skel_SOURCES)
      	(mesh_complex_pinv_curv_skel_SOURCES):
      	Remove.
      	* tools/tools.mk: Remove this file and move its contents...
      	* tools/Makefile.am: ...here.
      83c98751
  9. 12 Sep, 2013 1 commit
  10. 11 Sep, 2013 1 commit
  11. 10 Sep, 2013 1 commit
    • Roland Levillain's avatar
      Milena: Remove lines `VARIABLE = @VARIABLE@' from Makefile.am's. · 9e354c74
      Roland Levillain authored
      	* apps/constrained-connectivity/Makefile.am,
      	* apps/generic-skel/Makefile.am,
      	* apps/graph-morpho/Makefile.am,
      	* apps/mesh-segm-skel/Makefile.am,
      	* apps/morphers/Makefile.am,
      	* apps/papers/levillain.09.ismm/Makefile.am,
      	* tests/tests.mk,
      	* tools/tools.mk:
      	Here, as Automake 1.11+ already takes care of this.
      9e354c74