src/runtime/savres.scm (disk-save): Save time world was restored.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 15 Jan 2016 00:55:40 +0000 (17:55 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Sun, 17 Jan 2016 18:50:58 +0000 (11:50 -0700)
src/runtime/savres.scm

index 2357564243df8fb13da263956d68868391daf435..395f9d053346528060a55358e4f28081a4520309 100644 (file)
@@ -41,6 +41,7 @@ USA.
 
 (define world-id "Image")
 (define time-world-saved #f)
+(define time-world-restored #f)
 (define *within-restore-window?*)
 
 (define (initialize-package!)
@@ -79,6 +80,7 @@ USA.
           (read-microcode-tables!)
           (lambda ()
             (set! time-world-saved time)
+            (set! time-world-restored (get-universal-time))
             (let-fluid *within-restore-window?* #t
               (lambda ()
                 (event-distributor/invoke! event:after-restore)))