Skip to content
Snippets Groups Projects
Verified Commit d82d4a92 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Add doc comment

parent 470dbb74
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,12 @@ namespace vkcv { ...@@ -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() { inline unsigned long getLogTime() {
const auto time_point = std::chrono::high_resolution_clock::now(); const auto time_point = std::chrono::high_resolution_clock::now();
static auto last_time_point = time_point; static auto last_time_point = time_point;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment