souffle
2.0.2-371-g6315b36
|
Go to the documentation of this file.
29 class TranslationUnit;
36 class ProfileUseAnalysis :
public Analysis {
39 static constexpr
const char*
name =
"profile-use";
48 void print(std::ostream& os)
const override;
58 std::shared_ptr<profile::ProgramRun>
programRun;
Analysis(std::string identifier)
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.
Translation unit class for the translation pipeline.
void print(std::ostream &os) const override
Output some profile information.
static constexpr const char * name
Name of analysis.
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)