640235e2c2
- Some of the lib/libc and lib/thr tests fail - lib/msun/exp_test:exp2_values now passes with clang 3.8.0 The Makefiles in contrib/netbsd-tests were pruned as they have no value Sponsored by: EMC / Isilon Storage Division
15 lines
233 B
C
15 lines
233 B
C
struct bintime {
|
|
unsigned long long sec;
|
|
unsigned long long frac;
|
|
};
|
|
|
|
struct bintime
|
|
us2bintime(unsigned long long us)
|
|
{
|
|
|
|
return (struct bintime) {
|
|
.sec = us / 1000000U,
|
|
.frac = (((us % 1000000U) >> 32)/1000000U) >> 32,
|
|
};
|
|
}
|