A simple test should suffice to prove it (call sleep() and see if it
contributes to your times).
The output from `gprof' gives no indication of parts of your program
that are limited by I/O or swapping bandwidth. This is because samples
of the program counter are taken at fixed intervals of the program's
run time. Therefore, the time measurements in `gprof' output say
nothing about time that your program was not running. For example, a
part of the program that creates so much data that it cannot all fit in
physical memory at once may run very slowly due to thrashing, but
`gprof' will say it uses little time. On the other hand, sampling by
run time has the advantage that the amount of load due to other users
won't directly affect the output you get.
Hope it helps,
"I'd rather write programs to write programs than write programs."
I try to make a fonction to convert a local time in UT time. i try to
mktime + gmtime + timezone + daylight.... but the result is not OK.
Please help me....
The problem is the same when i try to convert a UT time in Local
my imput date format is : 'YYYYMMDDHHMMSS'.
I'am a beginner on Unix (and in english).....
Does anyone know about a function or an example (in C) .
Thanks for any help.