fprintf(fout, "GenTree node allocation stats\n");
fprintf(fout, "---------------------------------------------------\n");
- fprintf(fout, "Allocated %6u tree nodes (%7u bytes total, avg %4u bytes per method)\n",
+ fprintf(fout, "Allocated %6I64u tree nodes (%7I64u bytes total, avg %4I64u bytes per method)\n",
genNodeSizeStats.genTreeNodeCnt, genNodeSizeStats.genTreeNodeSize,
genNodeSizeStats.genTreeNodeSize / genMethodCnt);
- fprintf(fout, "Allocated %7u bytes of unused tree node space (%3.2f%%)\n",
+ fprintf(fout, "Allocated %7I64u bytes of unused tree node space (%3.2f%%)\n",
genNodeSizeStats.genTreeNodeSize - genNodeSizeStats.genTreeNodeActualSize,
(float)(100 * (genNodeSizeStats.genTreeNodeSize - genNodeSizeStats.genTreeNodeActualSize)) /
genNodeSizeStats.genTreeNodeSize);
genTreeNodeActualSize = 0;
}
- size_t genTreeNodeCnt;
- size_t genTreeNodeSize; // The size we allocate
- size_t genTreeNodeActualSize; // The actual size of the node. Note that the actual size will likely be smaller
- // than the allocated size, but we sometimes use SetOper()/ChangeOper() to change
- // a smaller node to a larger one. TODO-Cleanup: add stats on
- // SetOper()/ChangeOper() usage to quanitfy this.
+ // Count of tree nodes allocated.
+ unsigned __int64 genTreeNodeCnt;
+
+ // The size we allocate.
+ unsigned __int64 genTreeNodeSize;
+
+ // The actual size of the node. Note that the actual size will likely be smaller
+ // than the allocated size, but we sometimes use SetOper()/ChangeOper() to change
+ // a smaller node to a larger one. TODO-Cleanup: add stats on
+ // SetOper()/ChangeOper() usage to quantify this.
+ unsigned __int64 genTreeNodeActualSize;
};
extern NodeSizeStats genNodeSizeStats; // Total node size stats
extern NodeSizeStats genNodeSizeStatsPerFunc; // Per-function node size stats