search for: millisec

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

Did you mean: millisecs
2011 Sep 01
4
[PATCH] xen,credit1: Add variable timeslice
...ed_credit_tslice_ms = CSCHED_DEFAULT_TSLICE_MS; +integer_param("sched_credit_tslice_ms", sched_credit_tslice_ms); /* * Physical CPU @@ -176,6 +172,9 @@ struct csched_private { uint32_t credit; int credit_balance; uint32_t runq_sort; + /* Period of master and tick in milliseconds */ + unsigned tslice_ms, tick_period_us, ticks_per_tslice; + unsigned credits_per_tslice; }; static void csched_tick(void *_cpu); @@ -326,7 +325,7 @@ csched_free_pdata(const struct scheduler spin_lock_irqsave(&prv->lock, flags); - prv->credit -= CSCHED_CREDITS_PE...
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 te...
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?
...ast 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, Messenger is more tightly integrated with the OS and accordingly tuned. So where does this time go? Kernel? Application level? Web searches seem to suggest that sound latency generally is a problem on Linux, so I tried t...
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 ov...
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...
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:4...
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/n...
2005 May 13
0
Problem with IAX trunking
...0 ; Icky sound quality... Mr. Roboto. allow=gsm ; Always allow GSM, it's cool :) ; ; You can adjust several parameters relating to the jitter buffer. ; The jitter buffer's function is to compensate for varying ; network delay. ; ; All the jitter buffer settings except dropcount are in milliseconds. ; The jitter buffer works for INCOMING audio - the outbound audio ; will be dejittered by the jitter buffer at the other end. ; ; jitterbuffer=yes|no: global default as to whether you want ; the jitter buffer at all. ; ; dropcount: the jitter buffer is sized such that no more than "dropco...
2008 May 02
0
xYplot legend keys labels
...average,upperErr,lowerErr)~rate,panel=function(x,y,...) {panel.grid(lty=3,col="black",lwd=0.1);panel.xYplot(x,y,...)},group=type,data=dfr, type="b" ,pch=c(0,1), lty=c("dashed","solid"),xlab="Resquest Rate (Request/sec)", ylab="Response Time (millisec)",main="Network Profile A, Class 1, Creation Time", labels=c("h",expression(T[i]),"dd","yy"),keys='lines'); There are many other ways to add another legend(s) but I found this to be the easiest as you always need to overwrite the dataframe colu...
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]