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 1002 of file AbstractInterpretation.cpp.
1003{
1006 {
1011 }
1017 for (
const auto &
it: *
_ae->svfir->getICFG())
1018 {
1019 if (
it.second->getFun())
1020 {
1021 funs.insert(
it.second->getFun());
1022 }
1024 {
1026 {
1028 }
1029 else
1030 {
1032 }
1033 }
1034 }
1039
1040}
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 1042 of file AbstractInterpretation.cpp.
1043{
1047 if (
fullName.find(
'/') == std::string::npos)
1048 {
1051 }
1052 else
1053 {
1056 }
1057
1063 {
1064
1065 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
1066 }
1067 SVFUtil::outs() <<
"-------------------------------------------------------\n";
1069 {
1070
1072 }
1074
1075 SVFUtil::outs() <<
"#######################################################" << std::endl;
1077}
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: