General :: Short A Time Can Time (system Program) Measure?

Apr 15, 2010

I'm just wondering what the limits for time are. I have a program that always takes exactly 20 ms, so I assume this is the lowest it can measure, but I want to see if there's some sort of documentation of this.

View 3 Replies


ADVERTISEMENT

General :: Measure Kernel Space Time And User Space Time?

Nov 28, 2010

measure kernel space time and user space time?

View 1 Replies View Related

Ubuntu :: System Halts For A Short Time When Get Back?

Nov 12, 2010

I have installed ubuntu 10.10 for a short time, now I meet a problem:I always leave for lunch and leave my computer without turning off. When I get back, it shows a window. after I input my password, I enter my system.Then It halts, the only thing what I can do is moving mouse. After halting for nearly one minute, it resumes to normal.I hope someone can tell me what happens.

View 2 Replies View Related

General :: Measure GUI App Startup With Time(1)

Mar 12, 2010

I want to measure the startup time of any GUI app (e.g. firefox) using the time(1) command. However, timing is measured until the app is closed, which has to be done manually by exiting it or clicking X.

How can I get the app to load, terminate immediately and give me the startup time?

View 2 Replies View Related

General :: Measure Script Execution Time?

Jan 4, 2011

In bash shell, is there a simple way for me to monitor the time taken to run a script and output the time taken?

View 1 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

General :: Keyboard Activating SHIFT Randomly For A Short Time

Feb 14, 2010

I think this might be related to the changes to using udev or DeviceKit. It started when I was running the beta versions of F12. Then it crept into Debian Sid. And my Arch Testing and Gentoo also suffer from the same.

What happens is that I'll be working along. Then when I press any key it is as if the SHIFT key is pressed. When I press CAPSLOCK, some of the keys react as they would normally. This never lasts for more than 5 minutes. And seems to happen infrequently. I say seems because there are the times I am at work and it could be that the same thing is happening only there is no one on the keyboard.

The reason I pick out udev/DeviceKit is that when it used to happen to F12 beta, the other distros had not yet made the move. So back then it was only a F12 issue. Now it is happening across the board. And only started recently.

View 3 Replies View Related

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Programming :: Measure Time Of N Processes?

Oct 24, 2010

how can I measure time of N processes and N threads and then compare this time to prove that threads are faster than processes. understanding C code, or also for some good way to measure time of N processes and N threads for C.

View 5 Replies View Related

Programming :: Measure CPU Time Spent On A Code Block (with C Or C++)?

Jul 31, 2011

I have a C program like this:

...
CODE_BLOCK;
...

I want to know how much CPU time spent on CODE_BLOCK. Since the process executing CODE_BLOCK may be preempted during execution, this CPU time may not be equal to the (wall-clock) time elapsed from the beginning of CODE_BLOCK to the end of it.

View 3 Replies View Related

Ubuntu :: Measure Time Needed To Copy A File From One Place To Another?

Apr 24, 2010

I was wondering if you could help me how to measure the time needed for Ubuntu to copy a file from one place to another.

View 2 Replies View Related

Fedora :: 11 Boot Time / System Hangs For A Very Long Time On Starting Udev?

Sep 25, 2009

When booting Fedora 11, my system hangs for a very long time on starting udev. Sometimes I get an I/O error. However, my hardware is fine. I do eventually get in to the system.

View 7 Replies View Related

Fedora Installation :: Set The Time In The System Tray To The Standard AM/PM Setting Instead Of Military Time?

Jan 29, 2010

Just making one last tweak with my fresh install of F12KDE. I need to . How do I do this

View 2 Replies View Related

Ubuntu Servers :: System Time Runs Slow Hareware Time Run Right?

Apr 11, 2011

I am running my Ubuntu 32 bit server on top of Windows 7 64 bit with VirualBox. It's a 2 core Atom. It's been working good for about half a year. But the last about 6 weeks the system time only in Ubuntu is going slow. About -8 per 24 hours! I can only guess because I have more things running in my Windows 7 and Ubuntu.

