souffle
2.0.2-371-g6315b36
|
#include <Tui.h>
Data Structures | |
struct | Usage |
Public Member Functions | |
std::stringstream & | genJsonRelations (std::stringstream &ss, const std::string &name, size_t maxRows) |
std::stringstream & | genJsonTop (std::stringstream &ss) |
void | runCommand (std::vector< std::string > c) |
void | runProf () |
Tui () | |
Tui (std::string filename, bool live, bool) | |
~Tui () | |
Private Attributes | |
bool | alive = false |
std::string | f_name |
InputReader | linereader |
bool | loaded |
OutputProcessor | out |
int | precision = 3 |
std::shared_ptr< Reader > | reader |
Table | relationTable |
size_t | resultLimit = 20000 |
Limit results shown. Default value chosen to approximate unlimited. More... | |
Table | ruleTable |
int | sortColumn = 0 |
std::thread | updater |
|
inline |
Definition at line 83 of file Tui.h.
References souffle::profile::OutputProcessor::getProgramRun(), out, reader, resultLimit, and updateDB().
|
inline |
Definition at line 99 of file Tui.h.
References souffle::profile::OutputProcessor::getProgramRun(), souffle::profile::InputReader::hasReceivedInput(), linereader, souffle::now(), out, reader, runCommand(), updateDB(), and updater.
|
inline |
|
inline |
Definition at line 269 of file Tui.h.
References souffle::profile::Tools::cleanJsonOut(), souffle::profile::OutputProcessor::getProgramRun(), souffle::profile::Table::getRows(), i, out, relationTable, ruleTable, souffle::profile::ss, and souffle::toString().
Referenced by genJson().
|
inline |
Definition at line 258 of file Tui.h.
References souffle::test::count(), souffle::profile::OutputProcessor::getProgramRun(), out, and souffle::profile::ss.
Referenced by genJson().
|
inline |
Definition at line 125 of file Tui.h.
References alive, configuration(), souffle::profile::OutputProcessor::getRelTable(), souffle::profile::OutputProcessor::getRulTable(), souffle::profile::InputReader::hasReceivedInput(), help(), id(), iterRel(), iterRul(), linereader, loaded, memoryUsage(), out, tinyformat::printf(), rel(), relationTable, relRul(), resultLimit, rul(), ruleTable, setResultLimit(), setupTabCompletion(), top(), updateDB(), usage(), usageRelation(), usageRule(), verGraph(), and verRul().
Referenced by souffle::profile::Cli::parse(), runProf(), and Tui().
|
inline |
Definition at line 216 of file Tui.h.
References souffle::profile::InputReader::addHistory(), f_name, souffle::profile::InputReader::getInput(), linereader, loaded, quit(), runCommand(), souffle::profile::InputReader::setPrompt(), setupTabCompletion(), sortColumn, souffle::profile::Tools::split(), top(), and souffle::profile::Tools::trimWhitespace().
Referenced by souffle::profile::Cli::parse().
|
private |
Definition at line 61 of file Tui.h.
Referenced by runCommand(), and top().
|
private |
|
private |
Definition at line 68 of file Tui.h.
Referenced by runCommand(), runProf(), setupTabCompletion(), and Tui().
|
private |
Definition at line 59 of file Tui.h.
Referenced by runCommand(), and runProf().
|
private |
Definition at line 58 of file Tui.h.
Referenced by genJsonAtoms(), genJsonRelations(), souffle::genJsonRules(), genJsonTop(), souffle::genJsonUsage(), iterRel(), iterRul(), relRul(), runCommand(), top(), Tui(), updateDB(), usageRelation(), usageRule(), verAtoms(), verGraph(), and verRul().
|
private |
Definition at line 64 of file Tui.h.
Referenced by graphBySize(), id(), iterRul(), rel(), relRul(), rul(), setupTabCompletion(), top(), usageRelation(), usageRule(), verAtoms(), and verRul().
|
private |
Definition at line 67 of file Tui.h.
Referenced by Tui(), and updateDB().
|
private |
Definition at line 65 of file Tui.h.
Referenced by genJson(), genJsonRelations(), souffle::genJsonUsage(), iterRel(), rel(), relRul(), runCommand(), setupTabCompletion(), top(), updateDB(), and usageRelation().
|
private |
Limit results shown. Default value chosen to approximate unlimited.
Definition at line 70 of file Tui.h.
Referenced by rel(), rul(), runCommand(), setResultLimit(), and Tui().
|
private |
Definition at line 66 of file Tui.h.
Referenced by genJson(), genJsonRelations(), souffle::genJsonRules(), id(), iterRul(), relRul(), rul(), runCommand(), top(), updateDB(), usageRule(), and verRul().
|
private |
|
private |