Frank
It's setting both the tv_sec and tv_usec fields to the value
written into tv_usec. Great. Looks like the "older" upc
cannot handle nested structures. (They were using an "unstable"
translator which handled it correctly, but switched back and I
didn't test after the switch. My fault. urgh.)
Updated the code, and it seems to work.
http://www.cs.berkeley.edu/~ejr/GSI/cs267-s04/homework-3/knap/knap/timer.c
http://www.cs.berkeley.edu/~ejr/GSI/cs267-s04/homework-3/knap/knap/timer.h
Jason
--