The Sparta Modeling Framework
Loading...
Searching...
No Matches
Scheduler.hpp File Reference

A simple time-based, event precedence based scheduler. More...

#include <ctime>
#include <unistd.h>
#include <boost/timer/timer.hpp>
#include <cstdint>
#include <string>
#include <cmath>
#include <vector>
#include <chrono>
#include <mutex>
#include <array>
#include <memory>
#include <algorithm>
#include <limits>
#include <list>
#include <ostream>
#include "sparta/utils/Colors.hpp"
#include "sparta/kernel/SpartaHandler.hpp"
#include "sparta/kernel/ObjectAllocator.hpp"
#include "sparta/simulation/RootTreeNode.hpp"
#include "sparta/log/MessageSource.hpp"
#include "sparta/statistics/StatisticDef.hpp"
#include "sparta/statistics/ReadOnlyCounter.hpp"
#include "sparta/statistics/Counter.hpp"
#include "sparta/statistics/StatisticSet.hpp"
#include "sparta/events/SchedulingPhases.hpp"
#include "sparta/utils/ValidValue.hpp"
#include "sparta/statistics/CounterBase.hpp"
#include "sparta/utils/SpartaAssert.hpp"

Go to the source code of this file.

Classes

class  sparta::Scheduler
 A class that lets you schedule events now and in the future. More...
 
struct  sparta::Scheduler::TickQuantum::ScheduleableGroup
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 

Macros

#define PS_PER_SECOND   1000000000000
 Picoseconds per second constant.
 

Detailed Description

A simple time-based, event precedence based scheduler.

Definition in file Scheduler.hpp.

Macro Definition Documentation

◆ PS_PER_SECOND

#define PS_PER_SECOND   1000000000000

Picoseconds per second constant.

Definition at line 52 of file Scheduler.hpp.