netcdf.getChunkCache
netCDF ライブラリの既定のチャンク キャッシュ設定を返す
説明
例
チャンク キャッシュ サイズ情報の確認
netCDF ライブラリによって使用されるチャンク キャッシュ サイズについての情報を確認します。
[csize, nelems, premp] = netcdf.getChunkCache();
出力引数
csize
— チャンク キャッシュのサイズ
正の整数スカラー
生データ チャンク キャッシュの合計サイズ (バイト単位)。正の整数スカラーとして返されます。
データ型: double
nelems
— キャッシュに保持する要素の数
正の整数スカラー
生チャンク データ キャッシュに保持する要素の数。正の整数スカラーとして返されます。
データ型: double
premp
— 完全に読み取られたチャンクのプリエンプト
[0, 1] の範囲の値
ライブラリによって処理されたチャンク キャッシュ内の完全に読み込まれたチャンクのプリエンプト。0 から 1 までのスカラー値として返されます。値 0 は、完全に読み取られたチャンクが他のチャンクと同じように処理されることを意味します。つまり、プリエンプションは最長時間未使用の (LRU) アルゴリズムのみに基づいて発生します。1 の値は、完全に読み込まれたチャンクは、他のチャンクの前に常にプリエンプトされることを意味します。
データ型: double
ヒント
この関数は、netCDF ライブラリ C API の関数
nc_get_chunk_cache
に相当します。
バージョン履歴
R2011b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)