real = sum( for all processes, p ){ user(p) + sys(p) };
Modern computer systems are "time share" systems so the one process you timed isn't the only process getting CPU time. In fact, in the "for all processes", you need to include "the idle 'process'".
- tye
In reply to Re: Timer implementation (time sharing)
by tye
in thread Timer implementation
by bash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |