473,809 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wall clock time

What is wall clock time? the standard doesn't define it
but I see its use in past posts on clc.

--
aegis

Nov 14 '05
12 7411
On Thu, 16 Dec 2004 12:03:03 -0600, Merrill & Michele wrote:

....
What chapter is that in C Unleashed (you guys didn't do the greatest job of
indexing. You did the bitshift stuff and I think a couple more, but the
only way for me to really find anything in that book is sit down and slog
through 400 pages. Maybe a cleaner presentation in version 2?)? MPJ


Well chapter 4 is about times and dates. I don't remember offhand if "wall
clock time" is mentioned specifically. It could have been but it isn't a
term that relates specifically to C.

I'm sure the indexing could be improved, but don't forget the chapter list
at the start. I don't see the need to slog through 400 pages to find
relevant sections. :-)

Lawrence


Nov 14 '05 #11

"Lawrence Kirby"
Merrill & Michele wrote:

...
What chapter is that in C Unleashed (you guys didn't do the greatest job of indexing. You did the bitshift stuff and I think a couple more, but the
only way for me to really find anything in that book is sit down and slog through 400 pages. Maybe a cleaner presentation in version 2?)? MPJ


Well chapter 4 is about times and dates. I don't remember offhand if "wall
clock time" is mentioned specifically. It could have been but it isn't a
term that relates specifically to C.

I'm sure the indexing could be improved, but don't forget the chapter list
at the start. I don't see the need to slog through 400 pages to find
relevant sections. :-)


The whole point of a reference text is that you HAVE FORGOTTEN the contents.
Merry Christmas, Lawrence. If you talk to Mr. Heathfield, tell him that C
dreams. MPJ
Nov 14 '05 #12
Merrill & Michele wrote:
"Lawrence Kirby"
Well chapter 4 is about times and dates. I don't remember offhand if "wall
clock time" is mentioned specifically. It could have been but it isn't a
term that relates specifically to C.
It gets a passing mention on page 123, as a cursory inspection of the
relevant chapter will reveal. I found it from scratch in about eight
seconds, so it was no real hardship that the term didn't appear in the
index.

I'm sure the indexing could be improved, but don't forget the chapter list
at the start. I don't see the need to slog through 400 pages to find
relevant sections. :-)

The whole point of a reference text is that you HAVE FORGOTTEN the contents.


"C Unleashed" is not a reference text.
Nov 14 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6704
by: James Harriman | last post by:
Hi, I need to be able to measure a time interval in milliseconds on a windows machine. I have tried using time.clock() but it appears to measure time in seconds...Is there a way to measure time more precisely? Regards, James Harriman v38zy@unb.ca
13
3297
by: Peter Hansen | last post by:
I would like to determine the "actual" elapsed time of an operation which could take place during a time change, in a platform-independent manner (at least across Linux/Windows machines). Using time.time() doesn't appear to be suitable, since time might jump forwards or backwards at the user's whim, if the system clock is reset, or when a daylight savings time change occurs. Using time.clock() doesn't appear to be suitable on Linux,...
8
3412
by: peterbe | last post by:
What's the difference between time.clock() and time.time() (and please don't say clock() is the CPU clock and time() is the actual time because that doesn't help me at all :) I'm trying to benchmark some function calls for Zope project and when I use t0=time.clock(); foo(); print time.clock()-t0 I get much smaller values than when I use time.clock() (most of them 0.0 but some 0.01) When I use time.time() I get values like...
33
47638
by: Pushkar Pradhan | last post by:
I'm using clock() to time parts of my code e.g. clk1 = clock(); /* code */ clk2 = clock(); /* calculate time in secs */ ...... clk1 = clock(); /* code */ clk2 = clock();
1
1772
by: Geert Jansen | last post by:
Hi! I'm trying to profile an application that I believe is blocking on I/O for a significant amount of time. In trying to dig down where this happens, I profiled the application with hotshot. The results are not really usable however as it seems to display the amount of CPU time which for my application is much lower than the total run time. Is possible to use hotshot with wall clock time, i.e. is it possible to have the code fragment...
54
4031
by: CoreyWhite | last post by:
The following experiment is a demonstration of TIME TRAVEL. When writing this program, and testing it out I found that sometimes the program would engage itself in time travel but other times it would not. After careful testing and reprogramming I have optimized the code so it should work every time, however I recommend that you leave the room while it is running and think of something else. It takes about 5 minuets to run so it is...
5
4946
by: pedro.ballester | last post by:
Hi everyone, I am struggling with the following problem. I would like to measure the wall clock time required to run a section of the code with a precision of milliseconds. The attached code does the job on Windows Xp. However, the code is not portable, as it fails to compile on Linux Red Hat. This is the command and the errors: # gcc -c time_loop.c time_loop.c: In function 'main':
2
8911
by: anto.anish | last post by:
Hi - I have been using clock() for calculating CPU time and time() for calculating Wall time. However, since time() does not provided milli/ microsecond accurancy, i started using gettimeofday() as below to calculate walltime, struct timeval tv1,tv2; struct timezone tz1, tz2; gettimeofday(&tv1,&tz1);
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10633
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10114
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5548
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.