taskExecutionTimes

Return to directory of Todd's CASA extensions

Computes the time taken to execute a task (all appearances) in a casa log file.

Usage:

au.taskExecutionTimes(task, log='', filterSeconds=0)
Inputs:
  • task: name of task; minimum match is supported (i.e. 'im' will search for imhead/imstat/immoments, etc.)
  • log: name of casa log file (default is current log)
  • filterSeconds: only show results if time is larger than this value

Example:

CASA <5>: au.taskExecutionTimes('imhead')
0 seconds:  	imhead(imagename="n2d+.image",mode="list",hdkey="",hdvalue="",verbose=False)
0 seconds:  	imhead(imagename="n2d+.image",mode="list",hdkey="",hdvalue="",verbose=False)

Wrote results =  /lustre/naasc/users/thunter/Cycle2/2013.1.00518.S/Imaging/casapy-20160127-185733.log.imhead.timings.log

-- ToddHunter - 2016-01-27
Topic revision: r2 - 2016-02-09, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback