#ifndef COMMON_UTILS_H #define COMMON_UTILS_H #include #include #include #include class Timer { public: Timer(double& accumulator, bool isEnabled = true); void Stop(); private: double& accumulator; bool isEnabled; std::chrono::time_point start; }; std::wstring get_win_path(const std::string& path); std::vector parseVectorString(const std::string& input); std::vector convertStringVectorToInts(const std::vector& input); std::unordered_map parseNames(const std::string& input); int64_t vector_product(const std::vector& vec); #endif // COMMON_H COMMON_UTILS_H