summaryrefslogtreecommitdiff
path: root/opendc-core/src
AgeCommit message (Collapse)Author
2017-09-06Implement time jumps to next eventFabian Mastenbroek
This change implements a time jump to the next event in the queue if there are no events scheduled for the current tick.
2017-09-06Move default Simulator into own packageFabian Mastenbroek
This change moves the default Simulator implementation into its own package called 'omega'.
2017-09-06Rename kernel package to simulatorFabian Mastenbroek
This change renames the package named 'kernel' to 'simulator' to better convey the use of this package.
2017-09-06Separate Simulator interface and implementationFabian Mastenbroek
This change separates the Simulator interface from one of its possible implementations. This allows us to easily swap simulators between experiments.
2017-09-05Rename sleep() to wait()Fabian Mastenbroek
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.
2017-09-05Fix bug in helper methods in NodeFabian Mastenbroek
This change fixes a bug where an incorrect value was cast and returned by helper methods in the Node module.
2017-09-05Provide Set interface for TopologyFabian Mastenbroek
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.
2017-09-04Move simulation kernels into topology entitiesFabian Mastenbroek
This change embeds simulation kernels into the entities and relations of the topology.
2017-09-01Add notion of initial states of entitiesFabian Mastenbroek
This change adds a notion of entities having an initial state specified in the topology.
2017-09-01Finish basic implementation of simulatorFabian Mastenbroek
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.
2017-08-10Start implementation of new architectureFabian Mastenbroek
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).
2017-08-08Add job identifier and nameFabian Mastenbroek
2017-08-08Rename data center to datacenterFabian Mastenbroek
2017-08-08Fix copyright headers and licenseFabian Mastenbroek
This change fixes the copyright headers and license of the project in order to assign the copyright to atlarge-research.
2017-08-08Create initial architectureFabian Mastenbroek
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.