aboutsummaryrefslogtreecommitdiff
path: root/ui/daemon/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/daemon/ui.c')
-rw-r--r--ui/daemon/ui.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/daemon/ui.c b/ui/daemon/ui.c
index 28bade9..f5fe668 100644
--- a/ui/daemon/ui.c
+++ b/ui/daemon/ui.c
@@ -69,7 +69,10 @@ void step_block() {
g_step_block >>= 1;
}
- g_info("Simulator running on step '%#lx'", g_steps);
+ float secs = (float)(end - beg) / (float)CLOCKS_PER_SEC;
+ float steps_per_sec = (float)g_step_block / secs;
+
+ g_info("Simulator running on step %#lx @%.1f steps/s", g_steps, steps_per_sec);
}
int main() {