/* delay(,) */ /* continue(,) */ /* menter() */ /* mexit() */ /* decvar(,,) */ /* moninit(,) */ /* create() */ /* r_create(,) */ /* clock() */ /* env(,,)) */ /* initenv() */ /* who_am_i() */ /* where_am_i() */ /* char *G_MALLOC() */ /* send_r(,,[,]) */ /* send(, [,] [,][,]) */ /* receive(,,,[,]) */ /* messages_available(, ) */ /* remote_create(,) */ /* process_group() */ /* process_entry(,[]) */ /* process_group_end */ /* xx_cmp_id(,) /* xx_copy_id(,) /* type(,) */ /* BARRIER(,) */ /* BARDEC() */ /* BARINIT() */ /* GSDEC() */ /* GSINIT() */ /* GETSUB(,,,) */ /* ADEC() */ /* AINIT() */ /* ASKFOR(,,,,) */ /* probend(,) */ /* progend() */ /* nlockdec() */ /* nlockinit() */ /* nlock() */ /* nunlock() */ #include #include cputm_(ai) int *ai; { struct timeval tp; struct timezone tzp; int i; gettimeofday(&tp,&tzp); /* B printf("seconds time=%ld\n",tp.tv_sec); printf("microseconds time=%ld\n",tp.tv_usec); E */ i = tp.tv_sec & 0xffff; i = i*100; i += (tp.tv_usec / 10000); *ai = i; }