before formatting
This commit is contained in:
@@ -20,10 +20,12 @@
|
||||
#ifndef PIINTROSPECTION_CONTAINERS_P_H
|
||||
#define PIINTROSPECTION_CONTAINERS_P_H
|
||||
|
||||
#include "piintrospection_containers.h"
|
||||
#include "pispinlock.h"
|
||||
#include "pistring.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "picrc.h"
|
||||
|
||||
|
||||
class PIP_EXPORT PIIntrospectionContainers {
|
||||
@@ -32,28 +34,30 @@ public:
|
||||
|
||||
struct TypeInfo;
|
||||
|
||||
// clang-format off
|
||||
void containerNew (const PIIntrospectionContainersType & ti, uint isz);
|
||||
void containerDelete(const PIIntrospectionContainersType & ti);
|
||||
void containerAlloc (const PIIntrospectionContainersType & ti, ullong cnt);
|
||||
void containerFree (const PIIntrospectionContainersType & ti, ullong cnt);
|
||||
void containerUsed (const PIIntrospectionContainersType & ti, ullong cnt);
|
||||
void containerUnused(const PIIntrospectionContainersType & ti, ullong cnt);
|
||||
// clang-format on
|
||||
|
||||
PIVector<TypeInfo> getInfo() const;
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct PIP_EXPORT _Type {
|
||||
uint id = 0u;
|
||||
uint count = 0u;
|
||||
uint item_size = 0u;
|
||||
uint id = 0u;
|
||||
uint count = 0u;
|
||||
uint item_size = 0u;
|
||||
ullong allocated = 0u;
|
||||
ullong used = 0u;
|
||||
ullong used = 0u;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
struct PIP_EXPORT TypeInfo: _Type {
|
||||
ullong allocated_bytes = 0u;
|
||||
ullong used_bytes = 0u;
|
||||
ullong used_bytes = 0u;
|
||||
PIString name;
|
||||
PIString item_size_str;
|
||||
PIString allocated_str;
|
||||
|
||||
Reference in New Issue
Block a user