search for: sleeptim

Displaying 20 results from an estimated 23 matches for "sleeptim".

Did you mean: sleeptime
2011 Nov 13
0
[LLVMdev] Thumb-2 code generation error in Apple LLVM at all optimization levels
I am thinking now that the Thumb-2 machine code generated by Apple's LLVM 3.0+svn compiler is correct, but that when a Release build is generated, the use of conditional machine instructions confuses GDB. I boiled my apparently erroneous source down to: - (void) mySleep: (int)sleepTime { if ( sleepTime >= 4000 ){ usleep( sleepTime ); } return; } If I set a breakpoint on the usleep call, the breakpoint will be hit but usleep() will not actually be called. I verified this by passing in 5000. When I do, I can step down into the shared libraries that lead...
2011 Nov 12
2
[LLVMdev] Thumb-2 code generation error in Apple LLVM at all optimization levels
On Fri, Nov 11, 2011 at 5:26 PM, Owen Anderson <resistor at mac.com> wrote: > This is not quite right.  It does have a 12-bit immediate field, but it is decomposed into an 8-bit base immediate and a 4-bit right-rotate value.  Your example of #4000 is encoded as a base value of 0xfa and a rotate of 0xe, which is correct. > >> I don't know what the "it hs" instruction
2004 Aug 06
4
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
...Unfortunately I am using the CVS version. Is there any way for me to trace > where it's mistiming things? I guess you could put some printfs in shout_sleep and/or timing_sleep. Could you first double-check that timing_sleep in ices/libshout/timing.c looks like this: void timing_sleep(long sleeptime) { struct timeval sleeper; sleeper.tv_sec = sleeptime / 1000; sleeper.tv_usec = (sleeptime % 1000) * 1000; select (1, NULL, NULL, NULL, &sleeper); } and that you are not using an installed, older version of libshout. ldd ices and check which libshout it is us...
2008 Feb 19
1
DLMFS on OracleVM 2.1 (OEL5.0 based)
...thon import os import time dir="/dlm/xen" mach="TermServ" if ( not os.path.isdir(dir)): os.mkdir(dir) try: # fd=os.open(dir + "/" + mach, os.O_RDWR|os.O_CREAT) fd=os.open(dir + "/" + mach, os.O_RDWR|os.O_CREAT|os.O_NONBLOCK) sleeptime=raw_input("How long to sleep ? ") print "Sleeping " + sleeptime + " seconds" time.sleep(float(sleeptime)) os.close(fd) except IOError, e: print "ERROR: could not open file\n" raise Exception, "%s [%d]" % (e.s...
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...se + fields_filter = stats.fields_filter + def update_drilldown(): + if not fields_filter: + if drilldown: + stats.set_fields_filter(None) + else: + stats.set_fields_filter(r'^[^\(]*$') + update_drilldown() + def refresh(sleeptime): + screen.erase() + screen.addstr(0, 0, 'vhost statistics') + row = 2 + s = stats.get() + def sortkey(x): + if s[x][1]: + return (-s[x][1], -s[x][0]) + else: + return (0, -s[x][0]) + for key in s...
2004 Aug 06
0
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
...ersion. Is there any way for me to trace > > where it's mistiming things? > > I guess you could put some printfs in shout_sleep and/or timing_sleep. > Could you first double-check that timing_sleep in > ices/libshout/timing.c looks like this: > > void timing_sleep(long sleeptime) > { > struct timeval sleeper; > > sleeper.tv_sec = sleeptime / 1000; > sleeper.tv_usec = (sleeptime % 1000) * 1000; > > select (1, NULL, NULL, NULL, &sleeper); > } > > and that you are not using an installed, older version of &g...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net specific tracepoints? --- Jason Wang (2): vhost: basic tracepoints tools: virtio: add a
2004 Aug 06
2
Problem with ices on OpenBSD 2.9 w/ Icecast 1.3.10
On Tuesday, 10 July 2001 at 03:21, Nick Ludlam wrote: > From: "Brendan Cully" <brendan@icecast.org> > > That handles the segfault, I don't know why the stream wouldn't be > > sent fast enough though... > > Tried with winamp, sonique and freeamp. All exhibit the same problem of > stuttering play, and eventually this drops out of the icecast log: >
2009 May 29
1
[PATCH server] Make taskomatic not do tasks if not connected to qpidd.
...d2 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -843,6 +843,13 @@ class TaskOmatic def mainloop() loop do + + if not @broker.connected? + @logger.error("Cannot implement tasks, not connected to broker. Sleeping.") + sleep(@sleeptime * 3) + next + end + tasks = Array.new begin tasks = Task.find(:all, :conditions => -- 1.6.0.6
2009 May 29
1
[PATCH server] Also print reconnect message in log.
...def mainloop() + was_disconnected = false loop do if not @broker.connected? - @logger.error("Cannot implement tasks, not connected to broker. Sleeping.") + @logger.info("Cannot implement tasks, not connected to broker. Sleeping.") sleep(@sleeptime * 3) + was_disconnected = true next end + @logger.info("Reconnected, resuming task checking..") if was_disconnected + was_disconnected = false + tasks = Array.new begin tasks = Task.find(:all, :conditions => -- 1.6.0.6
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of tracepoints. So to help in vhost{net} debugging and performance analyzing, the following series adding basic tracepoints to vhost. Operations of both vhost and vhost_net were traced in current implementation. A top-like satistics displaying script were introduced to help the troubleshooting: vhost statistics vhost_virtio_update_used_idx
2008 Feb 28
5
FXColorDialog slow UI update
Hi Lyle, I have noticed a very small problem with the FXColorDialog class: when changing the color with the color wheel, it takes quite a long time (until 4 seconds, sometimes less) for the other panels of the dialog to synchronize. The opposite is also true: when changing the color with the sliders, it may take sometimes until 4 seconds for the color wheel to reflect the change.
2008 Feb 12
1
measuring sleep time in synchronization objects
...sched:::sleep and sched:wakeup probes enabled, as shown below: sched:::sleep /execname == "myexecname"/ { ustack(); bedtime[curlwpsinfo->pr_addr,curlwpsinfo->pr_stype] = walltimestamp; } sched:::wakeup /bedtime[args[0]->pr_addr,args[0]->pr_stype]/ { @sleeptime[execname,args[0]->pr_lwpid,args[0]->pr_addr,args[0]->pr_stype] = sum(walltimestamp - bedtime[args[0]->pr_addr,args[0]->pr_stype]); bedtime[args[0]->pr_addr,args[0]->pr_stype] = 0; } On running my program along with this script, I could see (because of ustack()) that...
2004 Aug 06
1
Ices 0.3 won't play mp3 file
...() from /usr/lib/libc.so.4 (gdb) backtrace #0 0x282a2da4 in .cerror () from /usr/lib/libc.so.4 #1 0x2842ff59 in _thread_sig_handle_pending () from /usr/lib/libc_r.so.4 #2 0x2842f84d in _thread_sig_handler () from /usr/lib/libc_r.so.4 #3 0xbfbfffac in ?? () #4 0x281192b4 in _shout_timing_sleep (sleeptime=231) at timing.c:59 #5 0x281161a7 in shout_sync (self=0x81be200) at shout.c:261 #6 0x805c597 in stream_send_data (stream=0x81be180, buf=0xbfbfeb30 "f", len=4096) at stream.c:369 #7 0x805c211 in stream_send (config=0x81b4a00, source=0xbfbffb60) at stream.c:256 #8 0x805be61 in ices_s...
2015 Apr 24
0
Cluster gets stopped
...<resources> <netfs export="/test" force_unmount="1" fstype="nfs" host="x.x.x.x" mountpoint="/test/test/test" name="test123"/> <ip address="x.x.x.x" sleeptime="5"/> <script file="/opt/infra/appliance-mgr/bin/am_svcs.sh" name="am_svcs"/> </resources> <failoverdomains> <failoverdomain name="Failover01" nofai...
2012 Apr 18
1
Statistics scripts
I wrote two scripts, which you can use with the stats plugin enabled to get a better "doveadm stats top" than it currently is: http://dovecot.org/tools/stats-top.pl http://dovecot.org/tools/stats.pl
2011 Nov 25
0
Failed to start a "virtual machine " service on RHCS in CentOS 6
...;failoverdomainnode name="clusterA.RHCS" priority="1"/> <failoverdomainnode name="clusterB.RHCS" priority="2"/> </failoverdomain> </failoverdomains> <resources> <ip address="192.168.6.250/24" monitor_link="on" sleeptime="10"/> <script file="/etc/init.d/httpd" name="www_script"/> <clusterfs device="/dev/dm-0" force_unmount="on" fsid="56449" fstype="gfs2" mountpoint="/var/lib/libvirt/images/iscsi" name="gfs2" self_...
2009 May 28
0
[PATCH server] Use qpid for migration and add more debugging to taskomatic.
...opts.on("-d", "--debug", "Print verbose debugging output") do |d| + do_debug = true + end opts.on("-s N", Integer, "--sleep", "Seconds to sleep between iterations (default is 5 seconds)") do |s| sleeptime = s @@ -94,6 +98,11 @@ class TaskOmatic @logger = Logger.new(STDERR) end + #@logger.level = Logger::DEBUG if do_debug + # + # For now I'm going to always enable debugging until we do a real release. + @logger.level = Logger::DEBUG + ensure_credentials serv...