cppDataPipeline
0.3.0
C++ Implementation of the FAIR Data Pipeline API
Loading...
Searching...
No Matches
include
windows_sys
times.h
1
#ifndef _TIMES_H
2
#define _TIMES_H
3
4
#ifdef _WIN32
5
#include <sys/timeb.h>
6
#include <sys/types.h>
7
#include <winsock2.h>
8
9
int
gettimeofday(
struct
timeval* t,
void
* timezone);
10
11
// from linux's sys/times.h
12
13
//#include <features.h>
14
15
#define __need_clock_t
16
#include <time.h>
17
18
19
/* Structure describing CPU time used by a process and its children. */
20
struct
tms
21
{
22
clock_t tms_utime;
/* User CPU time. */
23
clock_t tms_stime;
/* System CPU time. */
24
25
clock_t tms_cutime;
/* User CPU time of dead children. */
26
clock_t tms_cstime;
/* System CPU time of dead children. */
27
};
28
29
/* Store the CPU time used by this process and all its
30
dead children (and their dead children) in BUFFER.
31
Return the elapsed real time, or (clock_t) -1 for errors.
32
All times are in CLK_TCKths of a second. */
33
clock_t times (
struct
tms *__buffer);
34
35
typedef
long
long
suseconds_t ;
36
37
#endif
38
#endif
Generated by
1.9.5