thread_state.hh (3125:febd811bccc6) | thread_state.hh (3126:756092c6383c) |
---|---|
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; --- 103 unchanged lines hidden (view full) --- 112 /** Handles the syscall. */ 113 void syscall(int64_t callnum) { process->syscall(callnum, tc); } 114#endif 115 116#if FULL_SYSTEM 117 void dumpFuncProfile() 118 { 119 std::ostream *os = simout.create(csprintf("profile.%s.dat", cpu->name())); | 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; --- 103 unchanged lines hidden (view full) --- 112 /** Handles the syscall. */ 113 void syscall(int64_t callnum) { process->syscall(callnum, tc); } 114#endif 115 116#if FULL_SYSTEM 117 void dumpFuncProfile() 118 { 119 std::ostream *os = simout.create(csprintf("profile.%s.dat", cpu->name())); |
120 profile->dump(xcProxy, *os); | 120 profile->dump(tc, *os); |
121 } 122#endif 123}; 124 125#endif // __CPU_O3_THREAD_STATE_HH__ | 121 } 122#endif 123}; 124 125#endif // __CPU_O3_THREAD_STATE_HH__ |