C# Class Volante.TypeMemoryUsage

Information about memory usage for one type. Instances of this class are created by IDatabase.GetMemoryUsage method. Size of internal database structures (object index,* memory allocation bitmap) is associated with Database class. Size of class descriptors - with System.Type class.
Afficher le fichier Open project: kjk/volante

Méthodes publiques

Свойство Type Description
AllocatedSize long
Count int
TotalSize long
Type Type

Méthodes publiques

Méthode Description
TypeMemoryUsage ( Type type ) : System

TypeMemoryUsage constructor

Method Details

TypeMemoryUsage() public méthode

TypeMemoryUsage constructor
public TypeMemoryUsage ( Type type ) : System
type Type
Résultat System

Property Details

AllocatedSize public_oe property

Real allocated size of all instances. Database allocates space for th objects using quantums, for example object wilth size 25 bytes will use 32 bytes in the db. In item associated with Database class this field contains size of all allocated space in the database (marked as used in bitmap)
public long AllocatedSize
Résultat long

Count public_oe property

Number of reachable instance of the particular class in the database.
public int Count
Résultat int

TotalSize public_oe property

Total size of all reachable instances
public long TotalSize
Résultat long

Type public_oe property

Class of persistent object or Database for database internal data
public Type Type
Résultat Type