| Age | Commit message (Collapse) | Author |
|
This change updates the Gradle build configuration in order to make use
of the native JUnit 5 integration and the newest Kotlin and Dokka
plugins.
|
|
This change will make the simulator by default buffer all measurements
of attached instruments to prevent strange situations where certain
measurements are not recorded due to the processing running on another
thread.
|
|
This change in Instrumentation API allows the user to close the data
stream of an instrument by introducing a new concept: Port. A user can
open a `Port` for a `Simulation` object and attach an arbitrary amount of
instruments to this port. The data streams are closed by calling
`Port#close()`.
|
|
These changes implement the Instrumentation API described in issue #11
into the Omega simulation kernel.
|
|
This commit creates the interfaces for the new Instrumentation API
described in issue #11. This interface allows users to plug an
instrumentation device into a (live) simulation in order extract
measurements from the simulation.
|
|
This change simplifies the `Context` interface to reduce the amount of
methods required to implement by implementors.
|
|
This change removes the unused transformation receive methods from the
`Context` class as this functionality can now be easily implemented in
the standard library using the newly introduced `sender` property.
|
|
This change provides a method in the standard library to access the
process context in nested suspending function calls.
|
|
This change adds a `sender` property to the `Context` interface to
provide processes access to the sender of the latest received message.
Please note that methods like `hold()` and `interrupt()` may change the value
of this property.
|
|
This change creates a distinction between a kernel and a simulation.
A single simulation is represented by a `Simulation` object which
provides control over the simulation, while the `Kernel` interface
allows users to create a new simulation using that kernel as backend.
|
|
This change aligns the code formatting of the project with the official
Kotlin Style Guide. They can be found at
http://kotlinlang.org/docs/reference/coding-conventions.html.
|
|
This change bumps the version of the dependencies used by the project.
|
|
This change contains the redesign of the core simulation API and
provides a cleaner interface for developing simulation models for the
users.
|
|
This change adds a timeout for experiments, which allows the user to set
an upper bound on the duration of an experiment.
Closes #3
|
|
|
|
|
|
|
|
|
|
This change allows a process to suspend within a receive block.
|
|
This change allows processes to set a timeout when waiting for a message
to arrive.
|
|
|
|
This change splits up the current code base into three different
module:
- opendc-core - This module defines the API which you can use to write
simulatable entities in a topology.
- opendc-omega - This module is the reference implementation of the API
defined the `opendc-core` module.
- opendc-stdlib - This module provides a standard library of entities
which can be used for datacenter simulation.
|
|
This change converts the ingoingEdges() and outgoingEdges() to a
property in Kotlin. This better conveys the meaning of the attribute and
is more in line with a Kotlin design.
|
|
This change removes some unused messaging classes, which have become
obselete after the design change.
|
|
This change allows for easier construction of a topology.
|
|
This change refactors the default Simulator implementation, reformatting
the code, adding input validation and extracting common code.
|
|
This change implements a time jump to the next event in the queue if
there are no events scheduled for the current tick.
|
|
This change moves the default Simulator implementation into its own
package called 'omega'.
|
|
This change renames the package named 'kernel' to 'simulator' to better
convey the use of this package.
|
|
This change separates the Simulator interface from one of its possible
implementations. This allows us to easily swap simulators between
experiments.
|
|
This change renames the sleep(n) method to wait(n) to make clear that
the method will not cause the thread to sleep, but instead suspends the
kernel and allows other kernels to still run during the waiting period.
|
|
This change fixes a bug where an incorrect value was cast and returned
by helper methods in the Node module.
|
|
This change makes the Topology interface implement the Set interface to
provide common methods like checking whether a node is part of the given
topology.
|
|
This change embeds simulation kernels into the entities and relations of
the topology.
|
|
This change adds a notion of entities having an initial state specified
in the topology.
|
|
This change introduces a basic coroutine-based simulator implementation.
The simulator currently misses the crucial ability to send messages over
channels, which will be implemented in later commits.
|
|
This change introduces a new architecture based on implicit, untyped
connections between nodes in the topology of a cloud network.
This model assumes that entities can only communicate to other entities
directly if they are connected via a channel (edge).
|
|
|
|
|
|
This change fixes the copyright headers and license of the project in
order to assign the copyright to atlarge-research.
|
|
This change adds the initial architecture of the Kotlin rewrite. The
representation of the topology of a cloud network is unfinished and I am
still not sure what would be the best way to represent it.
|