diff options
| author | Dongdong Li <[email protected]> | 2013-11-22 15:38:36 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | ef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch) | |
| tree | c1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/stats.hpp | |
| parent | bdc0e550448f04c7c8f030b7421209bae37e651d (diff) | |
Delete Intersim
Code Review Issue: 113001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414]
Diffstat (limited to 'src/intersim/stats.hpp')
| -rw-r--r-- | src/intersim/stats.hpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/intersim/stats.hpp b/src/intersim/stats.hpp deleted file mode 100644 index 7c2a398..0000000 --- a/src/intersim/stats.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef _STATS_HPP_
-#define _STATS_HPP_
-
-#include "module.hpp"
-
-class Stats : public Module {
- int _num_samples;
- double _sample_sum;
-
- bool _reset;
- double _min;
- double _max;
-
- int _num_bins;
- double _bin_size;
-
- int *_hist;
-
-public:
- Stats( Module *parent, const string &name,
- double bin_size = 1.0, int num_bins = 10 );
- ~Stats( );
-
- void Clear( );
-
- double Average( ) const;
- double Max( ) const;
- double Min( ) const;
- int NumSamples( ) const;
-
- void AddSample( double val );
- void AddSample( int val );
-
-
- void Display( ) const;
- bool NeverUsed() const;
-};
-
-#endif
|
