add public kSlotSize to IndexedMemPool
authorGreg Nisbet <gregorynisbet@fb.com>
Fri, 25 Aug 2017 00:53:08 +0000 (17:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 25 Aug 2017 01:09:38 +0000 (18:09 -0700)
commit37c619714bf04d6d22c6fde4beccfce86f4ff82d
tree7122ce5ff01d0dcdf908622b6ce7826df60a3c29
parent51647aaa0ac0eaf8364f6dd643e0f615cd256819
add public kSlotSize to IndexedMemPool

Summary:
add public kSlotSize to IndexedMemPool,
needed to support getting the approximate memory footprint of the pool
(since a Slot has two atomic uint32_t's more than a bare Elem)

Reviewed By: yfeldblum

Differential Revision: D5690225

fbshipit-source-id: 667da6b67b339038b92b0e5acde17219fe1c85c5
folly/IndexedMemPool.h