I can set it right by coping the hareware time to system time with this command:

Code:
hwclock --hctosys

I want to run a crontab to have that command run every minute. But it don't seem to run.

[Code]...

View 9 Replies View Related

Ubuntu Networking :: Vpnc Freezes After Short Time?

Aug 11, 2010

I installed network-manager-vpnc, configured cisco vpn through NetworkManager. It works slow, but the bigger problem is that after minute or so the connection just freezes.Then I tried kvpnc. It works like it should from speed point of view. But it also hangs up after minute or two.Tried to change MTU of my wired connection to 1500 - no good.Tried to uncomment line in /etc/ppp/options "mru 542" - no good.

Created /var/run/vpnc because it was giving some error "can't open pidfile /var/run/vpnc/pid for writing".From logs everything seems fine except for "nm-dispatcher.action:Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1." in last line. If I use kvpnc it gives no errors.SO, how do I debug this thing or does anyone knows something I don't in this case?

View 5 Replies View Related

Programming :: Pthread And Mutex With Short Unlock Time?

Jun 15, 2010

I am wondering if pthread could make that a single thread keeps the "mutex" all the time if the time it remains unlocked is very small.

thread1
{
while (1)
{
lock; do_task(); unlock();

[code]...

I experiment the thread2 never getting access to the mutex and never printing the nice message. I would expect that once thread2 calls "lock", it would get the mutex as soon as thread1 calls unlock() but it does not seem to be the case. If I add a sleep of some microseconds (100) in thread1 after unlocking the mutex, it solves the problem.

Does anyone know if this behaviour is normal? Is there a way to configure my mutex so that thread2 receives it when unlocked?I use

pthread_mutexattr_settype(&att, PTHREAD_MUTEX_RECURSIVE_NP);
pthread_mutex_init(&handle, &att);

to create my mutex. I am running ubuntu 9.04

View 3 Replies View Related

Server :: Seems That The Rm -rf And Cp -a Commands Are Taking A Long Time To Complete In What Should Be Short?

Jun 10, 2010

I am backing up data from a remote server onto a local ntfs partition. It seems that the rm -rf and cp -a commands are taking a long time to complete in what should be short, incremental backups.Has anyone had similar problems when backing up to an ntfs partitionHere is my rsnapshot.conf:

Code:
#################################################
# rsnapshot.conf - rsnapshot configuration file #

[code]....

View 5 Replies View Related

Ubuntu :: System Time Is Wrong All The Time?

Apr 29, 2011

I installed Ubuntu inside windows(Win 7).Both works good.I found that system time is wrong in both OS.Every time i Change it manually but it changes again on reboot!

View 3 Replies View Related

Debian Hardware :: Laptop Hard Drive Spindown Time Is Too Short?

Apr 13, 2010

This isn't a problem with the 2.6.26 kernel that I have been using, but it is with newer ones. I want to upgrade to a backports kernel, because there has been a REALLY long standing 2.6.26 bug with cpu frequency governors and suspending that is never going to get fixed.

Basically, with the 2.6.30 backports kernel, the hard drive spindown time is way too short. I'd like it to spin down after a minute or two of inactivity, but it is spinning down after only 5-10 seconds. Is there any way to fix this? edit: Now that I think about it, this is also a problem on another laptop that runs squeeze.

View 2 Replies View Related

Fedora :: Rebooted - Desktop Starts For A Very Short Time Then Disappears - YUM Does Not Work Neither Does Firefox

Apr 9, 2010

I updated Fedora 9 yesterday. I rebooted earlier and now the desktop starts for a very short time then disappears followed by a window opening and closing for a few goes. After this nothing! YUM does not work, neither does Firefox! A bug report informed me there was a Python problem but I can find no reference to this anywhere.

View 1 Replies View Related

Ubuntu Installation :: Dell Inspiron 1100 - 10.04 - Screen Goes Black A Short Time After Boot

May 20, 2010

Has anyone got Ubuntu 10.04 working on their Dell Inspiron 1100? Most of the time, the screen goes black a short time after boot. Sometimes it goes black right after the splash screen, sometimes I get to log in and then it goes black a little later. Same results when trying to boot into "safe graphics" mode. Ubuntu 7.10 works fine on this machine (although I had to do some special configuration in xorg.conf to get it to work way back when I installed it.) However, it does not appear to be possible to manually configure X in 10.04. I tried disabling the splash screen in grub based on suggestions I found for other Ubuntu versions, but that had no effect on the problem.

Is it possible to replace X with the most recent version that could still be manually configured? Would anyone know how to go about doing that?

Alternatively, if it's impossible to get this old machine to run new versions of Ubuntu, has anyone had success with (relatively) new versions of other distros on it?

View 9 Replies View Related

Software :: Internet Connection - Fluent Under Debian Connects And Disconnects Repeatedly At Short Amounts Of Time

Aug 2, 2010

Though under Windows my Internet connection works fine and fluent under Debian linux it connects and disconnects repeatedly at short amounts of time. It didn't used to be like that but at a certain time i was forced to install pppoeconf to get my DSL internet connection going, after that even if i've uninstall pppoeconf and now i'm only using nm-applet to monitor my internet connection i still have this annoying problem.

View 1 Replies View Related

General :: Execution Time In A C Program ?

Jan 10, 2010

I need to find out the processing or operating time in milliseconds or in nanoseconds for the instructions or for the whole process!

for eg :

I need to calculate the time taken to execute :

And i dont want the time for whole program :

View 4 Replies View Related

Server :: When Executed Last Command Its Showing System Ip Logged In Time And Logged Out Time The Output?

Feb 27, 2011

logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in

View 2 Replies View Related

General :: Change The Creation Time Of All A Folder's Files To The Current Time?

Jun 19, 2011

Under a Linux shell, how can I change the creation time of all a folder's files to the current time?

View 2 Replies View Related

General :: Change Time (Advanced Eastern Time) On Slackware 8.1?

Mar 24, 2010

I have a linux (Slackware) machine and the time/date is like, June 23rd 2003, 10:00am (It's 11 here) and I am not able to set the time to have it correct. I change the timezome to Montreal but the time is still wrong.

Is there a way to force it to sync with my domain controler or even another online NTP server?

View 1 Replies View Related

General :: Computer Time Difference At Windows / Make The Time The Same?

Apr 13, 2011

My computer has different time when booting to linux or Windows.How to make the time the same?My computer time is 10:57pm Apr 14 when booting to linux.My computer time is 2:57am Apr 14 when booting to Windows Vista Home Premimum SP2.Both OS are set to the same time zone (GMT-5. Eastern Time US & Canada).

View 5 Replies View Related

General :: Starting Up A Script Or A Program At Boot Time?

May 8, 2010

i wanted to know how can I make my programs or script automatically start at boot time ,for example if I restart my server at any time they start at boot time automatically with no need to any body to start them.

View 2 Replies View Related

General :: Time Oriented Program In Kernel Space?

Jan 28, 2010

I have written a programme in gcc

#include <time.h>
#include <stdio.h>
int main(void)

[code]...

View 2 Replies View Related

General :: Proportion Of Down-time Versus Profitable Time

Oct 15, 2010

I admit this has been a particularly bad year for me, but it isn't THAT unusual by my standards. I typically spend I would reckon quite honestly about 70-80% of my time with computers just fixing stuff up that either I broke or was broke in the first place. Usually it's the latter by some considerable margin. That's really inefficient, isn't it? I just wondered what others' experiences are of this phenomenon. Obviously I don't do computers for a living or I would have starved years ago. So what is the Panel's consensus view on the percentage of wasted time we should expect to spend, on average, "running just to stand still" on maintenance tasks?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved