This commit is contained in:
Andrey
2022-04-14 18:00:39 +03:00
3 changed files with 12 additions and 14 deletions

View File

@@ -34,12 +34,6 @@ const PIString demangle(const char * name) {return PIString(name);}
#endif #endif
PIIntrospectionContainers::_Type::_Type() {
id = count = item_size = 0u;
allocated = used = 0U;
}
PIIntrospectionContainers::PIIntrospectionContainers() { PIIntrospectionContainers::PIIntrospectionContainers() {

View File

@@ -45,17 +45,21 @@ public:
#pragma pack(push, 1) #pragma pack(push, 1)
struct PIP_EXPORT _Type { struct PIP_EXPORT _Type {
_Type(); uint id = 0u;
uint id; uint count = 0u;
uint count; uint item_size = 0u;
uint item_size; ullong allocated = 0u;
ullong allocated; ullong used = 0u;
ullong used;
}; };
#pragma pack(pop) #pragma pack(pop)
struct PIP_EXPORT TypeInfo: _Type { struct PIP_EXPORT TypeInfo: _Type {
ullong allocated_bytes = 0u;
ullong used_bytes = 0u;
PIString name; PIString name;
PIString item_size_str;
PIString allocated_str;
PIString used_str;
}; };
std::map<uint, _Type> data; std::map<uint, _Type> data;

View File

@@ -39,8 +39,8 @@
//! \~russian //! \~russian
//! //!
//! //!
//! \~english \section PIMutex_sec0 Usage //! \~english \section PIMutex_sec1 Usage
//! \~russian \section PIMutex_sec0 Использование //! \~russian \section PIMutex_sec1 Использование
//! //!
//! \~english //! \~english
//! Block of code that should to be executed only one thread simultaniously //! Block of code that should to be executed only one thread simultaniously