According to the linux kernel sources:
#define _STRUCT_TIMESPEC
struct timespec {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
};
#endif
It basically depends on sizeof(long) for each ISA. If all ISAs
supported are 64bit it can be moved to ISA-independent code.
It's really per ISA/OS combination, and they are not all 64 bit. You
can template it, though. There are examples of that floating around.
Gabe
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev