Lolly
1.4.28
Loading...
Searching...
No Matches
lolly
system
timer.hpp
Go to the documentation of this file.
1
2
/******************************************************************************
3
* MODULE : timer.hpp
4
* DESCRIPTION: timer related routines
5
* COPYRIGHT : (C) 2023 Darcy Shen
6
*******************************************************************************
7
* This software falls under the GNU general public license version 3 or later.
8
* It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
9
* in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
10
******************************************************************************/
11
12
#pragma once
13
14
#include "
tm_ostream.hpp
"
15
#include <stdint.h>
16
17
namespace
lolly
{
18
namespace
system {
19
20
void
timer_start
(
string
task
);
21
void
timer_cumul
(
string
task
);
22
void
timer_reset
(
string
task
);
23
void
bench_print
(
tm_ostream
&
ostream
,
string
task
,
uint32_t
threshold
= 0);
24
void
bench_print
(
tm_ostream
&
ostream
);
25
26
}
// namespace system
27
}
// namespace lolly
list
The list class represents a linked list.
Definition
list.hpp:48
tm_ostream
Definition
tm_ostream.hpp:36
lolly::system::timer_reset
void timer_reset(string task)
Definition
timer.cpp:51
lolly::system::bench_print
void bench_print(tm_ostream &ostream, string task, uint32_t threshold)
Definition
timer.cpp:60
lolly::system::timer_start
void timer_start(string task)
Definition
timer.cpp:32
lolly::system::timer_cumul
void timer_cumul(string task)
Definition
timer.cpp:39
lolly
Definition
lolly_tree_bench.cpp:13
tm_ostream.hpp
Generated by
1.10.0