Histogram.cc (6154:6bb54dcb940e) | Histogram.cc (7002:48a19d52d939) |
---|---|
1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 * 33 */ 34 | 1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 * 33 */ 34 |
35#include <cmath> 36#include <iomanip> 37 |
|
35#include "mem/ruby/common/Histogram.hh" 36 | 38#include "mem/ruby/common/Histogram.hh" 39 |
40using namespace std; 41 |
|
37Histogram::Histogram(int binsize, int bins) 38{ 39 m_binsize = binsize; 40 m_bins = bins; 41 clear(); 42} 43 44Histogram::~Histogram() --- 141 unchanged lines hidden --- | 42Histogram::Histogram(int binsize, int bins) 43{ 44 m_binsize = binsize; 45 m_bins = bins; 46 clear(); 47} 48 49Histogram::~Histogram() --- 141 unchanged lines hidden --- |