Add run count to the JIT profile information

This commit is contained in:
Ryan Houdek
2015-09-04 20:15:13 -05:00
parent 81c07d4919
commit 5d7f834cde
2 changed files with 8 additions and 6 deletions

View File

@ -44,12 +44,13 @@
struct BlockStat
{
BlockStat(int bn, u32 _addr, u64 c, u64 ticks, u32 size) :
blockNum(bn), addr(_addr), cost(c), tick_counter(ticks), block_size(size) {}
BlockStat(int bn, u32 _addr, u64 c, u64 ticks, u64 run, u32 size) :
blockNum(bn), addr(_addr), cost(c), tick_counter(ticks), run_count(run), block_size(size) {}
int blockNum;
u32 addr;
u64 cost;
u64 tick_counter;
u64 run_count;
u32 block_size;
bool operator <(const BlockStat &other) const