#include <Relation.h>
Definition at line 29 of file Relation.h.
 
◆ Relation()
  
  | 
        
          | souffle::profile::Relation::Relation | ( | std::string | name, |  
          |  |  | std::string | id |  
          |  | ) |  |  |  | inline | 
 
 
◆ addIteration()
  
  | 
        
          | void souffle::profile::Relation::addIteration | ( | std::shared_ptr< Iteration > | iteration | ) |  |  | inline | 
 
 
◆ addReads()
  
  | 
        
          | void souffle::profile::Relation::addReads | ( | size_t | tuplesRead | ) |  |  | inline | 
 
 
◆ addRule()
  
  | 
        
          | void souffle::profile::Relation::addRule | ( | std::shared_ptr< Rule > | rule | ) |  |  | inline | 
 
 
◆ createID()
  
  | 
        
          | std::string souffle::profile::Relation::createID | ( |  | ) |  |  | inline | 
 
Definition at line 57 of file Relation.h.
   58         return "N" + 
id.substr(1) + 
"." + std::to_string(++
ruleId);
 
 
References ruleId.
 
 
◆ createRecID()
  
  | 
        
          | std::string souffle::profile::Relation::createRecID | ( | std::string | name | ) |  |  | inline | 
 
 
◆ getCopyTime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getCopyTime | ( |  | ) | const |  | inline | 
 
Definition at line 100 of file Relation.h.
  101         std::chrono::microseconds result{};
 
  103             result += iter->getCopytime();
 
 
References iterations.
 
 
◆ getEndtime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getEndtime | ( |  | ) | const |  | inline | 
 
 
◆ getId()
  
  | 
        
          | const std::string& souffle::profile::Relation::getId | ( |  | ) | const |  | inline | 
 
 
◆ getIterations()
  
  | 
        
          | const std::vector<std::shared_ptr<Iteration> >& souffle::profile::Relation::getIterations | ( |  | ) | const |  | inline | 
 
 
◆ getLoadtime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getLoadtime | ( |  | ) | const |  | inline | 
 
 
◆ getLocator()
  
  | 
        
          | const std::string& souffle::profile::Relation::getLocator | ( |  | ) | const |  | inline | 
 
 
◆ getMaxRSSDiff()
  
  | 
        
          | size_t souffle::profile::Relation::getMaxRSSDiff | ( |  | ) | const |  | inline | 
 
 
◆ getName()
  
  | 
        
          | std::string souffle::profile::Relation::getName | ( |  | ) | const |  | inline | 
 
 
◆ getNonRecTime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getNonRecTime | ( |  | ) | const |  | inline | 
 
 
◆ getReads()
  
  | 
        
          | size_t souffle::profile::Relation::getReads | ( |  | ) | const |  | inline | 
 
 
◆ getRecTime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getRecTime | ( |  | ) | const |  | inline | 
 
Definition at line 92 of file Relation.h.
   93         std::chrono::microseconds result{};
 
   95             result += iter->getRuntime();
 
 
References iterations.
 
 
◆ getRuleMap()
  
  | 
        
          | const std::unordered_map<std::string, std::shared_ptr<Rule> >& souffle::profile::Relation::getRuleMap | ( |  | ) | const |  | inline | 
 
Return a map of Rules, indexed by srcLocator. 
- Returns
- the ruleMap 
Definition at line 192 of file Relation.h.
References ruleMap.
 
 
◆ getRuleRecList()
  
  | 
        
          | std::vector<std::shared_ptr<Rule> > souffle::profile::Relation::getRuleRecList | ( |  | ) | const |  | inline | 
 
