.gitignore: ignore local vscode workspace settings file
[lttng-tools.git] / src / bin / lttng-sessiond / timer.hpp
index f746f0ed9c6fba3689894cfcb0eb49b1a921eff9..c291ae6d250db28adf56ae21b079391b683f7a95 100644 (file)
@@ -9,30 +9,30 @@
 #ifndef SESSIOND_TIMER_H
 #define SESSIOND_TIMER_H
 
+#include "rotation-thread.hpp"
+#include "session.hpp"
+
 #include <pthread.h>
 #include <stdbool.h>
 
-#include "session.hpp"
-
 struct timer_thread_parameters {
-       struct rotation_thread_timer_queue *rotation_thread_job_queue;
+       lttng::sessiond::rotation_thread_timer_queue *rotation_thread_job_queue;
 };
 
-int timer_signal_init(void);
+int timer_signal_init();
 
 /* Start a session's rotation pending check timer (one-shot mode). */
 int timer_session_rotation_pending_check_start(struct ltt_session *session,
-               unsigned int interval_us);
+                                              unsigned int interval_us);
 /* Stop a session's rotation pending check timer. */
-int timer_session_rotation_pending_check_stop(struct ltt_session *session);
+int timer_session_rotation_pending_check_stop(ltt_session& session);
 
 /* Start a session's rotation schedule timer. */
 int timer_session_rotation_schedule_timer_start(struct ltt_session *session,
-               unsigned int interval_us);
+                                               unsigned int interval_us);
 /* Stop a session's rotation schedule timer. */
 int timer_session_rotation_schedule_timer_stop(struct ltt_session *session);
 
-bool launch_timer_thread(
-               struct timer_thread_parameters *timer_thread_parameters);
+bool launch_timer_thread(struct timer_thread_parameters *timer_thread_parameters);
 
 #endif /* SESSIOND_TIMER_H */
This page took 0.024318 seconds and 4 git commands to generate.