Profiler.cc (6153:0011560d49b0) Profiler.cc (6154:6bb54dcb940e)
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;

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

46 * Profiler.C
47 *
48 * Description: See Profiler.h
49 *
50 * $Id$
51 *
52 */
53
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;

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

46 * Profiler.C
47 *
48 * Description: See Profiler.h
49 *
50 * $Id$
51 *
52 */
53
54#include "Profiler.hh"
55#include "CacheProfiler.hh"
56#include "AddressProfiler.hh"
57#include "System.hh"
58#include "Network.hh"
59#include "PrioHeap.hh"
60#include "CacheMsg.hh"
61#include "Driver.hh"
62#include "Protocol.hh"
63#include "util.hh"
64#include "Map.hh"
65#include "Debug.hh"
66#include "MachineType.hh"
54#include "mem/ruby/profiler/Profiler.hh"
55#include "mem/ruby/profiler/CacheProfiler.hh"
56#include "mem/ruby/profiler/AddressProfiler.hh"
57#include "mem/ruby/system/System.hh"
58#include "mem/ruby/network/Network.hh"
59#include "mem/gems_common/PrioHeap.hh"
60#include "mem/protocol/CacheMsg.hh"
61#include "mem/ruby/common/Driver.hh"
62#include "mem/protocol/Protocol.hh"
63#include "mem/gems_common/util.hh"
64#include "mem/gems_common/Map.hh"
65#include "mem/ruby/common/Debug.hh"
66#include "mem/protocol/MachineType.hh"
67
68// Allows use of times() library call, which determines virtual runtime
69#include <sys/times.h>
70
71extern std::ostream * debug_cout_ptr;
72
73static double process_memory_total();
74static double process_memory_resident();

--- 951 unchanged lines hidden ---
67
68// Allows use of times() library call, which determines virtual runtime
69#include <sys/times.h>
70
71extern std::ostream * debug_cout_ptr;
72
73static double process_memory_total();
74static double process_memory_resident();

--- 951 unchanged lines hidden ---