Deleted Added
sdiff udiff text old ( 10906:3ab1d7ed6545 ) new ( 11072:6a447a3138ef )
full compact
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
3 * Copyright (c) 2008 The Hewlett-Packard Development Company
4 * Copyright (c) 2013 Advanced Micro Devices, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

278 flags.clear(Squashed | Scheduled);
279 } else {
280 DPRINTF(Checkpoint, "Event '%s' need to be scheduled @%d\n",
281 name(), _when);
282 }
283}
284
285void
286EventQueue::checkpointReschedule(Event *event)
287{
288 // It's safe to call insert() directly here since this method
289 // should only be called when restoring from a checkpoint (which
290 // happens before thread creation).
291 if (event->flags.isSet(Event::Scheduled))
292 insert(event);
293}

--- 149 unchanged lines hidden ---