Difference between revisions of "LlGetSPMaxMemory/ja"

From Second Life Wiki
Jump to navigation Jump to search
(Undo revision 1178439 by Hiro Ember (Talk))
Line 4: Line 4:
|return_type=integer
|return_type=integer
|func_desc
|func_desc
|Return_text=[[llScriptProfiler/ja|llScriptProfiler]]が実行されてから消費したメモリ使用量の最大値
|Return_text=[[llScriptProfiler/ja|llScriptProfiler]]の実行後、メモリ使用量の最大値
|func_footer
|func_footer
|spec=
|spec=

Revision as of 08:11, 20 May 2013

{{LSL_Function/ja |func_id=???|func_sleep=0.0|func_energy=??? |func=llGetSPMaxMemory |return_type=integer |func_desc |Return_text=llScriptProfilerの実行後、メモリ使用量の最大値 |func_footer |spec= この関数の振る舞いは、スクリプトが使用しているVMに依存します。Monoは新しいVMで、LSOは古いVMです。MonoスクリプトはLSOスクリプトに比べて高速で、4倍のメモリを利用できる点が大きく違います。

Mono

[[llScriptProfiler/ja|llScriptProfiler]を実行後にllGetSPMaxMemoryを実行すると、llScriptProfilerを実行してから 一番メモリを使ってたときの、その消費メモリ量を返します。llGetUsedMemoryは、現時点の消費メモリ量を返します。

LSO

この関数はMonoでコンパイルされないと何ら影響を及ぼしません。いつも必ずLSOのメモリサイズである16384を返します。 |caveats |constants |examples |helpers |also_functions= |-style="vertical-align:top;" | style="color:gray;" |•  | llGetFreeMemory | style="color:gray;" | | | |-style="vertical-align:top;" | style="color:gray;" |•  | llGetUsedMemory | style="color:gray;" | | | |also_events |also_tests |also_articles |notes |lso |cat1=Script |cat2=Memory |cat3=Script Profiler |cat4 }}