"Cliff Hones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Alex Vinokur wrote:
> > http://www.cygwin.com/packages/procps/procps-010801-1-src
> > contains _list_ of procps' sources (including top.c and top.h) :
> > Sun Jan 14 10:40:14 2001 45360 procps-010801/top.c
> > Sun
Alex Vinokur wrote:
> http://www.cygwin.com/packages/procps/procps-010801-1-src
> contains _list_ of procps' sources (including top.c and top.h) :
> Sun Jan 14 10:40:14 2001 45360 procps-010801/top.c
> Sun Jan 14 10:41:29 2001 7242 procps-010801/top.h
>
> Where can one get the s
"Cliff Hones" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Alex Vinokur wrote
> > "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > > On Wed, 10 Sep 2003, Alex Vinokur wrote:
> >
Alex Vinokur wrote
> "Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > On Wed, 10 Sep 2003, Alex Vinokur wrote:
> >
> > > Is there in CYGWIN any system call which gets CPU utilized capacity at
> > > the present
"Igor Pechtchanski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Wed, 10 Sep 2003, Alex Vinokur wrote:
>
> > Is there in CYGWIN any system call which gets CPU utilized capacity at
> > the present moment?
>
[snip]
> I assume the call
On Wed, 10 Sep 2003, Alex Vinokur wrote:
> Is there in CYGWIN any system call which gets CPU utilized capacity at
> the present moment?
> For instance :
> int get_cpu_usage() which returns the percentage of used capacity.
>
> I would like to write in my C-program somet
Is there in CYGWIN any system call which gets CPU utilized capacity at the present
moment?
For instance :
int get_cpu_usage() which returns the percentage of used capacity.
I would like to write in my C-program something like :
if (get_cpu_usage() < 20)
{
foo1(); // calling foo1() will
7 matches
Mail list logo