blob: d74f8053eed9d0f4b4a76c122596e798016175df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "blaswrap.h"
#include "f2c.h"
#include <sys/times.h>
#include <sys/types.h>
#include <time.h>
#ifndef CLK_TCK
#define CLK_TCK 60
#endif
doublereal dsecnd_()
{
struct tms rusage;
times(&rusage);
return (doublereal)(rusage.tms_utime) / CLK_TCK;
} /* dsecnd_ */
|