aivika-distributed-0.1.3: Parallel distributed simulation library

CopyrightCopyright (c) 2015-2016, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Distributed.Optimistic.TimeServer

Description

Tested with: GHC 7.10.3

This module allows running the time server that coordinates the global simulation time.

Synopsis

Documentation

data TimeServerParams Source

The time server parameters.

Constructors

TimeServerParams 

Fields

tsLoggingPriority :: Priority

the logging priority

tsExpectTimeout :: Int

the timeout in microseconds within which a new message is expected

tsTimeSyncDelay :: Int

the further delay in microseconds before the time synchronization

defaultTimeServerParams :: TimeServerParams Source

The default time server parameters.

timeServer :: TimeServerParams -> Process () Source

Start the time server.