cpp-common
Classes | Macros | Functions
clock.hh File Reference

Clock primitives for benchmarking workloads. More...

#include <cassert>
#include <algorithm>
#include <chrono>
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for clock.hh:

Go to the source code of this file.

Classes

class  nvsl::Clock
 Clock object based on std::chrono::high_resolution_clock. More...
 

Macros

#define OVERFLOW_MSG
 

Functions

std::string nvsl::ns_to_hr_clk (const size_t ns_total)
 

Detailed Description

Clock primitives for benchmarking workloads.

Date
novembre 10, 2021

Definition in file clock.hh.

Macro Definition Documentation

◆ OVERFLOW_MSG

#define OVERFLOW_MSG
Value:
"Raw values buffer overflow, increase array size or " \
"operations/loop"