20 |
*/ |
*/ |
21 |
|
|
22 |
#include <stdio.h> |
#include <stdio.h> |
23 |
|
#include <stdlib.h> |
24 |
#include "gmp.h" |
#include "gmp.h" |
25 |
#include "gmp-impl.h" |
#include "gmp-impl.h" |
26 |
|
|
27 |
#if defined (USG) || defined (__SVR4) || defined (_UNICOS) || defined (__hpux) |
#if defined (USG) || defined (__SVR4) || defined (_UNICOS) || defined (__hpux) || (defined(__DECC) && defined(__VMS)) |
28 |
#include <time.h> |
#include <time.h> |
29 |
|
|
30 |
int |
int |
70 |
#define CLOCK (50 M) |
#define CLOCK (50 M) |
71 |
#elif defined (__alpha) |
#elif defined (__alpha) |
72 |
#define CLOCK (133 M) |
#define CLOCK (133 M) |
73 |
|
#elif defined (__vax) |
74 |
|
#define CLOCK (40 M) |
75 |
#else |
#else |
76 |
#error "Don't know CLOCK of your machine" |
#error "Don't know CLOCK of your machine" |
77 |
#endif |
#endif |
98 |
mp_limb_t dlimb, rlimb, plimb; |
mp_limb_t dlimb, rlimb, plimb; |
99 |
mp_size_t nsize, qsize, psize; |
mp_size_t nsize, qsize, psize; |
100 |
int test; |
int test; |
101 |
|
int clock_mhz; |
102 |
|
|
103 |
|
clock_mhz = CLOCK / 1000000; |
104 |
|
printf("\r\nTest Times Are Based On A CPU Clock Speed Of %dMHz.\r\n\r\n",clock_mhz); |
105 |
|
|
106 |
for (test = 0; ; test++) |
for (test = 0; ; test++) |
107 |
{ |
{ |