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

File that defines the Clock class. More...

#include <inttypes.h>
#include <cstdint>
#include <string>
#include <iostream>
#include <sstream>
#include <memory>
#include <list>
#include <map>
#include "sparta/kernel/Scheduler.hpp"
#include "sparta/simulation/TreeNode.hpp"
#include "sparta/statistics/Counter.hpp"
#include "sparta/statistics/ReadOnlyCounter.hpp"
#include "sparta/utils/Rational.hpp"
#include "sparta/utils/MathUtils.hpp"
#include "simdb_fwd.hpp"
#include "simdb/schema/DatabaseTypedefs.hpp"
#include "sparta/statistics/CounterBase.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "sparta/statistics/StatisticSet.hpp"

Go to the source code of this file.

Classes

class  sparta::Clock
 A representation of simulated time. More...
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 

Macros

#define SPARTA_CLOCK_BODY
 

Functions

std::ostream & sparta::operator<< (std::ostream &os, const sparta::Clock &clk)
 
Scheduler::Tick sparta::calculateClockCrossingDelay (Scheduler::Tick src_delay, const Clock *src_clk, Scheduler::Tick dst_delay, const Clock *dst_clk)
 
Scheduler::Tick sparta::calculateReverseClockCrossingDelay (Scheduler::Tick dst_arrival_tick, Scheduler::Tick src_delay, const Clock *src_clk, Scheduler::Tick dst_delay, const Clock *dst_clk)
 

Detailed Description

File that defines the Clock class.

Definition in file Clock.hpp.

Macro Definition Documentation

◆ SPARTA_CLOCK_BODY

#define SPARTA_CLOCK_BODY
Value:
namespace sparta { \
bool Clock::normalized_ = false; \
}
Macros for handling exponential backoff.

Definition at line 497 of file Clock.hpp.