mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Refactor profiler and related classes
This commit is contained in:
parent
5a07f5a652
commit
72eeb9fecb
7 changed files with 133 additions and 132 deletions
|
@ -23,14 +23,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <string>
|
||||
#include <mutex>
|
||||
|
||||
enum TimePrecision
|
||||
{
|
||||
PRECISION_SECONDS,
|
||||
PRECISION_MILLI,
|
||||
PRECISION_MICRO,
|
||||
PRECISION_NANO
|
||||
};
|
||||
|
||||
inline struct tm mt_localtime()
|
||||
{
|
||||
// initialize the time zone on first invocation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue