Skip to main content

Module clock

Module clock 

Source
Expand description

Simulate the historic TX-2 computer Simulation of elapsed time in the simulated system.

Re-exportsยง

use cpu::Context; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use std::time::SystemTime; ๐Ÿ”’
use tracing::Level; ๐Ÿ”’
use tracing::event; ๐Ÿ”’
use tracing::event; ๐Ÿ”’

Structsยง

BasicClock
BasicClock provides a simulated clock.

Traitsยง

Clock
Clock is a simulated system clock. Its run rate may be real-time (i.e. one simulated second per actual wall-clock second) or it may run faster or slower than real-time.