LLVM: lib/Analysis/MemoryProfileInfo.cpp File Reference (original) (raw)

Go to the source code of this file.

Variables
cl::opt< float > MemProfLifetimeAccessDensityColdThreshold ("memprof-lifetime-access-density-cold-threshold", cl::init(0.05), cl::Hidden, cl::desc("The threshold the lifetime access density (accesses per byte per " "lifetime sec) must be under to consider an allocation cold"))
cl::opt< unsigned > MemProfAveLifetimeColdThreshold ("memprof-ave-lifetime-cold-threshold", cl::init(200), cl::Hidden, cl::desc("The average lifetime (s) for an allocation to be considered " "cold"))
cl::opt< unsigned > MemProfMinAveLifetimeAccessDensityHotThreshold ("memprof-min-ave-lifetime-access-density-hot-threshold", cl::init(1000), cl::Hidden, cl::desc("The minimum TotalLifetimeAccessDensity / AllocCount for an " "allocation to be considered hot"))
cl::opt< bool > MemProfReportHintedSizes ("memprof-report-hinted-sizes", cl::init(false), cl::Hidden, cl::desc("Report total allocation sizes of hinted allocations"))

DEBUG_TYPE

#define DEBUG_TYPE "memory-profile-info"

addAllocTypeAttribute()

createMIBNode()

MemProfAveLifetimeColdThreshold

cl::opt< unsigned > MemProfAveLifetimeColdThreshold("memprof-ave-lifetime-cold-threshold", cl::init(200), cl::Hidden, cl::desc("The average lifetime (s) for an allocation to be considered " "cold")) ( "memprof-ave-lifetime-cold-threshold" ,
cl::init(200) ,
cl::Hidden ,
cl::desc("The average lifetime (s) for an allocation to be considered " "cold")
)

MemProfLifetimeAccessDensityColdThreshold

cl::opt< float > MemProfLifetimeAccessDensityColdThreshold("memprof-lifetime-access-density-cold-threshold", cl::init(0.05), cl::Hidden, cl::desc("The threshold the lifetime access density (accesses per byte per " "lifetime sec) must be under to consider an allocation cold")) ( "memprof-lifetime-access-density-cold-threshold" ,
cl::init(0.05) ,
cl::Hidden ,
cl::desc("The threshold the lifetime access density (accesses per byte per " "lifetime sec) must be under to consider an allocation cold")
)

MemProfMinAveLifetimeAccessDensityHotThreshold

cl::opt< unsigned > MemProfMinAveLifetimeAccessDensityHotThreshold("memprof-min-ave-lifetime-access-density-hot-threshold", cl::init(1000), cl::Hidden, cl::desc("The minimum TotalLifetimeAccessDensity / AllocCount for an " "allocation to be considered hot")) ( "memprof-min-ave-lifetime-access-density-hot-threshold" ,
cl::init(1000) ,
cl::Hidden ,
cl::desc("The minimum TotalLifetimeAccessDensity / AllocCount for an " "allocation to be considered hot")
)

MemProfReportHintedSizes

cl::opt< bool > MemProfReportHintedSizes("memprof-report-hinted-sizes", cl::init(false), cl::Hidden, cl::desc("Report total allocation sizes of hinted allocations")) ( "memprof-report-hinted-sizes" ,
cl::init(false) ,
cl::Hidden ,
cl::desc("Report total allocation sizes of hinted allocations")
)