|
LSSTApplications
8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
|
Pipeline class manages the operation of a multi-stage parallel pipeline. More...
#include <LogUtils.h>
Public Member Functions | |
| LogUtils () | |
| ~LogUtils () | |
| void | initializeLogger (bool isLocalLogMode, const std::string &name, const std::string &runId, const std::string &logdir, const std::string &workerid, int resourceUsageFlags=0) |
| void | initializeSliceLogger (bool isLocalLogMode, const std::string &name, const std::string &runId, const std::string &logdir, const int rank, const std::string &workerid, int resourceUsageFlags=0) |
| lsst::pex::logging::BlockTimingLog & | getLogger () |
| void | setEventBrokerHost (const std::string &host) |
| const std::string & | getEventBrokerHost () |
Public Attributes | |
| lsst::pex::logging::BlockTimingLog | pipelineLog |
| std::string | _evbHost |
| std::ofstream * | outlog |
Pipeline class manages the operation of a multi-stage parallel pipeline.
Pipeline spawns Slice workers and coordinates serial and parallel processing between the main thread and the workers by means of MPI communciations. Pipeline loops over the collection of Stages for processing on Image. The Pipeline is configured by reading a Policy file.
Definition at line 59 of file LogUtils.h.
| lsst::pex::harness::LogUtils::LogUtils | ( | ) |
Constructor.
Definition at line 56 of file LogUtils.cc.
| lsst::pex::harness::LogUtils::~LogUtils | ( | void | ) |
|
inline |
Definition at line 90 of file LogUtils.h.
|
inline |
Definition at line 83 of file LogUtils.h.
| void lsst::pex::harness::LogUtils::initializeLogger | ( | bool | isLocalLogMode, |
| const std::string & | name, | ||
| const std::string & | runId, | ||
| const std::string & | logdir, | ||
| const std::string & | workerid, | ||
| int | resourceUsageFlags = 0 |
||
| ) |
Initialize the logger "pipelineLog" to be used globally in the Pipeline class. Add an ofstream Destination to the default logger if the localLogMode is True local file is on
| isLocalLogMode | A flag for writing logs to local files |
Definition at line 70 of file LogUtils.cc.
| void lsst::pex::harness::LogUtils::initializeSliceLogger | ( | bool | isLocalLogMode, |
| const std::string & | name, | ||
| const std::string & | runId, | ||
| const std::string & | logdir, | ||
| const int | rank, | ||
| const std::string & | workerid, | ||
| int | resourceUsageFlags = 0 |
||
| ) |
Initialize the logger "sliceLog" to be used globally in the Slice class. Add an ofstreamDestination to the default logger if the localLogMode is True
| isLocalLogMode | A flag for writing logs to local files |
Definition at line 117 of file LogUtils.cc.
|
inline |
Definition at line 87 of file LogUtils.h.
| std::string lsst::pex::harness::LogUtils::_evbHost |
Definition at line 93 of file LogUtils.h.
| std::ofstream* lsst::pex::harness::LogUtils::outlog |
Definition at line 94 of file LogUtils.h.
| lsst::pex::logging::BlockTimingLog lsst::pex::harness::LogUtils::pipelineLog |
Definition at line 92 of file LogUtils.h.
1.8.5