HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
ttauri
statistics.hpp
1
// Copyright Take Vos 2019-2020.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include "subsystem.hpp"
8
#include <atomic>
9
10
namespace
tt {
11
12
void
statistics_deinit() noexcept;
13
14
bool
statistics_init() noexcept;
15
16
inline
std
::atomic<
bool
> statistics_running = false;
17
18
inline
bool
statistics_start()
19
{
20
return
start_subsystem(statistics_running,
false
, statistics_init, statistics_deinit);
21
}
22
23
}
// namespace tt
std
STL namespace.
Generated on Mon Apr 22 2024 12:53:38 for HikoGUI by
1.10.0