MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / JitAllocatorTest_usage

Function JitAllocatorTest_usage

lib/asmjit/asmjit/core/jitallocator.cpp:1414–1420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1412}
1413
1414static void JitAllocatorTest_usage(JitAllocator& allocator) noexcept {
1415 JitAllocator::Statistics stats = allocator.statistics();
1416 INFO(" Block Count : %9llu [Blocks]" , (unsigned long long)(stats.block_count()));
1417 INFO(" Reserved (VirtMem): %9llu [Bytes]" , (unsigned long long)(stats.reserved_size()));
1418 INFO(" Used (VirtMem): %9llu [Bytes] (%.1f%%)", (unsigned long long)(stats.used_size()), stats.used_ratio() * 100.0);
1419 INFO(" Overhead (HeapMem): %9llu [Bytes] (%.1f%%)", (unsigned long long)(stats.overhead_size()), stats.overhead_ratio() * 100.0);
1420}
1421
1422template<typename T, size_t kPatternSize, bool Bit>
1423static void BitVectorRangeIterator_testRandom(TestUtils::Random& rnd, size_t count) noexcept {

Callers 1

Calls 7

statisticsMethod · 0.80
block_countMethod · 0.80
reserved_sizeMethod · 0.80
used_sizeMethod · 0.80
used_ratioMethod · 0.80
overhead_sizeMethod · 0.80
overhead_ratioMethod · 0.80

Tested by 1