pc_event.cc (7720:65d338a8dba4) pc_event.cc (7823:dac01f14f20f)
1/*
2 * Copyright (c) 2002-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;

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

106
107void
108PCEventQueue::dump() const
109{
110 const_iterator i = pc_map.begin();
111 const_iterator e = pc_map.end();
112
113 for (; i != e; ++i)
1/*
2 * Copyright (c) 2002-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;

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

106
107void
108PCEventQueue::dump() const
109{
110 const_iterator i = pc_map.begin();
111 const_iterator e = pc_map.end();
112
113 for (; i != e; ++i)
114 cprintf("%d: event at %#x: %s\n", curTick, (*i)->pc(),
114 cprintf("%d: event at %#x: %s\n", curTick(), (*i)->pc(),
115 (*i)->descr());
116}
117
118PCEventQueue::range_t
119PCEventQueue::equal_range(Addr pc)
120{
121 return std::equal_range(pc_map.begin(), pc_map.end(), pc, MapCompare());
122}

--- 34 unchanged lines hidden ---
115 (*i)->descr());
116}
117
118PCEventQueue::range_t
119PCEventQueue::equal_range(Addr pc)
120{
121 return std::equal_range(pc_map.begin(), pc_map.end(), pc, MapCompare());
122}

--- 34 unchanged lines hidden ---