new-tcf-exec-tracer new-tracer-tool
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

new-time-server

Synopsis

new-time-server [port] ["name"] [-poll]

Description

Create a new time server object. If port is specified, it will start listening on that TCP port (if 0 is specified an arbitrary port will be used). Connections can also be set up after the command has run, using the sub-objects .tcp, .unix_socket (on Linux) or .named_pipe on Windows. The name argument is optional and the name of the created object will be returned.

With the -poll flag the time-server will periodically poll the time and return the polled value in queries. Otherwise, the time server will always return the current time in queries. Polled mode offers better performance when the time server is queried at a high frequency, but does not support events.

Connected clients can query the virtual time, install alarm events that are triggered after a certain amount of virtual time, or install keepalive events that trigger at a periodic rate (real time).

Provided By

time-server
new-tcf-exec-tracer new-tracer-tool