Re: Algorithm for determining % complete of a program



On 25 Jul 2006 14:34:44 -0700, mross462@xxxxxxxxx wrote:

Hello all,

I'm wondering if there someone could help me investigate an algorithm
for determining the progression status (% complete) of an application
that I'm currently working on. It currently has 4 phases where
different data can be obtained from the program to obtain this
progression status. The application is devided into the following sub
processes, with their corresponding data references.

1. Intialization of objects. (# of types of objects are known)
2. Reading and validating each member of a particular object from a
file. (# of bytes in file read)
3. Validating objects with common values (# of objects with common
values known)
4. Writing a file with the validity tags and addresses of objects (Same
as above)
5. Removing all objects and clearing memory (same as above)

If anyone could point me in a good direction, it would be appreciated.

Thanks
An alternative approach, just display five messages:

"Stage 1 of 5: Initializing"
"Stage 2 of 5: Reading"
"Stage 3 of 5: Validating"
"Stage 4 of 5: Writing"
"Stage 5 of 5: Cleanup"

rossum





.



Relevant Pages

  • Re: daemons, sockets and ssh
    ... But does it ever make sense to have 0 open for writing, ... open for reading? ... It's very common. ... opening the terminal on fd 0 read/write and then duping it onto 1 and 2. ...
    (comp.unix.shell)
  • Re: Myopia - is my situation weird or what ???
    ... > "It seems that myopic progression is connected with much use of the ... > eyes in reading and close work and with short reading distance but that ... > ADMIT that "myopic progression is connected with much use of the eyes ... myopic defocus speeds up myopia ...
    (sci.med.vision)
  • Re: what direction do you write in jappanese.
    ... Signs, lazy Japanese teens, left handed writers, ... The right to left progression is fine for writing in most cases, ... but if you know about brush writing, it's messy as a right handed person ...
    (sci.lang.japan)
  • Re: Whats this cadence?
    ... imply a IVV I progression but it does seem to cadence and I'm ... It's quite common, ... bass progression does seem to make it so but the melody somewhat seems to ...
    (rec.music.theory)
  • Indirect and Address Functions to Determine Schedule
    ... I am struggling with writing an Excel formula that I would greatly ... progression it takes, in months, to move from one 'level' to the next. ...
    (microsoft.public.excel.misc)