Definition at line 200 of file Relation.h.
  201         std::vector<std::shared_ptr<Rule>> temp = std::vector<std::shared_ptr<Rule>>();
 
  203             for (
auto& 
rul : iter->getRules()) {
 
  204                 temp.push_back(
rul.second);
 
 
References iterations, and rul().
 
 
◆ getSavetime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getSavetime | ( |  | ) | const |  | inline | 
 
 
◆ getStarttime()
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::getStarttime | ( |  | ) | const |  | inline | 
 
 
◆ getTotalRecursiveRuleSize()
  
  | 
        
          | size_t souffle::profile::Relation::getTotalRecursiveRuleSize | ( |  | ) | const |  | inline | 
 
 
◆ isReady()
  
  | 
        
          | bool souffle::profile::Relation::isReady | ( |  | ) |  |  | inline | 
 
 
◆ setEndtime()
  
  | 
        
          | void souffle::profile::Relation::setEndtime | ( | std::chrono::microseconds | time | ) |  |  | inline | 
 
 
◆ setLoadtime()
  
  | 
        
          | void souffle::profile::Relation::setLoadtime | ( | std::chrono::microseconds | loadtime | ) |  |  | inline | 
 
 
◆ setLocator()
  
  | 
        
          | void souffle::profile::Relation::setLocator | ( | std::string | locator | ) |  |  | inline | 
 
 
◆ setNumTuples()
  
  | 
        
          | void souffle::profile::Relation::setNumTuples | ( | long | numTuples | ) |  |  | inline | 
 
 
◆ setPostMaxRSS()
  
  | 
        
          | void souffle::profile::Relation::setPostMaxRSS | ( | size_t | maxRSS | ) |  |  | inline | 
 
 
◆ setPreMaxRSS()
  
  | 
        
          | void souffle::profile::Relation::setPreMaxRSS | ( | size_t | maxRSS | ) |  |  | inline | 
 
 
◆ setReady()
  
  | 
        
          | void souffle::profile::Relation::setReady | ( | bool | ready | ) |  |  | inline | 
 
 
◆ setSavetime()
  
  | 
        
          | void souffle::profile::Relation::setSavetime | ( | std::chrono::microseconds | savetime | ) |  |  | inline | 
 
 
◆ setStarttime()
  
  | 
        
          | void souffle::profile::Relation::setStarttime | ( | std::chrono::microseconds | time | ) |  |  | inline | 
 
 
◆ size()
  
  | 
        
          | size_t souffle::profile::Relation::size | ( |  | ) | const |  | inline | 
 
 
◆ toString()
  
  | 
        
          | std::string souffle::profile::Relation::toString | ( |  | ) | const |  | inline | 
 
 
◆ endtime
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::endtime {} |  | private | 
 
 
◆ id
  
  | 
        
          | const std::string souffle::profile::Relation::id |  | private | 
 
 
◆ iterations
  
  | 
        
          | std::vector<std::shared_ptr<Iteration> > souffle::profile::Relation::iterations |  | private | 
 
 
◆ loadtime
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::loadtime {} |  | private | 
 
 
◆ locator
  
  | 
        
          | std::string souffle::profile::Relation::locator |  | private | 
 
 
◆ name
  
  | 
        
          | const std::string souffle::profile::Relation::name |  | private | 
 
 
◆ nonRecTuples
  
  | 
        
          | long souffle::profile::Relation::nonRecTuples = 0 |  | private | 
 
 
◆ postMaxRSS
  
  | 
        
          | size_t souffle::profile::Relation::postMaxRSS = 0 |  | private | 
 
 
◆ preMaxRSS
  
  | 
        
          | size_t souffle::profile::Relation::preMaxRSS = 0 |  | private | 
 
 
◆ ready
  
  | 
        
          | bool souffle::profile::Relation::ready = true |  | private | 
 
 
◆ recursiveId
  
  | 
        
          | int souffle::profile::Relation::recursiveId = 0 |  | private | 
 
 
◆ ruleId
  
  | 
        
          | int souffle::profile::Relation::ruleId = 0 |  | private | 
 
 
◆ ruleMap
  
  | 
        
          | std::unordered_map<std::string, std::shared_ptr<Rule> > souffle::profile::Relation::ruleMap |  | private | 
 
 
◆ savetime
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::savetime {} |  | private | 
 
 
◆ starttime
  
  | 
        
          | std::chrono::microseconds souffle::profile::Relation::starttime {} |  | private | 
 
 
◆ tuplesRead
  
  | 
        
          | size_t souffle::profile::Relation::tuplesRead = 0 |  | private | 
 
 
The documentation for this class was generated from the following file: