benchmark-data - Factor Documentation

benchmark-data


Vocabulary
tools .time .struct

Definition
USING: alien.c-types classes.struct vm ;

IN: tools.time.struct

STRUCT: benchmark-data
{ time ulonglong initial: 0 } {
data-room data-heap-room initial: S{ data-heap-room
{ nursery
S{ copying-sizes
{ size 0 }
{ occupied 0 }
{ free 0 }
}
}
{ aging
S{ copying-sizes
{ size 0 }
{ occupied 0 }
{ free 0 }
}
}
{ tenured
S{ mark-sweep-sizes
{ size 0 }
{ occupied 0 }
{ total-free 0 }
{ contiguous-free 0 }
{ free-block-count 0 }
}
}
{ cards 0 }
{ decks 0 }
{ mark-stack 0 }
}
} {
code-room mark-sweep-sizes initial: S{ mark-sweep-sizes
{ size 0 }
{ occupied 0 }
{ total-free 0 }
{ contiguous-free 0 }
{ free-block-count 0 }
}
} {
callback-room mark-sweep-sizes initial: S{
mark-sweep-sizes
{ size 0 }
{ occupied 0 }
{ total-free 0 }
{ contiguous-free 0 }
{ free-block-count 0 }
}
} ;


Methods
USING: classes.struct classes.struct.private kernel
tools.time.struct ;

M: benchmark-data clone
clone-underlying \ benchmark-data memory>struct ; inline


USING: accessors classes.struct combinators.smart
tools.time.struct ;

M: benchmark-data struct-slot-values
{
[ time>> ]
[ data-room>> ]
[ code-room>> ]
[ callback-room>> ]
} cleave>array ; inline

AltStyle によって変換されたページ (->オリジナル) /