Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to find the CPU burst time (ie) CPU execution time - simple explanation needed

651 views
Skip to first unread message

karthikeyan

unread,
Aug 16, 2004, 9:46:19 AM8/16/04
to
++sir,
I want to know how processor is finding the execution time - CPU
Burst time.
I know that there r lot of scheduling alg.. but in all these alg..
there are with input data ( CPU burst time)
I don't want comparison of alg.. I want how CPU execution time is
calculated.

Moreover one more question instead of taking time for calculating a
complex process's CPU burst time why can't we go for scheduling

To me calculating CPU burst time is a time taking process & its also
needs CPU resource & its overload to CPU.

One more questions
I tried tooooooooo hard to download Borland C++ but none of search
engine help me.tried borland.com ,downloads.com . nothing helped me.

Please help me to solve these issues.
THKS in advance .............

karthik

Jack Klein

unread,
Aug 16, 2004, 11:28:17 PM8/16/04
to
On 16 Aug 2004 06:46:19 -0700, thegrea...@yahoo.co.in
(karthikeyan) wrote in comp.programming:

> ++sir,
> I want to know how processor is finding the execution time - CPU
> Burst time.

Execution time is one thing, and can be measured. What is "CPU burst
time"? There are certain types of memory cycles that can be called
"burst cycles", but they are related to the processor's memory
interface controller and not directly to the CPU. Although of course
memory access time can slow CPU execution time.

> I know that there r lot of scheduling alg.. but in all these alg..
> there are with input data ( CPU burst time)
> I don't want comparison of alg.. I want how CPU execution time is
> calculated.
>
> Moreover one more question instead of taking time for calculating a
> complex process's CPU burst time why can't we go for scheduling
>
> To me calculating CPU burst time is a time taking process & its also
> needs CPU resource & its overload to CPU.
>
> One more questions
> I tried tooooooooo hard to download Borland C++ but none of search
> engine help me.tried borland.com ,downloads.com . nothing helped me.

Very old versions (Turbo C 2.01 and Turbo C++ 1.01) are available from
http://community.borland.com/museum/

The command line tools including the C++ Builder 5.5 compiler is
available from
http://www.borland.com/products/downloads/download_cbuilder.html.

The personal version of Borland's C++ BuilderX complete with IDE for
Windows, Linux, and Solaris is available at
http://www.borland.com/products/downloads/download_cbuilderx.html.

You have to register with Borland and provide some information to get
the free downloads.

> Please help me to solve these issues.
> THKS in advance .............
>
> karthik

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~ajo/docs/FAQ-acllc.html

karthikeyan

unread,
Aug 25, 2004, 12:22:49 AM8/25/04
to
sir,
Thks a lot.
still try too hard to find the execution time for a process.
My question is
"a processor will have certain processes to do.Before doing any
process it will have scheduling algorithm to do that.For that it
should know the execution time for the process.How a process will know
the execution time of the process"
My guess is
"for calculating the exec. time for a process the cpu should
interpret the instruction & should calculate the time or cycles of
process."

is it so?
Please help me .

Jack Klein <jack...@spamcop.net> wrote in message news:<lcu2i09fvh8ea8ro6...@4ax.com>...

0 new messages