souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::profile::NonRecursiveRuleNumberProcessor Class Reference

Non-Recursive Rule Number Profile Event Processor. More...

#include <EventProcessor.h>

Inheritance diagram for souffle::profile::NonRecursiveRuleNumberProcessor:
Inheritance graph
Collaboration diagram for souffle::profile::NonRecursiveRuleNumberProcessor:
Collaboration graph

Public Member Functions

 NonRecursiveRuleNumberProcessor ()
 
void process (ProfileDatabase &db, const std::vector< std::string > &signature, va_list &args) override
 process event input More...
 
- Public Member Functions inherited from souffle::profile::EventProcessor
virtual ~EventProcessor ()=default
 

Detailed Description

Non-Recursive Rule Number Profile Event Processor.

Definition at line 223 of file EventProcessor.h.

Constructor & Destructor Documentation

◆ NonRecursiveRuleNumberProcessor()

souffle::profile::NonRecursiveRuleNumberProcessor::NonRecursiveRuleNumberProcessor ( )
inline

Definition at line 225 of file EventProcessor.h.

229  : public EventProcessor {

Member Function Documentation

◆ process()

void souffle::profile::NonRecursiveRuleNumberProcessor::process ( ProfileDatabase &  db,
const std::vector< std::string > &  signature,
va_list &  args 
)
inlineoverridevirtual

process event input

Reimplemented from souffle::profile::EventProcessor.

Definition at line 229 of file EventProcessor.h.

229  : public EventProcessor {
230 public:
231  RecursiveRuleTimingProcessor() {
232  EventProcessorSingleton::instance().registerEventProcessor("@t-recursive-rule", this);
233  }
234  void process(ProfileDatabase& db, const std::vector<std::string>& signature, va_list& args) override {
235  const std::string& relation = signature[1];
236  const std::string& version = signature[2];
237  const std::string& srcLocator = signature[3];

References souffle::profile::EventProcessorSingleton::instance(), souffle::profile::RecursiveRuleTimingProcessor::process(), souffle::profile::RecursiveRuleTimingProcessor::RecursiveRuleTimingProcessor(), souffle::profile::EventProcessorSingleton::registerEventProcessor(), relation, and rule.

Here is the call graph for this function:

The documentation for this class was generated from the following file:
relation
Relation & relation
Definition: Reader.h:130
souffle::profile::NonRecursiveRuleNumberProcessor::process
void process(ProfileDatabase &db, const std::vector< std::string > &signature, va_list &args) override
process event input
Definition: EventProcessor.h:229
souffle::profile::EventProcessorSingleton::registerEventProcessor
void registerEventProcessor(const std::string &keyword, EventProcessor *processor)
register an event processor with its keyword
Definition: EventProcessor.h:76
souffle::profile::EventProcessorSingleton::instance
static EventProcessorSingleton & instance()
get instance
Definition: EventProcessor.h:70