CbmRoot
Loading...
Searching...
No Matches
TsUtils.h
Go to the documentation of this file.
1/* Copyright (C) 2023 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Felix Weiglhofer [committer] */
4
5#include <Timeslice.hpp>
6
8{
9
10 inline size_t SizeBytes(const fles::Timeslice& ts)
11 {
12 size_t size = 0;
13 for (size_t i = 0; i < ts.num_components(); i++) {
14 size += ts.size_component(i);
15 }
16 return size;
17 }
18
19} // namespace cbm::algo::ts_utils
static constexpr size_t size()
Definition KfSimdPseudo.h:2
size_t SizeBytes(const fles::Timeslice &ts)
Definition TsUtils.h:10