Print header with timestamp when running

This commit is contained in:
n loewen 2023-07-25 19:01:27 +01:00
parent d1a84748fc
commit ae7be9e357
1 changed files with 4 additions and 1 deletions

View File

@ -188,7 +188,10 @@ function CPU(mem) {
this.run_program = () => {
console.log();
console.log( "Running program..." );
console.log("————————————————————————————————————————");
let time = new Date();
console.log( `Running at ${time.toLocaleTimeString('en-US')}` );
console.log("————————————————————————————————————————");
log_debug_state();
this.running = true;