06-06-2012
Clock doesn't tick
This is a strange one, I've never seen anything like it; the realtime clock doesn't tick while the computer's idle, only when you're watching it. Leave for 3 hours and it'll be 3 hours off. It still advances when it's off however, or the time would be far more incorrect than it is.
About all this could be, in my opinion at least, is a strange power-management bug, and installed chipset drivers downloaded from sony, to no avail.
It's a Sony Vaio VGN-CS190.
Has anyone ever heard of a problem like this?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey ppl, i was wonddering, in mandrake, how to get the clok to display the time in non-military format....hehe thank you im just tired of looking at 18:00 hehe thank you (2 Replies)
Discussion started by: LolapaloL
2 Replies
2. Programming
Hey all,
i need a program to get the CPU ticks at certain points of my program. So, i thought about using the clock function, but i'm having a hard time figuring out how it really works. I wrote this simple program to try to understand it but it made me feel more confused:
#include <stdio.h>... (5 Replies)
Discussion started by: kastrup_carioca
5 Replies
3. UNIX for Advanced & Expert Users
Hi
We had a AIX box built last year but was set to the correct GMT time, but using DST time zone. In march this year the clocks went forward without issues. (if I remember a couple of weeks early due to the DST zone)
This year we decided to change the clock to the correct time zone before... (0 Replies)
Discussion started by: markab2
0 Replies
4. Linux
hi,
one of our customer is facing an issue with jiffies wrap up.
on a 32 bit machine, the variable jiffies count upto 472 days.
the customer's server was up for 472 days ('uptime') and to reproduce
the same, i tried to change the variable HZ in linux-2.6..23.9/include/asm-i386/param.h
from... (0 Replies)
Discussion started by: amit4g
0 Replies
5. Solaris
Hi there!!!
Need your help in solving some tricky problems.
Since clock() as such is buggy on SUN OS 5 we have started using gettimeofday() in our RTOS applications based on Solaris 9.
The problems we actually encountered previously were - the applications kind of freeze/hang eternally on... (1 Reply)
Discussion started by: smanu
1 Replies
6. Programming
#include<iostream>
#include<time.h>
using namespace std;
int main()
{
system("date");
clock_t start = clock();
int i=9*8;
while(i--)
{
int j=9999999;
while(j--);
}
clock_t end = clock();
double elapsed =... (4 Replies)
Discussion started by: johnbach
4 Replies
7. Ubuntu
Hi!
I have installed ubuntu out of an error, a bit of frustration, a bit of annoyance and a bit of excitement! I am (was!) a windows user. I had windows 7 on my laptop. You might already know how famous windows is with nasty viruses. I got one too! Had no option but to get rid of the whole... (3 Replies)
Discussion started by: ubuntu_noob
3 Replies
8. Shell Programming and Scripting
i can convert ticks to new lines using something like this:
tr '`' '\n' < filename
or
tr "\`" "\n" < filename
or vice versa
tr '\n' '`' < filename
or
tr "\n" "\`" < filename
however, this command seems to not work the same on every system. it works on ubuntu, and it works on redhat... (4 Replies)
Discussion started by: SkySmart
4 Replies
9. Programming
This arrived in the mail from China a few days ago and, for the small money, has been a lot of fun.
Clock Shield RTC module DS1307 module Multifunction Expansion Board with 4 Digit Display Light Sensor and Thermistor For Arduino
This board is a lot of fun for a few bucks. It has a low... (1 Reply)
Discussion started by: Neo
1 Replies
HZ(9) BSD Kernel Developer's Manual HZ(9)
NAME
hz, tick, tickadj, stathz, profhz -- system time model
SYNOPSIS
#include <sys/kernel.h>
extern int hz;
extern int tick;
extern int tickadj;
extern int stathz;
extern int profhz;
DESCRIPTION
The essential clock handling routines in NetBSD are written to operate with two timers that run independently of each other. The main clock,
running hz times per second, is used to keep track of real time.
In another words, hz specifies the number of times the hardclock(9) timer ticks per second. Normally hardclock(9) increments time by tick
each time it is called. If the system clock has drifted, adjtime(2) may be used to skew this increment based on the rate of tickadj.
The second timer is used to gather timing statistics. It also handles kernel and user profiling. If the second timer is programmable, it is
randomized to avoid aliasing between the two clocks. The mean frequency of the second timer is stathz. If a separate clock is not avail-
able, stathz is set to hz.
If profiling is enabled, the clock normally used to drive stathz may be run at a higher rate profhz, which is required to be a multiple of
stathz. This will give higher resolution profiling information.
These system variables are also available as struct clockinfo from sysctl(3) and kern.clockrate from sysctl(8). The hz is hardware-depen-
dent; it can be overridden (if the machine dependent code supports this) by defining HZ in the kernel configuration file (see options(4)).
Only override the default value if you really know what you are doing.
SEE ALSO
adjtime(2), callout(9), hardclock(9), microtime(9), time_second(9)
BSD
March 25, 2010 BSD