AEStat: Statistic for AE.
More...
#include <AbstractInterpretation.h>
AEStat: Statistic for AE.
Definition at line 48 of file AbstractInterpretation.h.
◆ AEStat()
Definition at line 52 of file AbstractInterpretation.h.
53 {
55 }
AbstractInterpretation * _ae
static double getClk(bool mark=false)
llvm::IRBuilder IRBuilder
◆ ~AEStat()
◆ countStateSize()
void AEStat::countStateSize |
( |
| ) |
|
◆ finializeStat()
void AEStat::finializeStat |
( |
| ) |
|
Definition at line 843 of file AbstractInterpretation.cpp.
844{
847 {
852 }
858 for (
const auto &
it: *
_ae->svfir->getICFG())
859 {
860 if (
it.second->getFun())
861 {
862 funs.insert(
it.second->getFun());
863 }
865 {
867 {
869 }
870 else
871 {
873 }
874 }
875 }
880
881}
std::string getMemUsage()
SVFIR * svfir
protected data members, also used in subclasses
u32_t nodeNum
total num of edge
bool isExtCall(const SVFFunction *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 59 of file AbstractInterpretation.h.
60 {
63 }
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 883 of file AbstractInterpretation.cpp.
884{
888 if (
fullName.find(
'/') == std::string::npos)
889 {
892 }
893 else
894 {
897 }
898
904 {
905
906 std::cout << std::setw(
field_width) <<
it->first <<
it->second <<
"\n";
907 }
908 SVFUtil::outs() <<
"-------------------------------------------------------\n";
910 {
911
913 }
915
916 SVFUtil::outs() <<
"#######################################################" << std::endl;
918}
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: