eventq.cc (7452:f98fe16f50ee) | eventq.cc (7823:dac01f14f20f) |
---|---|
1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * Copyright (c) 2008 The Hewlett-Packard Development Company 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 295 unchanged lines hidden (view full) --- 304 Serializable::create(cp, eventName); 305 } 306} 307 308void 309EventQueue::dump() const 310{ 311 cprintf("============================================================\n"); | 1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * Copyright (c) 2008 The Hewlett-Packard Development Company 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 295 unchanged lines hidden (view full) --- 304 Serializable::create(cp, eventName); 305 } 306} 307 308void 309EventQueue::dump() const 310{ 311 cprintf("============================================================\n"); |
312 cprintf("EventQueue Dump (cycle %d)\n", curTick); | 312 cprintf("EventQueue Dump (cycle %d)\n", curTick()); |
313 cprintf("------------------------------------------------------------\n"); 314 315 if (empty()) 316 cprintf("<No Events>\n"); 317 else { 318 Event *nextBin = head; 319 while (nextBin) { 320 Event *nextInBin = nextBin; --- 103 unchanged lines hidden --- | 313 cprintf("------------------------------------------------------------\n"); 314 315 if (empty()) 316 cprintf("<No Events>\n"); 317 else { 318 Event *nextBin = head; 319 while (nextBin) { 320 Event *nextInBin = nextBin; --- 103 unchanged lines hidden --- |