From d82d4a92b307f38e49f6d867b93f727ca7117e2d Mon Sep 17 00:00:00 2001 From: Tobias Frisch <tfrisch@uni-koblenz.de> Date: Fri, 11 Aug 2023 16:14:39 +0200 Subject: [PATCH] Add doc comment Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de> --- include/vkcv/Logger.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/vkcv/Logger.hpp b/include/vkcv/Logger.hpp index af666f5d..5c78a042 100644 --- a/include/vkcv/Logger.hpp +++ b/include/vkcv/Logger.hpp @@ -63,6 +63,12 @@ namespace vkcv { } } + /** + * @brief Returns the amount of milliseconds since the last + * call of this function for logging functionality durations. + * + * @return Duration in milliseconds from last logging + */ inline unsigned long getLogTime() { const auto time_point = std::chrono::high_resolution_clock::now(); static auto last_time_point = time_point; -- GitLab