modules/pom.xml: add an (out-commented) additional module

Now that ImageJ2 depends on scijava-common, we might want to build
that as part of the Fiji build, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Update the Bug Submitter to use the ImageJ2 updater directly

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fiji_Updater: fix javadocs

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fiji_Updater: deprecate obsolete method

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge branch 'master' of github.com:fiji/fiji
Allow Build.sh to be run from out-of-tree

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Delete obsolete precompiled file

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: add a (compile-time) facility to skip classes

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceCompiler: add a (compile-time) facility to speed up timing

... at the expense of thread-specific timing, as the nanos are now
wall-clock nanoseconds.

In this developer's hands, the difference was dramatic: the code ran at
almost the same speed as without profiling (modulo the time spent modifying
the class definitions), while it ran 10x slower with the accurate timing.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: make sure that the classes can be found

We construct a new class loader that needs the current class loader to find
the class definitions. Help it a little with that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: let report(null) reset the counters without reporting

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: sort the output of report(stream) by total time

But we support sorting by name, count and average time, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: avoid concurrent modification

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: delegate report(PrintStream, int)

Instead of report(PrintStream), so that we can get call the former
method within the profiled code, for more fine-grained profiling.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: use the Loader directly

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: add a couple of assertions

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: allow reporting to a file directly

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: report who asked for the report

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: use varargs in the main() method

... for more convenient calling

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
PerformanceProfiler: refactor the main() method

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>