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
13
struct
PClockBackend
{
15
17
inline
static
time_t
now
(){
18
return
clock();
19
}
20
};
21
22
23
24
#endif
25
PClockBackend
clock backend for clock
Definition
PClockBackend.h:13
PClockBackend::now
static time_t now()
Get current time with PClockBackend.
Definition
PClockBackend.h:17
src
PClockBackend.h
Generated by
1.13.2