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 989 of file AbstractInterpretation.cpp.
990{
993 {
998 }
1004 for (
const auto &
it: *
_ae->svfir->getICFG())
1005 {
1006 if (
it.second->getFun())
1007 {
1008 funs.insert(
it.second->getFun());
1009 }
1011 {
1013 {
1015 }
1016 else
1017 {
1019 }
1020 }
1021 }
1026
1027}
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 1029 of file AbstractInterpretation.cpp.
1030{
1034 if (
fullName.find(
'/') == std::string::npos)
1035 {
1038 }
1039 else
1040 {
1043 }
1044
1050 {
1051
1052 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
1053 }
1054 SVFUtil::outs() <<
"-------------------------------------------------------\n";
1056 {
1057
1059 }
1061
1062 SVFUtil::outs() <<
"#######################################################" << std::endl;
1064}
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: