pseudo_inst.cc (3368:3342dd3f5248) | pseudo_inst.cc (3373:999202ee312c) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 60 unchanged lines hidden (view full) --- 69 } 70 71 void 72 quiesce(ThreadContext *tc) 73 { 74 if (!doQuiesce) 75 return; 76 | 1/* 2 * Copyright (c) 2003-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; --- 60 unchanged lines hidden (view full) --- 69 } 70 71 void 72 quiesce(ThreadContext *tc) 73 { 74 if (!doQuiesce) 75 return; 76 |
77 DPRINTF(Quiesce, "%s: quiesce()\n", tc->getCpuPtr()->name()); 78 |
|
77 tc->suspend(); 78 if (tc->getKernelStats()) 79 tc->getKernelStats()->quiesce(); 80 } 81 82 void 83 quiesceNs(ThreadContext *tc, uint64_t ns) 84 { --- 275 unchanged lines hidden --- | 79 tc->suspend(); 80 if (tc->getKernelStats()) 81 tc->getKernelStats()->quiesce(); 82 } 83 84 void 85 quiesceNs(ThreadContext *tc, uint64_t ns) 86 { --- 275 unchanged lines hidden --- |