AddressProfiler.cc (6145:15cca6ab723a) | AddressProfiler.cc (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 --- 22 unchanged lines hidden (view full) --- 31 * AddressProfiler.C 32 * 33 * Description: See AddressProfiler.h 34 * 35 * $Id$ 36 * 37 */ 38 | 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 --- 22 unchanged lines hidden (view full) --- 31 * AddressProfiler.C 32 * 33 * Description: See AddressProfiler.h 34 * 35 * $Id$ 36 * 37 */ 38 |
39#include "AddressProfiler.hh" 40#include "CacheMsg.hh" 41#include "AccessTraceForAddress.hh" 42#include "PrioHeap.hh" 43#include "Map.hh" 44#include "System.hh" 45#include "Profiler.hh" | 39#include "mem/ruby/profiler/AddressProfiler.hh" 40#include "mem/protocol/CacheMsg.hh" 41#include "mem/ruby/profiler/AccessTraceForAddress.hh" 42#include "mem/gems_common/PrioHeap.hh" 43#include "mem/gems_common/Map.hh" 44#include "mem/ruby/system/System.hh" 45#include "mem/ruby/profiler/Profiler.hh" |
46 47// Helper functions 48static AccessTraceForAddress& lookupTraceForAddress(const Address& addr, Map<Address, AccessTraceForAddress>* record_map); 49static void printSorted(ostream& out, const Map<Address, AccessTraceForAddress>* record_map, string description); 50 51AddressProfiler::AddressProfiler() 52{ 53 m_dataAccessTrace = new Map<Address, AccessTraceForAddress>; --- 257 unchanged lines hidden --- | 46 47// Helper functions 48static AccessTraceForAddress& lookupTraceForAddress(const Address& addr, Map<Address, AccessTraceForAddress>* record_map); 49static void printSorted(ostream& out, const Map<Address, AccessTraceForAddress>* record_map, string description); 50 51AddressProfiler::AddressProfiler() 52{ 53 m_dataAccessTrace = new Map<Address, AccessTraceForAddress>; --- 257 unchanged lines hidden --- |