PIIntrospection
This commit is contained in:
@@ -34,12 +34,6 @@ const PIString demangle(const char * name) {return PIString(name);}
|
||||
#endif
|
||||
|
||||
|
||||
PIIntrospectionContainers::_Type::_Type() {
|
||||
id = count = item_size = 0u;
|
||||
allocated = used = 0U;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
PIIntrospectionContainers::PIIntrospectionContainers() {
|
||||
|
||||
@@ -45,17 +45,21 @@ public:
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct PIP_EXPORT _Type {
|
||||
_Type();
|
||||
uint id;
|
||||
uint count;
|
||||
uint item_size;
|
||||
ullong allocated;
|
||||
ullong used;
|
||||
uint id = 0u;
|
||||
uint count = 0u;
|
||||
uint item_size = 0u;
|
||||
ullong allocated = 0u;
|
||||
ullong used = 0u;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
struct PIP_EXPORT TypeInfo: _Type {
|
||||
ullong allocated_bytes = 0u;
|
||||
ullong used_bytes = 0u;
|
||||
PIString name;
|
||||
PIString item_size_str;
|
||||
PIString allocated_str;
|
||||
PIString used_str;
|
||||
};
|
||||
|
||||
std::map<uint, _Type> data;
|
||||
|
||||
Reference in New Issue
Block a user