Displaying 4 results from an estimated 4 matches for "milisecs".
2009 Jan 07
3
[LLVMdev] LLVM optmization
...ot;\n(1)threadid = %ld 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,"%02...
2004 Apr 13
0
system requirements
Hi,
I have the following problem with cbq.init script.
I try to limit the output traffic from all my 254 IPs to 4Kb/s,
but when I start the script the ping time from one of the
shaped hosts drastically increases.
0,2-0,7 milisecs without shaper and 1500-2000 milisecs with.
I though it might be the low CPU power or something.
I''m running on 500MHz Intel Celeron. Anyone have
experienced a similar problem?
Here is the entry file I use for one of the IPs:
DEVICE=eth1,10Mbit,1Mbit
RATE=40Kbit
WEIGHT=4Kbit
PRIO=5
RULE=2...
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
...t 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...
2004 Dec 22
2
Why use 'Answer'?
Why is it that newcomers always feel like inserting 'Answer' is a
necessary step in their extension.conf entries?
>[voiptalk.org]
>;forwards any calls starting with an "8" thru voiptalk.org
>exten => _8.,1,Answer
>exten => _8.,3,SetCIDNum(55555555)
>exten => _8.,4,SetCIDName(My Name And Surname)
>exten => _8.,5,Dial(SIP/${EXTEN:1}@voiptalk.org,,g)