1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 18 unchanged lines hidden (view full) --- 27 */ 28 29#ifndef __MEM_RUBY_COMMON_HISTOGRAM_HH__ 30#define __MEM_RUBY_COMMON_HISTOGRAM_HH__ 31 32#include <iostream> 33#include <vector> 34 |
35#include "mem/ruby/common/TypeDefines.hh" |
36 37class Histogram 38{ 39 public: 40 Histogram(int binsize = 1, int bins = 50); 41 ~Histogram(); 42 43 void add(int64 value); --- 39 unchanged lines hidden --- |