scheduler.hh (13287:fa657c66fc83) scheduler.hh (13329:a2d273c8e667)
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
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
494inline void
495Scheduler::TimeSlot::process()
496{
497 scheduler.stepChangeStamp();
498 scheduler.status(StatusTiming);
499
500 try {
501 while (!events.empty())

--- 18 unchanged lines hidden ---
497inline void
498Scheduler::TimeSlot::process()
499{
500 scheduler.stepChangeStamp();
501 scheduler.status(StatusTiming);
502
503 try {
504 while (!events.empty())

--- 18 unchanged lines hidden ---