AbstractReplacementPolicy.cc (10970:ea8bdb1d9f1e) AbstractReplacementPolicy.cc (11030:17240f381d6a)
1/*
2 * Copyright (c) 2013 Advanced Micro Devices, Inc
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;

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

61 delete[] m_last_ref_ptr[i];
62 }
63 }
64 delete[] m_last_ref_ptr;
65 }
66}
67
68Tick
1/*
2 * Copyright (c) 2013 Advanced Micro Devices, Inc
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;

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

61 delete[] m_last_ref_ptr[i];
62 }
63 }
64 delete[] m_last_ref_ptr;
65 }
66}
67
68Tick
69AbstractReplacementPolicy::getLastAccess(int64 set, int64 way)
69AbstractReplacementPolicy::getLastAccess(int64_t set, int64_t way)
70{
71 return m_last_ref_ptr[set][way];
72}
70{
71 return m_last_ref_ptr[set][way];
72}