GatherResourceUsageConfig#
- class lsst.analysis.tools.tasks.GatherResourceUsageConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration definitions for
GatherResourceUsageTask.Attributes Summary
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
The quantum dimensions for the input metadata connection, and the columns (after expansion to include implied dimensions) used to identify rows in the output table.
Whether to extract the CPU time duration for actually constructing the task.
Label for the top-level task whose metadata is being processed within its own metadata file, if this differs from the prefix of connections.input_metadata.
Whether to extract peak memory usage (maximum resident set size) for this task.
Names of @lsst.utils.timer.timeMethod-decorated methods for which CPU time durations should also be extracted.
Whether to extract the CPU time duration for the work the middleware does prior to initializing the task (mostly checking for input dataset existence).
Whether to extract the CPU time duration for actually executing the task.
Flag to enable/disable saving of log output for a task, enabled by default.
Whether to extract the wall_time duration for actually executing the task.
Attributes Documentation
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- dimensions#
The quantum dimensions for the input metadata connection, and the columns (after expansion to include implied dimensions) used to identify rows in the output table. (
List)
- init_time#
Whether to extract the CPU time duration for actually constructing the task. (
bool, defaultTrue)
- input_task_label#
Label for the top-level task whose metadata is being processed within its own metadata file, if this differs from the prefix of connections.input_metadata. (
str, defaultNone)
- memory#
Whether to extract peak memory usage (maximum resident set size) for this task. Note that memory usage cannot be further subdivided because only a per-process peak is available (and hence if multiple quanta are run in one quantum, even per-quantum values may be misleading). (
bool, defaultTrue)
- method_times#
Names of @lsst.utils.timer.timeMethod-decorated methods for which CPU time durations should also be extracted. Use ‘.’ separators to refer to subtask methods at arbitrary depth. (
List, default[])
- prep_time#
Whether to extract the CPU time duration for the work the middleware does prior to initializing the task (mostly checking for input dataset existence). (
bool, defaultFalse)
- run_time#
Whether to extract the CPU time duration for actually executing the task. (
bool, defaultTrue)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- wall_time#
Whether to extract the wall_time duration for actually executing the task. (
bool, defaultTrue)