- Joined
- Aug 24, 2012
- Messages
- 603
- Reaction score
- 300
Hi,
I've been running into a couple of things regarding some equations lately.
I'm trying to make up an algorithm / formula to calculate time remaining when deleting a file
There's 4 factors
File size, Processor (ghz), Memory and how many tasks running (shown by percentage*)
For starters I tried
(size / (cpu * memory)) / tasks
Though, the number it produced was too low.
* Percentage;
1 task is 100%
2 tasks is 50%
3 tasks is 33.3%
4 tasks is 25%
and for each task, each task would take longer to finish. I have no idea how I would go by doing this.
Thanks in advance, Dominic
I've been running into a couple of things regarding some equations lately.
I'm trying to make up an algorithm / formula to calculate time remaining when deleting a file
There's 4 factors
File size, Processor (ghz), Memory and how many tasks running (shown by percentage*)
For starters I tried
(size / (cpu * memory)) / tasks
Though, the number it produced was too low.
* Percentage;
1 task is 100%
2 tasks is 50%
3 tasks is 33.3%
4 tasks is 25%
and for each task, each task would take longer to finish. I have no idea how I would go by doing this.
Thanks in advance, Dominic