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.
tim::md5 Namespace Reference

Classes

class  md5sum
 

Functions

TIMEMORY_UTILITY_INLINE std::ostream & operator<< (std::ostream &out, md5sum md5)
 
TIMEMORY_UTILITY_INLINE std::string compute_md5 (const std::string &inp)
 

Function Documentation

◆ compute_md5()

std::string tim::md5::compute_md5 ( const std::string &  inp)

Definition at line 404 of file md5.cpp.

405{
406 return md5sum{ inp }.hexdigest();
407}
std::string hexdigest() const
Definition: md5.cpp:378

References tim::md5::md5sum::hexdigest().

Referenced by tim::settings::format().

◆ operator<<()

TIMEMORY_UTILITY_INLINE std::ostream & tim::md5::operator<< ( std::ostream &  out,
md5sum  md5 
)

Definition at line 394 of file md5.cpp.

396{
397 return out << md5.hexdigest();
398}