Lolly 1.4.27
Loading...
Searching...
No Matches
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
17namespace lolly {
18namespace system {
19
20void timer_start (string task);
21void timer_cumul (string task);
22void timer_reset (string task);
25
26} // namespace system
27} // namespace lolly
The list class represents a linked list.
Definition list.hpp:48
void timer_reset(string task)
Definition timer.cpp:51
void bench_print(tm_ostream &ostream, string task, uint32_t threshold)
Definition timer.cpp:60
void timer_start(string task)
Definition timer.cpp:32
void timer_cumul(string task)
Definition timer.cpp:39