Skip to main content

get_heap_stats

Function get_heap_stats 

Source
pub fn get_heap_stats() -> (usize, usize)
Expand description

ヒープの (使用中の概算バイト数, 総バイト数) を取得します。

※ 使用中サイズはアロケータのヘッダやパディング分を考慮しない概算値です。