LeviLamina
Loading...
Searching...
No Matches
Stopwatch.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class Stopwatch {
6public:
7 // member variables
8 // NOLINTBEGIN
14 // NOLINTEND
15
16public:
17 // prevent constructor by default
18 Stopwatch& operator=(Stopwatch const&);
19 Stopwatch(Stopwatch const&);
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~Stopwatch() = default;
25
26 virtual double stop();
27
28 virtual double stopContinue();
29
30 virtual void print(::std::string const& prepend);
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI Stopwatch();
37
38#ifdef LL_PLAT_C
39 MCNAPI double getLast();
40
41 MCNAPI bool isReset() const;
42#endif
43
44 MCNAPI void reset();
45
46 MCNAPI void start();
47
48#ifdef LL_PLAT_C
49 MCNAPI double tick();
50#endif
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI double $stop();
63
64 MCNAPI double $stopContinue();
65
66 MCNAPI void $print(::std::string const& prepend);
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
static MCAPI void ** $vftable()
MCAPI void reset()
MCAPI void * $ctor()
MCAPI void $print(::std::string const &prepend)
MCAPI double $stop()
MCAPI Stopwatch()
MCAPI void start()
MCAPI double $stopContinue()
Definition Alias.h:14