Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > get the time needed to process one function.

Reply
Thread Tools

get the time needed to process one function.

 
 
Borked Pseudo Mailed
Guest
Posts: n/a
 
      11-30-2008
Ian Collins wrote:
>> The C standard doesn't specify a particular resolution, and you
>> can't even examine the value of CLOCKS_PER_SEC to determine the
>> particular resolution used.

>
> Why not?


Because implementations are allowed to set CLOCKS_PER_SEC
to, say, 1,000,000 but have a resolution of 1/100 of a
second. This is common.

Yours,
Han from China

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get the time needed to process one function. Daffyduck C Programming 8 12-01-2008 06:37 AM
get the time needed to process one function. Nomen Nescio C Programming 0 11-30-2008 10:30 AM
get the time needed to process one function. Nomen Nescio C Programming 0 11-30-2008 04:30 AM
get the time needed to process one function. George Orwell C Programming 4 11-30-2008 03:41 AM
get the time needed to process one function. Nomen Nescio C Programming 0 11-30-2008 01:50 AM



Advertisments