1 /* Test for gethrusec which depends on the correct emulation of
2 AT_SUN_SYSSTAT_ADDR in the auxiliary vector. */
6 #include <sys/system_stats.h>
12 printf("get_hrusec(): %s\n", (t
== 0) ? "FAIL" : "PASS");
15 memset(&m
, 0, sizeof(m
));
16 get_sec_fromepoch(&m
);
17 printf("get_sec_fromepoch(): %s\n", (m
== 0) ? "FAIL" : "PASS");
20 get_nsec_fromepoch(&t
);
21 printf("get_nsec_fromepoch(): %s\n", (t
== 0) ? "FAIL" : "PASS");