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; --- 120 unchanged lines hidden (view full) --- 129 130 uint64_t 131 quiesceTime(ThreadContext *tc) 132 { 133 return (tc->readLastActivate() - tc->readLastSuspend()) / Clock::Int::ns; 134 } 135 136 void |
137 m5exit_old(ThreadContext *tc) 138 { 139 exitSimLoop("m5_exit_old instruction encountered"); 140 } 141 142 void 143 m5exit(ThreadContext *tc, Tick delay) 144 { --- 205 unchanged lines hidden --- |