From e6aaa1900360231c6e40a0b627175264fad9595f Mon Sep 17 00:00:00 2001 From: Pariksheet Nanda Date: Mon, 27 Mar 2017 07:32:22 -0400 Subject: [PATCH] ENH: Record time for each cellprofiler invocation --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b32d6dc..9273431 100644 --- a/Makefile +++ b/Makefile @@ -101,10 +101,10 @@ $(call singleton,$(TARGETS_cellprofiler)) : $(SOURCES_cellprofiler_headless) $(TIME) $(PARALLEL) :::: $< $(TARGETS_cellprofiler_commands) : $(SOURCES_cellprofiler_commands) - $(CELLPROFILER) $(CELLPROFILER_OPTS_HEADLESS) --get-batch-commands=$< | sed 's#^CellProfiler#$(CELLPROFILER)#' | sort -nk 8 > $@ + $(TIME) $(CELLPROFILER) $(CELLPROFILER_OPTS_HEADLESS) --get-batch-commands=$< | sed 's#^CellProfiler#$(CELLPROFILER)#' | sort -nk 8 > $@ $(TARGETS_cellprofiler_batch) : $(SOURCES_cellprofiler) - $(CELLPROFILER) $(CELLPROFILER_OPTS_BATCH) + $(TIME) $(CELLPROFILER) $(CELLPROFILER_OPTS_BATCH) .PHONY : gui-cp gui-cp : $(SOURCES_cellprofiler) ## Interactively run CellProfiler.