summaryrefslogtreecommitdiff
path: root/accel-pptpd/triton
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/triton')
-rw-r--r--accel-pptpd/triton/triton.c2
-rw-r--r--accel-pptpd/triton/triton.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/accel-pptpd/triton/triton.c b/accel-pptpd/triton/triton.c
index 26c257c..15e3888 100644
--- a/accel-pptpd/triton/triton.c
+++ b/accel-pptpd/triton/triton.c
@@ -484,6 +484,8 @@ void __export triton_run()
list_add_tail(&t->entry, &threads);
}
+ time(&triton_stat.start_time);
+
md_run();
timer_run();
}
diff --git a/accel-pptpd/triton/triton.h b/accel-pptpd/triton/triton.h
index 0fd450c..d61253b 100644
--- a/accel-pptpd/triton/triton.h
+++ b/accel-pptpd/triton/triton.h
@@ -63,6 +63,7 @@ struct triton_stat_t
uint32_t md_handler_pending;
uint32_t timer_count;
uint32_t timer_pending;
+ time_t start_time;
};
extern struct triton_stat_t triton_stat;