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 1003 of file AbstractInterpretation.cpp.
1004{
1007 {
1012 }
1018 for (
const auto &
it: *
_ae->svfir->getICFG())
1019 {
1020 if (
it.second->getFun())
1021 {
1022 funs.insert(
it.second->getFun());
1023 }
1025 {
1027 {
1029 }
1030 else
1031 {
1033 }
1034 }
1035 }
1040
1041}
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 1043 of file AbstractInterpretation.cpp.
1044{
1048 if (
fullName.find(
'/') == std::string::npos)
1049 {
1052 }
1053 else
1054 {
1057 }
1058
1064 {
1065
1066 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
1067 }
1068 SVFUtil::outs() <<
"-------------------------------------------------------\n";
1070 {
1071
1073 }
1075
1076 SVFUtil::outs() <<
"#######################################################" << std::endl;
1078}
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: