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 --- 477 unchanged lines hidden (view full) --- 486 487 std::set<TraceFile *> traceFiles; 488 489 void trace(bool delta); 490}; 491 492extern Scheduler scheduler; 493 |
494// A proxy function to avoid having to expose the scheduler in header files. 495Process *getCurrentProcess(); 496 |
497inline void 498Scheduler::TimeSlot::process() 499{ 500 scheduler.stepChangeStamp(); 501 scheduler.status(StatusTiming); 502 503 try { 504 while (!events.empty()) --- 18 unchanged lines hidden --- |