DirectoryMemory.hh (11045:0bffd44521f5) DirectoryMemory.hh (11049:dfb0aa3f0649)
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;

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

71 // responsible for
72 uint64_t m_size_bytes;
73 uint64_t m_size_bits;
74 uint64_t m_num_entries;
75 int m_version;
76
77 static int m_num_directories;
78 static int m_num_directories_bits;
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;

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

71 // responsible for
72 uint64_t m_size_bytes;
73 uint64_t m_size_bits;
74 uint64_t m_num_entries;
75 int m_version;
76
77 static int m_num_directories;
78 static int m_num_directories_bits;
79 static uint64_t m_total_size_bytes;
79 static int m_numa_high_bit;
80};
81
82inline std::ostream&
83operator<<(std::ostream& out, const DirectoryMemory& obj)
84{
85 obj.print(out);
86 out << std::flush;
87 return out;
88}
89
90#endif // __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
80 static int m_numa_high_bit;
81};
82
83inline std::ostream&
84operator<<(std::ostream& out, const DirectoryMemory& obj)
85{
86 obj.print(out);
87 out << std::flush;
88 return out;
89}
90
91#endif // __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__