AEStat: Statistic for AE.
More...
#include <AbstractInterpretation.h>
AEStat: Statistic for AE.
Definition at line 50 of file AbstractInterpretation.h.
◆ AEStat()
Definition at line 54 of file AbstractInterpretation.h.
55 {
57 }
AbstractInterpretation * _ae
static double getClk(bool mark=false)
llvm::IRBuilder IRBuilder
◆ ~AEStat()
◆ countStateSize()
| void AEStat::countStateSize |
( |
| ) |
|
◆ finializeStat()
| void AEStat::finializeStat |
( |
| ) |
|
Definition at line 1221 of file AbstractInterpretation.cpp.
1222{
1225 {
1230 }
1236 for (
const auto &
it: *
_ae->svfir->getICFG())
1237 {
1238 if (
it.second->getFun())
1239 {
1240 funs.insert(
it.second->getFun());
1241 }
1243 {
1245 {
1247 }
1248 else
1249 {
1251 }
1252 }
1253 }
1258
1259}
std::string getMemUsage()
SVFIR * svfir
protected data members, also used in subclasses
u32_t nodeNum
total num of edge
bool isExtCall(const FunObjVar *fun)
◆ getBlockTrace()
| u32_t & SVF::AEStat::getBlockTrace |
( |
| ) |
|
|
inline |
◆ getFunctionTrace()
| u32_t & SVF::AEStat::getFunctionTrace |
( |
| ) |
|
|
inline |
◆ getICFGNodeTrace()
| u32_t & SVF::AEStat::getICFGNodeTrace |
( |
| ) |
|
|
inline |
◆ getMemUsage()
| std::string SVF::AEStat::getMemUsage |
( |
| ) |
|
|
inline |
Definition at line 61 of file AbstractInterpretation.h.
62 {
65 }
bool getMemoryUsageKB(u32_t *vmrss_kb, u32_t *vmsize_kb)
Get memory usage from system file. Return TRUE if succeed.
◆ performStat()
| void AEStat::performStat |
( |
| ) |
|
|
overridevirtual |
Implements SVF::SVFStat.
Definition at line 1261 of file AbstractInterpretation.cpp.
1262{
1266 if (
fullName.find(
'/') == std::string::npos)
1267 {
1270 }
1271 else
1272 {
1275 }
1276
1282 {
1283
1284 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
1285 }
1286 SVFUtil::outs() <<
"-------------------------------------------------------\n";
1288 {
1289
1291 }
1293
1294 SVFUtil::outs() <<
"#######################################################" << std::endl;
1296}
std::ostream & outs()
Overwrite llvm::outs()
◆ _ae
◆ count
| s32_t SVF::AEStat::count {0} |
◆ memory_usage
| std::string SVF::AEStat::memory_usage |
◆ memUsage
| std::string SVF::AEStat::memUsage |
The documentation for this class was generated from the following files: