35 if (what ==
"fatal-init") {
36 LOG(fatal) <<
"This should have a fatal";
37 }
else if (what ==
"runtime-init") {
38 throw std::runtime_error(
"This is a std::runtime_error");
39 }
else if (what ==
"abort-init") {
41 }
else if (what ==
"framework-init") {
43 }
else if (what ==
"framework-prerun") {
47 }
else if (what ==
"runtime-prerun") {
49 throw std::runtime_error(
"This is std::runtime_error in PreProcessing");
57 if (what ==
"fatal-run") {
58 LOG(fatal) <<
"This should have a fatal";
59 }
else if (what ==
"runtime-run") {
60 throw std::runtime_error(
"This is a std::runtime_error");
61 }
else if (what ==
"abort-run") {
63 }
else if (what ==
"framework-run") {
76 auto crashType = config.
options().
get<std::string>(
"crash-type");
78 .
name =
"deliberately-crashing",
83 .inputs = {
InputSpec{
"x",
"TST",
"A1", Lifetime::Timeframe}},
#define O2_SIGNPOST_EVENT_EMIT_ERROR(log, id, name, format,...)
#define O2_DECLARE_DYNAMIC_LOG(name)
#define O2_SIGNPOST_ID_FROM_POINTER(name, log, pointer)
#define O2_SIGNPOST_END(log, id, name, format,...)
#define O2_SIGNPOST_EVENT_EMIT(log, id, name, format,...)
#define O2_SIGNPOST_START(log, id, name, format,...)
ConfigParamRegistry & options() const
T get(const char *key) const
ServiceRegistryRef services()
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
WorkflowSpec concat(T &&t, ARGS &&... args)
Defining PrimaryVertex explicitly as messageable.
RuntimeErrorRef runtime_error(const char *)
std::vector< DataProcessorSpec > WorkflowSpec
AlgorithmSpec::ProcessCallback adaptStateless(LAMBDA l)
AlgorithmSpec::InitCallback adaptStateful(LAMBDA l)
Configurable< std::string > crashType
AlgorithmSpec simpleCrashingSource(std::string const &what)
WorkflowSpec defineDataProcessing(ConfigContext const &config)
This function hooks up the the workflow specifications into the DPL driver.
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"