thread_state.hh (8902:75b524b64c28) thread_state.hh (8921:e53972f72165)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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;

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

80 Tick readLastActivate() { return lastActivate; }
81
82 Tick readLastSuspend() { return lastSuspend; }
83
84 /**
85 * Initialise the physical and virtual port proxies and tie them to
86 * the data port of the CPU.
87 *
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
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;

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

80 Tick readLastActivate() { return lastActivate; }
81
82 Tick readLastSuspend() { return lastSuspend; }
83
84 /**
85 * Initialise the physical and virtual port proxies and tie them to
86 * the data port of the CPU.
87 *
88 * tc ThreadContext for the virtual-to-physical translation
88 * @param tc ThreadContext for the virtual-to-physical translation
89 */
90 void initMemProxies(ThreadContext *tc);
91
92 void dumpFuncProfile();
93
94 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; }
95
96 void profileClear();
97
98 void profileSample();
99
100 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
101
102 PortProxy &getPhysProxy() { return *physProxy; }
103
104 FSTranslatingPortProxy &getVirtProxy() { return *virtProxy; }
105
106 Process *getProcessPtr() { return process; }
107
89 */
90 void initMemProxies(ThreadContext *tc);
91
92 void dumpFuncProfile();
93
94 EndQuiesceEvent *getQuiesceEvent() { return quiesceEvent; }
95
96 void profileClear();
97
98 void profileSample();
99
100 TheISA::Kernel::Statistics *getKernelStats() { return kernelStats; }
101
102 PortProxy &getPhysProxy() { return *physProxy; }
103
104 FSTranslatingPortProxy &getVirtProxy() { return *virtProxy; }
105
106 Process *getProcessPtr() { return process; }
107
108 SETranslatingPortProxy &getMemProxy();
108 SETranslatingPortProxy &getMemProxy() { return *proxy; }
109
110 /** Reads the number of instructions functionally executed and
111 * committed.
112 */
113 Counter readFuncExeInst() { return funcExeInst; }
114
115 /** Sets the total number of instructions functionally executed
116 * and committed.

--- 83 unchanged lines hidden ---
109
110 /** Reads the number of instructions functionally executed and
111 * committed.
112 */
113 Counter readFuncExeInst() { return funcExeInst; }
114
115 /** Sets the total number of instructions functionally executed
116 * and committed.

--- 83 unchanged lines hidden ---