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;
9 * redistributions in binary form must reproduce the above copyright
--- 71 unchanged lines hidden (view full) ---
81 DPRINTF(Quiesce, "%s: quiesce()\n", tc->getCpuPtr()->name());
82
83 tc->suspend();
84 if (tc->getKernelStats())
85 tc->getKernelStats()->quiesce();
86}
87
88void
89quiesceNs(ThreadContext *tc, uint64_t ns)
90{
91 BaseCPU *cpu = tc->getCpuPtr();
92
93 if (!cpu->params()->do_quiesce || ns == 0)
94 return;
95
96 EndQuiesceEvent *quiesceEvent = tc->getQuiesceEvent();
--- 352 unchanged lines hidden ---
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;
9 * redistributions in binary form must reproduce the above copyright
--- 71 unchanged lines hidden (view full) ---
81 DPRINTF(Quiesce, "%s: quiesce()\n", tc->getCpuPtr()->name());
82
83 tc->suspend();
84 if (tc->getKernelStats())
85 tc->getKernelStats()->quiesce();
86}
87
88void
89quiesceNs(ThreadContext *tc, uint64_t ns)
90{
91 BaseCPU *cpu = tc->getCpuPtr();
92
93 if (!cpu->params()->do_quiesce || ns == 0)
94 return;
95
96 EndQuiesceEvent *quiesceEvent = tc->getQuiesceEvent();
--- 352 unchanged lines hidden ---