souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
35 profile::Reader(filename,
programRun).processFile();
55 if (
const auto* profRel =
programRun->getRelation(
rel.toString())) {
56 return profRel->size();
58 return std::numeric_limits<size_t>::max();
size_t getRelationSize(const QualifiedName &rel) const
Return size of relation in the profile.
std::shared_ptr< profile::ProgramRun > programRun
performance model of profile run
bool hasRelationSize(const QualifiedName &rel) const
Check whether the relation size exists in profile.
static MainConfig & config()
void print(std::ostream &os) const override
Output some profile information.
void run(const TranslationUnit &translationUnit) override
Run analysis.
Qualified Name class defines fully/partially qualified names to identify objects in components.
void rel(size_t limit, bool showLimit=true)