Check.hh (8932:1b2c17565ac8) Check.hh (9208:2451e60d4555)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009 Advanced Micro Devices, Inc.
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

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

63 void initiateCheck();
64
65 void pickValue();
66 void pickInitiatingNode();
67
68 void debugPrint();
69
70 TesterStatus m_status;
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * Copyright (c) 2009 Advanced Micro Devices, Inc.
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

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

63 void initiateCheck();
64
65 void pickValue();
66 void pickInitiatingNode();
67
68 void debugPrint();
69
70 TesterStatus m_status;
71 uint8 m_value;
71 uint8_t m_value;
72 int m_store_count;
73 NodeID m_initiatingNode;
74 Address m_address;
75 Address m_pc;
76 RubyAccessMode m_access_mode;
77 int m_num_writers;
78 int m_num_readers;
79 RubyTester* m_tester_ptr;
80};
81
82inline std::ostream&
83operator<<(std::ostream& out, const Check& obj)
84{
85 obj.print(out);
86 out << std::flush;
87 return out;
88}
89
90#endif // __CPU_RUBYTEST_CHECK_HH__
72 int m_store_count;
73 NodeID m_initiatingNode;
74 Address m_address;
75 Address m_pc;
76 RubyAccessMode m_access_mode;
77 int m_num_writers;
78 int m_num_readers;
79 RubyTester* m_tester_ptr;
80};
81
82inline std::ostream&
83operator<<(std::ostream& out, const Check& obj)
84{
85 obj.print(out);
86 out << std::flush;
87 return out;
88}
89
90#endif // __CPU_RUBYTEST_CHECK_HH__