PhoenixClock  0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
Loading...
Searching...
No Matches
PClockBackend.h
Go to the documentation of this file.
1/***************************************
2 Auteur : Pierre Aubert
3 Mail : pierre.aubert@lapp.in2p3.fr
4 Licence : CeCILL-C
5****************************************/
6
7#ifndef __PCLOCKBACKEND_H__
8#define __PCLOCKBACKEND_H__
9
10#include <time.h>
11
15
17 inline static time_t now(){
18 return clock();
19 }
20};
21
22
23
24#endif
25
clock backend for clock
static time_t now()
Get current time with PClockBackend.