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

Program Resource Utilisation Event Processor. More...

#include <EventProcessor.h>

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

Public Member Functions

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

Detailed Description

Program Resource Utilisation Event Processor.

Definition at line 477 of file EventProcessor.h.

Constructor & Destructor Documentation

◆ ProgramResourceUtilisationProcessor()

souffle::profile::ProgramResourceUtilisationProcessor::ProgramResourceUtilisationProcessor ( )
inline

Definition at line 479 of file EventProcessor.h.

485  : public EventProcessor {

Referenced by souffle::profile::ProgramRuntimeProcessor::ProgramRuntimeProcessor().

Member Function Documentation

◆ process()

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

process event input

Reimplemented from souffle::profile::EventProcessor.

Definition at line 483 of file EventProcessor.h.

485  : public EventProcessor {
486 public:
487  FrequencyAtomProcessor() {
489  }
490  /** process event input */
491  void process(ProfileDatabase& db, const std::vector<std::string>& signature, va_list& args) override {
492  const std::string& relation = signature[1];
493  const std::string& version = signature[2];

References souffle::profile::FrequencyAtomProcessor::FrequencyAtomProcessor(), souffle::profile::EventProcessorSingleton::instance(), souffle::profile::FrequencyAtomProcessor::process(), 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::ProgramResourceUtilisationProcessor::process
void process(ProfileDatabase &db, const std::vector< std::string > &, va_list &args) override
process event input
Definition: EventProcessor.h:483
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