CoriEngine
Loading...
Searching...
No Matches
Cori::Core::ManualTimer Class Reference

You can use this to manually time something. More...

#include <Time.hpp>

Public Member Functions

 ManualTimer ()=default
 ~ManualTimer ()=default
void Start ()
 Start the manual timer.
double End () const
 Stops the manual timer.

Detailed Description

You can use this to manually time something.

Definition at line 114 of file Time.hpp.

Constructor & Destructor Documentation

◆ ManualTimer()

Cori::Core::ManualTimer::ManualTimer ( )
default

◆ ~ManualTimer()

Cori::Core::ManualTimer::~ManualTimer ( )
default

Member Function Documentation

◆ End()

double Cori::Core::ManualTimer::End ( ) const
nodiscard

Stops the manual timer.

Returns
Elapsed time in milliseconds.

Definition at line 93 of file Time.cpp.

◆ Start()

void Cori::Core::ManualTimer::Start ( )

Start the manual timer.

Definition at line 89 of file Time.cpp.


The documentation for this class was generated from the following files: