stat_control.cc (3125:febd811bccc6) stat_control.cc (3133:ad45cbafebdd)
1/*
2 * Copyright (c) 2004-2005 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;

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

181
182void
183StatEvent::process()
184{
185 if (flags & Stats::Dump)
186 DumpNow();
187
188 if (flags & Stats::Reset) {
1/*
2 * Copyright (c) 2004-2005 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;

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

181
182void
183StatEvent::process()
184{
185 if (flags & Stats::Dump)
186 DumpNow();
187
188 if (flags & Stats::Reset) {
189 cprintf("Resetting stats!\n");
189 cprintf("Resetting stats at cycle %d!\n", curTick);
190 reset();
191 }
192
193 if (repeat)
194 schedule(curTick + repeat);
195}
196
197list<Output *> OutputList;

--- 36 unchanged lines hidden ---
190 reset();
191 }
192
193 if (repeat)
194 schedule(curTick + repeat);
195}
196
197list<Output *> OutputList;

--- 36 unchanged lines hidden ---