timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
units.hpp File Reference
#include "timemory/macros/os.hpp"
#include "timemory/utility/macros.hpp"
#include <cctype>
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <ratio>
#include <string>
#include <tuple>
#include <vector>
+ Include dependency graph for units.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  tim
 
namespace  tim::units
 

Functions

std::string tim::units::time_repr (int64_t _unit)
 
std::string tim::units::mem_repr (int64_t _unit)
 
std::tuple< std::string, int64_t > tim::units::get_memory_unit (std::string _unit)
 
std::tuple< std::string, int64_t > tim::units::get_timing_unit (std::string _unit)
 

Detailed Description

Timing and memory units

Definition in file units.hpp.