#include <ProgramRun.h>
Definition at line 31 of file ProgramRun.h.
◆ ProgramRun()
souffle::profile::ProgramRun::ProgramRun |
( |
| ) |
|
|
inline |
◆ formatNum()
std::string souffle::profile::ProgramRun::formatNum |
( |
int |
precision, |
|
|
long |
number |
|
) |
| const |
|
inline |
◆ formatTable()
std::vector<std::vector<std::string> > souffle::profile::ProgramRun::formatTable |
( |
Table & |
table, |
|
|
int |
precision |
|
) |
| const |
|
inline |
◆ formatTime()
std::string souffle::profile::ProgramRun::formatTime |
( |
std::chrono::microseconds |
runtime | ) |
const |
|
inline |
◆ getEndtime()
std::chrono::microseconds souffle::profile::ProgramRun::getEndtime |
( |
| ) |
const |
|
inline |
◆ getRelation()
const Relation* souffle::profile::ProgramRun::getRelation |
( |
const std::string & |
name | ) |
const |
|
inline |
◆ getRelationMap()
const std::unordered_map<std::string, std::shared_ptr<Relation> >& souffle::profile::ProgramRun::getRelationMap |
( |
| ) |
const |
|
inline |
◆ getRelationsAtTime()
std::set<std::shared_ptr<Relation> > souffle::profile::ProgramRun::getRelationsAtTime |
( |
std::chrono::microseconds |
start, |
|
|
std::chrono::microseconds |
end |
|
) |
| const |
|
inline |
Definition at line 135 of file ProgramRun.h.
137 std::set<std::shared_ptr<Relation>> result;
139 if (cur.second->getStarttime() <= end && cur.second->getEndtime() >= start) {
140 result.insert(cur.second);
References relationMap.
◆ getRuntime()
std::string souffle::profile::ProgramRun::getRuntime |
( |
| ) |
const |
|
inline |
◆ getStarttime()
std::chrono::microseconds souffle::profile::ProgramRun::getStarttime |
( |
| ) |
const |
|
inline |
◆ getTotalCopyTime()
std::chrono::microseconds souffle::profile::ProgramRun::getTotalCopyTime |
( |
| ) |
const |
|
inline |
Definition at line 112 of file ProgramRun.h.
113 std::chrono::microseconds result{0};
115 result += item.second->getCopyTime();
References relationMap.
◆ getTotalLoadtime()
std::chrono::microseconds souffle::profile::ProgramRun::getTotalLoadtime |
( |
| ) |
const |
|
inline |
Definition at line 80 of file ProgramRun.h.
81 std::chrono::microseconds result{0};
83 result += item.second->getLoadtime();
References relationMap.
◆ getTotalRecursiveSize()
size_t souffle::profile::ProgramRun::getTotalRecursiveSize |
( |
| ) |
const |
|
inline |
◆ getTotalSavetime()
std::chrono::microseconds souffle::profile::ProgramRun::getTotalSavetime |
( |
| ) |
const |
|
inline |
Definition at line 88 of file ProgramRun.h.
89 std::chrono::microseconds result{0};
91 result += item.second->getSavetime();
References relationMap.
◆ getTotalSize()
size_t souffle::profile::ProgramRun::getTotalSize |
( |
| ) |
const |
|
inline |
◆ getTotalTime()
std::chrono::microseconds souffle::profile::ProgramRun::getTotalTime |
( |
| ) |
const |
|
inline |
Definition at line 120 of file ProgramRun.h.
121 std::chrono::microseconds result{0};
123 result += item.second->getRecTime();
References relationMap.
◆ setEndtime()
void souffle::profile::ProgramRun::setEndtime |
( |
std::chrono::microseconds |
time | ) |
|
|
inline |
◆ setRelationMap()
void souffle::profile::ProgramRun::setRelationMap |
( |
std::unordered_map< std::string, std::shared_ptr< Relation >> & |
relationMap | ) |
|
|
inline |
◆ setStarttime()
void souffle::profile::ProgramRun::setStarttime |
( |
std::chrono::microseconds |
time | ) |
|
|
inline |
◆ toString()
std::string souffle::profile::ProgramRun::toString |
( |
| ) |
|
|
inline |
◆ endTime
std::chrono::microseconds souffle::profile::ProgramRun::endTime {0} |
|
private |
◆ relationMap
std::unordered_map<std::string, std::shared_ptr<Relation> > souffle::profile::ProgramRun::relationMap |
|
private |
Definition at line 33 of file ProgramRun.h.
Referenced by getRelation(), getRelationMap(), getRelationsAtTime(), getTotalCopyTime(), getTotalLoadtime(), getTotalRecursiveSize(), getTotalSavetime(), getTotalSize(), getTotalTime(), setRelationMap(), and toString().
◆ startTime
std::chrono::microseconds souffle::profile::ProgramRun::startTime {0} |
|
private |
The documentation for this class was generated from the following file: