Sha256: 5252183c6439016e42fc6967ac1214ea9701766f24860c07179c9c07e1a48eff
Contents?: true
Size: 473 Bytes
Versions: 2
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module Benchmark class Malloc class AllocationResult attr_reader :allocated attr_reader :retained def initialize(allocated, retained) @allocated = allocated @retained = retained end def total_allocated_objects @allocated.total_objects end def total_retained_objects @retained.total_objects end end # AllocationResult end # Malloc end # Benchmark
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
benchmark-malloc-0.2.0 | lib/benchmark/malloc/allocation_result.rb |
benchmark-malloc-0.1.0 | lib/benchmark/malloc/allocation_result.rb |