layout/base/nsArenaMemoryStats.h
author Gregory Szorc <gps@mozilla.com>
Wed, 14 Aug 2013 08:40:25 -0700
changeset 142690 13f3b8949f63adc20b0725fd3a3b3917f66c2d63
parent 96409 6bdce5e0d905827a19c19c17bc16d3ec25233761
child 151748 2d2444eecf83111b7522f2d97f8c84926fcd76fc
permissions -rw-r--r--
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsArenaMemoryStats_h
#define nsArenaMemoryStats_h

#define FRAME_ID_STAT_FIELD(classname) mArena##classname

struct nsArenaMemoryStats {
#define FRAME_ID(classname) size_t FRAME_ID_STAT_FIELD(classname);
#include "nsFrameIdList.h"
#undef FRAME_ID
  size_t mLineBoxes;
  size_t mRuleNodes;
  size_t mStyleContexts;
  size_t mOther;
};

#endif // nsArenaMemoryStats_h