#include <sys/time.h>
#include <stdio.h>
Go to the source code of this file.
◆ __pyps_bench_close()
void __pyps_bench_close |
( |
void |
| ) |
|
◆ __pyps_bench_start()
void __pyps_bench_start |
( |
struct timeval * |
timestart | ) |
|
◆ __pyps_bench_stop()
void __pyps_bench_stop |
( |
const char * |
module, |
|
|
const struct timeval * |
timestart |
|
) |
| |
Definition at line 16 of file pyps_gettime.c.
18 struct timeval timeend;
19 gettimeofday(&timeend, NULL);
21 long diff = (timeend.tv_sec-timestart->tv_sec)*1000000 + (timeend.tv_usec-timestart->tv_usec);
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
References __pyps_timefile, fprintf(), and module.
◆ atexit()
◆ __pyps_timefile
FILE* __pyps_timefile = 0 |
|
static |