Change default util::clock duration & clock type

This commit is contained in:
Nikita Lisitsa 2022-10-05 15:30:47 +03:00
parent 61919a264e
commit 051e812358

View file

@ -5,7 +5,7 @@
namespace psemek::util namespace psemek::util
{ {
template <typename Duration = std::chrono::duration<double>, typename Clock = std::chrono::system_clock> template <typename Duration = std::chrono::duration<float>, typename Clock = std::chrono::high_resolution_clock>
struct clock struct clock
{ {
typedef Duration duration_type; typedef Duration duration_type;