Orion
high-rate readout
Functions
utils.hpp File Reference

ITk common utilites. More...

#include "itk/logger.hpp"
#include <cassert>
#include <span>
#include <chrono>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string itk::utils::to_string (const std::span< const uint8_t > data)
 
std::string itk::utils::to_string (const std::span< const uint16_t > data)
 
std::string itk::utils::to_string (const std::span< const uint32_t > data)
 
std::string itk::utils::to_string (const std::span< const uint64_t > data)
 
template<uint n, typename T >
void trunc_bits (T &val)
 
uint32_t hex_to_int (const std::string &str)
 
uint delta_msec (std::chrono::steady_clock::duration delta)
 

Detailed Description

ITk common utilites.

╭──╮┌──╮╭╮╭──╮┌──╮ │╭╮││╭─╯│││╭╮││╭╮│ │╰╯│││ │││╰╯│││││ ╰──╯╰╯ ╰╯╰──╯╰╯╰╯ ──────────────────

Author
Orion