scheduler.cc (12982:c7966254372e) | scheduler.cc (12985:ec84697e4e63) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 46 unchanged lines hidden (view full) --- 55 p->popListNode(); 56 } 57 58 for (Process *p = initList.getNext(); p; p = initList.getNext()) { 59 p->finalize(); 60 p->ready(); 61 } 62 | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 46 unchanged lines hidden (view full) --- 55 p->popListNode(); 56 } 57 58 for (Process *p = initList.getNext(); p; p = initList.getNext()) { 59 p->finalize(); 60 p->ready(); 61 } 62 |
63 for (auto ets: eventsToSchedule) 64 eq->schedule(ets.first, ets.second); 65 eventsToSchedule.clear(); 66 |
|
63 if (_started) 64 eq->schedule(&maxTickEvent, maxTick); 65 66 initReady = true; 67} 68 69void 70Scheduler::reg(Process *p) --- 180 unchanged lines hidden --- | 67 if (_started) 68 eq->schedule(&maxTickEvent, maxTick); 69 70 initReady = true; 71} 72 73void 74Scheduler::reg(Process *p) --- 180 unchanged lines hidden --- |