| 245 | } |
| 246 | |
| 247 | static uint32_t timeUniquifier() |
| 248 | { |
| 249 | struct timeval now; |
| 250 | gettimeofday(&now,NULL); |
| 251 | return ((now.tv_sec&0xffff)<<16) + (now.tv_usec/16); // 32 bit number that changes every 15-16 usecs. |
| 252 | } |
| 253 | |
| 254 | static unsigned cellid() |
| 255 | { |