search for: num_th

Displaying 2 results from an estimated 2 matches for "num_th".

2009 Jan 07
3
[LLVMdev] LLVM optmization
...seqt=%ld inum=%d",GetCurrentThreadId(),num,inum); int ret = fp(num,1000000000,1); printf("\n(2)leu %ld threadid = %ld seqt=%ld ",ret , GetCurrentThreadId(),num); return (unsigned long) ret; } ///cronometro unsigned long tini; unsigned long tfim; #define getmilisecs(x) (x) #define num_th 100 unsigned long milisecs() { return getmilisecs(tfim-tini);}; unsigned long secs() { return milisecs()/1000;}; const char *spenttime () { static char buffer[64]; unsigned long systime = secs(); unsigned long milisectime = milisecs()%1000; sprintf(buffer,"%02d:%02d:%02d:%03d"...
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
...> printf("\n(2)leu %ld threadid = %ld seqt=%ld ",ret , GetCurrentThreadId(),num); > > return (unsigned long) ret; > > } > > ///cronometro > > unsigned long tini; > > unsigned long tfim; > > #define getmilisecs(x) (x) > > #define num_th 100 > > unsigned long milisecs() { return getmilisecs(tfim-tini);}; > > unsigned long secs() { return milisecs()/1000;}; > > const char *spenttime () > > { > > static char buffer[64]; > > unsigned long systime = secs(); >...