cwp3942.htm
来自「Perst开源实时数据库」· HTM 代码 · 共 84 行
HTM
84 行
<!-- saved from url=(0007)http:// -->
<HTML><HEAD><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><TITLE>Perst.MemoryUsage</TITLE><LINK REL=STYLESHEET HREF="../CommentReport.css" TYPE="text/css"></HEAD><BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" ><DIV CLASS="PageHeading">Perst.MemoryUsage Class</DIV><DIV CLASS="Description">
Information about memory usage for the correspondent class.
Instances of this class are created by Storage.getMemoryDump method.
Size of internal database structures (object index,* memory allocation bitmap) is associated with
<code>Storage</code> class. Size of class descriptors - with <code>System.Type</code> class.
<P></DIV><IMG src="../GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2"><IMG src="../GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1"><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Access: </SPAN>Public</DIV><DIV CLASS="Remarks"><SPAN CLASS="RemarkHdrX">Base Classes: </SPAN>Object</DIV><TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0><TR height=20><TD width=20> </TD><TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="../graycorner.jpg" align=top></TD><TD CLASS="TableLightLabel" WIDTH=206>Members</TD><TD CLASS="TableLightLabel" >Description</TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc"><A HREF="CWP3943.HTM" TARGET="CNTFRAME">type</A></TD><TD CLASS="TableLightDesc">
Class of persistent object or Storage for database internal data
<P></TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc"><A HREF="CWP3944.HTM" TARGET="CNTFRAME">nInstances</A></TD><TD CLASS="TableLightDesc">
Number of reachable instance of the particular class in the database.
<P></TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc"><A HREF="CWP3945.HTM" TARGET="CNTFRAME">totalSize</A></TD><TD CLASS="TableLightDesc">
Total size of all reachable instances
<P></TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc"><A HREF="CWP3946.HTM" TARGET="CNTFRAME">allocatedSize</A></TD><TD CLASS="TableLightDesc">
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 storage.
In item associated with Storage class this field contains size of all allocated
space in the database (marked as used in bitmap)
<P></TD><TD width=20> </TD></TR><TR height=20><TD width=20> </TD><TD CLASS="TableLightDesc"> </TD><TD CLASS="TableLightDesc"><A HREF="CWP3947.HTM" TARGET="CNTFRAME">MemoryUsage</A></TD><TD CLASS="TableLightDesc">
MemoryUsage constructor
<P></TD><TD width=20> </TD></TR></TABLE></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?