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

Recursive Relation Copy Timing Profile Event Processor. More...

#include <EventProcessor.h>

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

Public Member Functions

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

Detailed Description

Recursive Relation Copy Timing Profile Event Processor.

Definition at line 394 of file EventProcessor.h.

Constructor & Destructor Documentation

◆ RecursiveRelationCopyTimingProcessor()

souffle::profile::RecursiveRelationCopyTimingProcessor::RecursiveRelationCopyTimingProcessor ( )
inline

Definition at line 396 of file EventProcessor.h.

396  {"program", "relation", relation, "iteration", iteration, "maxRSS", "pre"}, startMaxRSS);
397  db.addSizeEntry(
398  {"program", "relation", relation, "iteration", iteration, "maxRSS", "post"}, endMaxRSS);

References iteration, and relation.

Member Function Documentation

◆ process()

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

process event input

Reimplemented from souffle::profile::EventProcessor.

Definition at line 400 of file EventProcessor.h.

401  {"program", "relation", relation, "iteration", iteration, "copytime"}, start, end);
402  }
404 
405 /**
406  * Recursive Relation Copy Timing Profile Event Processor
407  */
408 const class RelationIOTimingProcessor : public EventProcessor {
409 public:
410  RelationIOTimingProcessor() {
411  EventProcessorSingleton::instance().registerEventProcessor("@t-relation-savetime", this);
412  EventProcessorSingleton::instance().registerEventProcessor("@t-relation-loadtime", this);
413  }
414  /** process event input */
415  void process(ProfileDatabase& db, const std::vector<std::string>& signature, va_list& args) override {
416  const std::string& relation = signature[1];

References iteration, and relation.


The documentation for this class was generated from the following file:
relation
Relation & relation
Definition: Reader.h:130
iteration
Iteration & iteration
Definition: Reader.h:129
souffle::profile::recursiveRelationCopyTimingProcessor
souffle::profile::RecursiveRelationCopyTimingProcessor recursiveRelationCopyTimingProcessor
souffle::profile::RecursiveRelationCopyTimingProcessor::process
void process(ProfileDatabase &db, const std::vector< std::string > &signature, va_list &args) override
process event input
Definition: EventProcessor.h:400
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