TaPAS  0.2
ccl-time.h
Go to the documentation of this file.
1 /*
2  * ccl-time.h -- Retrieve current time
3  *
4  * This file is a part of the C Common Library (CCL) project.
5  *
6  * Copyright (C) 2010 CNRS UMR 5800 & Université Bordeaux I (see AUTHORS file).
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the AltaRica Public License that comes with this
10  * package.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  */
16 
22 #ifndef __CCL_TIME_H__
23 # define __CCL_TIME_H__
24 
25 # include <ccl/ccl-log.h>
26 
27 BEGIN_C_DECLS
28 
29 extern long
30 ccl_time_get_cpu_time_in_milliseconds (void);
31 
32 extern long
33 ccl_time_get_time (void);
34 
35 extern void
36 ccl_time_get_hms (long t, long *h, long *m, long *s, long *ms);
37 
38 extern void
39 ccl_time_log (ccl_log_type log, long t);
40 
41 END_C_DECLS
42 
43 #endif /* ! __CCL_TIME_H__ */
enum ccl_log_type_enum ccl_log_type
Enum that indicates which kind of message has to be displayed. Each kind of message can be displayed ...
Definition: ccl-log.h:50
Message displayer.