PhoenixClockMock  2.0.0
Tool to manipulate mock of clock (split, merge and get info)
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
Definition: PClockBackend.h:13
static time_t now()
Get current time with PClockBackend.
Definition: PClockBackend.h:17