search for: millisecs

Displaying 20 results from an estimated 34 matches for "millisecs".

Did you mean: milisecs
2011 Sep 01
4
[PATCH] xen,credit1: Add variable timeslice
...= prv->credits_per_tslice; prv->ncpus++; cpu_set(cpu, prv->cpus); if ( prv->ncpus == 1 ) { prv->master = cpu; init_timer(&prv->master_ticker, csched_acct, prv, cpu); - set_timer(&prv->master_ticker, NOW() + - MILLISECS(CSCHED_MSECS_PER_TICK) * CSCHED_TICKS_PER_ACCT); + set_timer(&prv->master_ticker, + NOW() + MILLISECS(prv->tslice_ms)); } init_timer(&spc->ticker, csched_tick, (void *)(unsigned long)cpu, cpu); - set_timer(&spc->ticker, NOW() + MILLISEC...
2007 Oct 11
5
cpufreq: weird bug in set_time_scale
On my test machine, in set_time_scale(), the following code: ts->mul_frac = div_frac(MILLISECS(1000), tps32); crashes with a division by zero error if tps32 == 1000000000d. Unfortunately, tps32 is often that value. Does anyone know why this happens? I''ve resolved it temporarily by checking for tps32 == 1000000000 and changing the value slightly (101000010d works fine on my tes...
2013 Feb 17
0
strptime() with format %OS does not print millisecs in MacOS
Hi! I'm finding this on MacOS Lion 10.7.5 > getOption("digits.secs") NULL > a <- "2012_10_01_14_13_32.445" > strptime(a,format="%Y_%M_%d_%H_%M_%OS") [1] "2012-02-01 14:13:32" > strptime(a,format="%Y_%M_%d_%H_%M_%OS3") [1] NA I can solve it with > options(digits.secs=3) > strptime(a,format="%Y_%M_%d_%H_%M_%OS")
2009 Dec 13
1
Mapping from granulepos to absolute time
...ow theora timestamps map to absolute time values. This information would be needed to seek by 1 sec, 5 secs etc. I understand the granulepos is interpreted as Absolute number of key frames so far | number of frames since last key frame. E.g. 1000|1, 1000|2, ... How does this map to absolute time in millisecs since the start, I can think of the following formula: Total number of frames = Total number of keyframes * Key frame interval + prediction frames Total number of millisecs = (Total number of frames / Frame rate) * 1000 Is this correct? If so, where does the key frame interval come from, I don'...
2013 Nov 13
3
[Patch] credit: Update other parameters when setting tslice_ms
...(const struct scheduler *ops, struct xen_sysctl_scheduler_op *sc) @@ -1089,7 +1100,7 @@ csched_sys_cntl(const struct scheduler *ops, || params->ratelimit_us < XEN_SYSCTL_SCHED_RATELIMIT_MIN)) || MICROSECS(params->ratelimit_us) > MILLISECS(params->tslice_ms) ) goto out; - prv->tslice_ms = params->tslice_ms; + __csched_set_tslice(prv, params->tslice_ms); prv->ratelimit_us = params->ratelimit_us; /* FALLTHRU */ case XEN_SYSCTL_SCHEDOP_getinfo: @@ -1899,12 +1910,7 @...
2005 Jan 17
2
Offtopic: improving softphone latency on Linux?
Hi folks last weekend, I tried Windows Messenger first time and was stunned by the little latency it gives. Until now, I've been using softphones on Linux exclusively, like iaxcomm, linphone and sjphone, and they all give me about 1, at times even 2 secs delay. Whereas Messenger really seems to be in the millisec range. Of course, I'm now curious why there is that difference. Clearly,
2013 Dec 14
0
[PATCH v2] xen: sched: introduce hard and soft affinity in credit 2 scheduler
...en/common/sched_credit2.c b/xen/common/sched_credit2.c index 4e68375..d337cdd 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -116,6 +116,10 @@ * ATM, set so that highest-weight VMs can only run for 10ms * before a reset event. */ #define CSCHED_CREDIT_INIT MILLISECS(10) +/* Minimum amount of credit needed for a vcpu with soft + affinity for a given cpu to be picked from the run queue + over a vcpu with more credit but only hard affinity. */ +#define CSCHED_MIN_CREDIT_PREFER_SA MILLISECS(5) /* Carryover: How much "extra" credit may be carried ove...
2012 Mar 05
6
[PATCH 3/5] RTC: Add UIP(update in progress) check logic
...diff -r 47cb862a07c2 -r edc35b026509 xen/arch/x86/time.c --- a/xen/arch/x86/time.c Mon Mar 05 14:39:07 2012 +0800 +++ b/xen/arch/x86/time.c Mon Mar 05 14:39:41 2012 +0800 @@ -1601,6 +1601,13 @@ unsigned long get_localtime(struct domai + d->time_offset_seconds; } +/* Return millisecs after 00:00:00 localtime, 1 January, 1970. */ +uint64_t get_localtime_us(struct domain *d) +{ + return ((wc_sec + d->time_offset_seconds) * 1000000000ULL + + wc_nsec + NOW()) / 1000UL; +} + unsigned long get_sec(void) { return wc_sec + (wc_nsec + NOW()) / 1000000000ULL; diff -r...
2013 Nov 25
14
[PATCH] VMX: wbinvd when vmentry under UC
...d + * happens not to expire timer and then loop break, usually it would + * occur 10K~60K times, blocking guest 10s~60s. + * + * reprogram timer to avoid dead_like_loop. + */ +static inline void uc_wbinvd_and_timer_adjust(void) +{ + reprogram_timer(0); + wbinvd(); + reprogram_timer(NOW() + MILLISECS(1)); +} + void vmx_vmenter_helper(const struct cpu_user_regs *regs) { struct vcpu *curr = current; @@ -2974,6 +2991,13 @@ void vmx_vmenter_helper(const struct cpu_user_regs *regs) struct hvm_vcpu_asid *p_asid; bool_t need_flush; + /* + * In case hypervisor may access hvm g...
2005 May 20
0
Message Stopped by Bothways : Block Greater than 40 recip
...01.mml (MAIL,1338) False 0224 17:40:58.421 0 user(s) match rule - Strip attachments to 'reanimatieinstructie@meandermc.nl' 0224 17:40:58.421 50 user(s) match rule - Block Virus 0224 17:40:58.453 Command OK <FSecure AntiVirus> file <B0000edbce.00000001.mml> Result= 0 after 32 millisecs 0224 17:40:58.468 Command OK <FSecure AntiVirus> file <MsgHeader.txt> Result= 0 after 15 millisecs 0224 17:40:58.468 Command OK <FSecure AntiVirus> file <Plain.txt> Result= 0 after 0 millisecs 0224 17:40:58.468 Name=U1\B0000edbce.00000001.mml (MAIL,1338) False 0224 17:40...
2007 Oct 17
7
[VTD][RESEND]add a timer for the shared interrupt issue for vt-d
Keir, It''s a resending patch for the timeout mechanism to deal with the shared interrupt issue for vt-d enabled hvm guest. We modify the patch following your comments last time and make some other small fix: 1) We don''t touch the locking around the hvm_dpci_eoi(). 2) Remove the HZ from the TIME_OUT_PERIOD macro which may confuse others. 3) Add some
2013 Jul 16
0
[PATCH] xen: extract register definitions from ns16550 into a separated header
...(1<<3) -#define PARITY_EVEN (3<<3) -#define PARITY_MARK (5<<3) -#define PARITY_SPACE (7<<3) - -/* Frequency of external clock source. This definition assumes PC platform. */ -#define UART_CLOCK_HZ 1843200 - -/* Resume retry settings */ -#define RESUME_DELAY MILLISECS(10) -#define RESUME_RETRIES 100 - static char ns_read_reg(struct ns16550 *uart, int reg) { if ( uart->remapped_io_base == NULL ) diff --git a/xen/include/xen/ns16550-uart.h b/xen/include/xen/ns16550-uart.h new file mode 100644 index 0000000..ee6e3e7 --- /dev/null +++ b/xen/include/xen/ns...
2005 May 13
0
Problem with IAX trunking
...; minexcessbuffer: Sets a desired mimimum amount of headroom in ; the jitter buffer. If Asterisk has less headroom than this, then ; it will start gradually increasing the amount of jitter buffering. ; ; jittershrinkrate: when the jitter buffer is being gradually shrunk ; (or enlarged), how many millisecs shall we take off per 20ms frame ; received? Use a small number, or you will be able to hear it ; changing. An example: if you set this to 2, then the jitter buffer ; size will change by 100 millisecs per second. jitterbuffer=no ;dropcount=2 ;maxjitterbuffer=500 ;maxexcessbuffer=80 minexcessbuff...
2008 May 02
0
xYplot legend keys labels
I came across this little problem in the xYplot function recently and I found it very poorly documented. The legend (keys) in the xYplot is very confusing, especially if you want to change the data labels you have in the data frame column names... say for example you want something with a subscript. Here is a quick solution to it, by keeping (keys='lines') you need to change the parameter
2013 Jan 22
1
rails datatables refresh javascript
Hi I followed a railscast episode and got datatables up and running, beautifully along with the nice jquery-ui as in the front page. The main issue I''m having though is that I suck at CoffeeScript/JS ~_~ I''m trying get the datatables to reload every 1 second but I don’t see any request coming into my webserver for refreshes and hence, no refreshes on the web page itself.
2005 May 16
1
2 servers via PRI
Good day all How do i set a connection between 2 asterisk servers via PRI In Bri I would set one to NT and TE How shoud the zapata.conf and zaptel.conf look And how should the cable be? All I got on the web was to set one to "pri_net"...this cant be all? And the cable > pin1 <--> pin4> pin2 <--> pin5> pin3 <--> pin6> pin4 <--> pin1> pin5 <-->
2006 Mar 15
2
Speeding up the dial of DTMF's in SIP channel
I'm dialing DTMF's in a SIP channel using the options: [sip.conf] dmtfmode=info [extensions.conf] exten => _XXXXXXX,1,Dial(SIP/gateway,,D(${EXTEN})) (this is a custom SIP gateway, which receives the DTMF's sent from softphones through Asterisk, and based on them, build the destination PSTN number). My problem is that Dial send the DTMF's to the SIP/gateway user at a rate
2010 Feb 24
4
Re: [Xen-changelog] [xen-3.4-testing] x86: Generalise BUGFRAME_dump mechanism to allow polled UART irq to
...ns16550 *uart = port->uart; > >     if ( uart->intr_works ) >         return;     /* Interrupts work - no more polling */ > @@ -166,6 +168,16 @@ static void ns16550_poll(void *data) >         serial_tx_interrupt(port, regs); > >     set_timer(&uart->timer, NOW() + MILLISECS(uart->timeout_ms)); > +} > + > +static void ns16550_poll(void *data) > +{ > +    this_cpu(poll_port) = data; > +#ifdef run_in_exception_handler > +    run_in_exception_handler(__ns16550_poll); > +#else > +    __ns16550_poll(guest_cpu_user_regs()); > +#endif >  }...
2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...v->domain->domain_id, v->vcpu_id, (uint64_t)timeout); + gdprintk(XENLOG_INFO, + "Warning: huge timeout set by vcpu %d: %"PRIx64"\n", + v->vcpu_id, (uint64_t)timeout); set_timer(&v->singleshot_timer, NOW() + MILLISECS(100)); } else _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Jan 25
7
vorbis-tools 1.2.0 Release Candidate
I bumped the version number of vorbis-tools and am preparing it for an eventual release in a few days. A changelog of what's new may be found at [1]. Meanwhile, what's in SVN is a "Release Candidate" to find out if anything was broken since version 1.1.1. Report any (or lack of) problems you may find, so we'll be able to put out a new version of vorbis-tools. -Ivo [1]