Ruby Set: Move NUMBER_WORDS_PER_SET to Set.hh
This constant is currently in System.hh, but is only used in Set.hh. It is being moved to Set.hh to remove this artificial dependence of Set.hh on System.hh. --HG-- extra : rebase_source : 683c43a5eeaec4f5f523b3ea32953a07f65cfee7
This commit is contained in:
parent
a88ec980a4
commit
6da125cc3c
|
@ -35,8 +35,20 @@
|
|||
#include <iostream>
|
||||
#include <limits>
|
||||
|
||||
#include "mem/ruby/common/Global.hh"
|
||||
#include "mem/ruby/system/System.hh"
|
||||
#include "mem/ruby/common/TypeDefines.hh"
|
||||
|
||||
/*
|
||||
* This defines the number of longs (32-bits on 32 bit machines,
|
||||
* 64-bit on 64-bit AMD machines) to use to hold the set...
|
||||
* the default is 4, allowing 128 or 256 different members
|
||||
* of the set.
|
||||
*
|
||||
* This should never need to be changed for correctness reasons,
|
||||
* though increasing it will increase performance for larger
|
||||
* set sizes at the cost of a (much) larger memory footprint
|
||||
*
|
||||
*/
|
||||
const int NUMBER_WORDS_PER_SET = 1;
|
||||
|
||||
class Set
|
||||
{
|
||||
|
|
|
@ -50,19 +50,6 @@ class Network;
|
|||
class Profiler;
|
||||
class Tracer;
|
||||
|
||||
/*
|
||||
* This defines the number of longs (32-bits on 32 bit machines,
|
||||
* 64-bit on 64-bit AMD machines) to use to hold the set...
|
||||
* the default is 4, allowing 128 or 256 different members
|
||||
* of the set.
|
||||
*
|
||||
* This should never need to be changed for correctness reasons,
|
||||
* though increasing it will increase performance for larger
|
||||
* set sizes at the cost of a (much) larger memory footprint
|
||||
*
|
||||
*/
|
||||
const int NUMBER_WORDS_PER_SET = 1;
|
||||
|
||||
class RubySystem : public SimObject
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue