Set.hh (6145:15cca6ab723a) Set.hh (6154:6bb54dcb940e)
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

--- 30 unchanged lines hidden (view full) ---

39// Define this to use the BigSet class which is slower, but supports
40// sets of size larger than 32.
41
42// #define BIGSET
43
44#define OPTBIGSET
45
46#ifdef OPTBIGSET
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

--- 30 unchanged lines hidden (view full) ---

39// Define this to use the BigSet class which is slower, but supports
40// sets of size larger than 32.
41
42// #define BIGSET
43
44#define OPTBIGSET
45
46#ifdef OPTBIGSET
47#include "OptBigSet.hh"
47#include "mem/ruby/common/OptBigSet.hh"
48#else
49
50#ifdef BIGSET
48#else
49
50#ifdef BIGSET
51#include "BigSet.hh" // code to supports sets larger than 32
51#include "mem/ruby/common/BigSet.hh" // code to supports sets larger than 32
52#else
53
54#ifndef SET_H
55#define SET_H
56
52#else
53
54#ifndef SET_H
55#define SET_H
56
57#include "Global.hh"
58#include "Vector.hh"
59#include "NodeID.hh"
60#include "RubyConfig.hh"
57#include "mem/ruby/common/Global.hh"
58#include "mem/gems_common/Vector.hh"
59#include "mem/ruby/system/NodeID.hh"
60#include "mem/ruby/config/RubyConfig.hh"
61
62class Set {
63public:
64 // Constructors
65 // creates and empty set
66 Set();
67 Set(int size);
68

--- 81 unchanged lines hidden ---
61
62class Set {
63public:
64 // Constructors
65 // creates and empty set
66 Set();
67 Set(int size);
68

--- 81 unchanged lines hidden ---