AEStat: Statistic for AE.
More...
#include <AbstractInterpretation.h>
AEStat: Statistic for AE.
Definition at line 49 of file AbstractInterpretation.h.
◆ AEStat()
Definition at line 53 of file AbstractInterpretation.h.
54 {
56 }
AbstractInterpretation * _ae
static double getClk(bool mark=false)
llvm::IRBuilder IRBuilder
◆ ~AEStat()
◆ countStateSize()
void AEStat::countStateSize |
( |
| ) |
|
◆ finializeStat()
void AEStat::finializeStat |
( |
| ) |
|
Definition at line 1007 of file AbstractInterpretation.cpp.
1008{
1011 {
1016 }
1022 for (
const auto &
it: *
_ae->svfir->getICFG())
1023 {
1024 if (
it.second->getFun())
1025 {
1026 funs.insert(
it.second->getFun());
1027 }
1029 {
1031 {
1033 }
1034 else
1035 {
1037 }
1038 }
1039 }
1044
1045}
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 60 of file AbstractInterpretation.h.
61 {
64 }
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 1047 of file AbstractInterpretation.cpp.
1048{
1052 if (
fullName.find(
'/') == std::string::npos)
1053 {
1056 }
1057 else
1058 {
1061 }
1062
1068 {
1069
1070 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
1071 }
1072 SVFUtil::outs() <<
"-------------------------------------------------------\n";
1074 {
1075
1077 }
1079
1080 SVFUtil::outs() <<
"#######################################################" << std::endl;
1082}
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: