9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
the below shown clock manipulation works well in Linux machine which has TCL 8.5. But when i use the same on the SunOS which has the TCL8.4 , I am getting the error "bad switch "-format": must be -base or -gmt".
For some reason, I am not able to upgrade my TCL 8.4 to 8.5 in SunOS.
Can... (0 Replies)
Discussion started by: prakasuj
0 Replies
2. Windows & DOS: Issues & Discussions
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... (10 Replies)
Discussion started by: Corona688
10 Replies
3. Programming
Hi all ,
I need to make a program who describes this ( upper ) graphic:
http://upload.wikimedia.org/wikipedia/commons/8/82/Sawtooth-td_and_fd.png
My idea is to implement a battery charge
x: 0 to time T,
y : 0 to 1 values.
Can you help me ? (1 Reply)
Discussion started by: jerold
1 Replies
4. 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
5. Programming
Hello everybody!
Is there a way to count the clock cycles (that a program took to finish) in C?
thanx:o (5 Replies)
Discussion started by: nicos
5 Replies
6. 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
7. 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
8. 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
9. 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