"_mario lat" <ma*******@libero.it> wrote in message
news:vO*********************@twister1.libero.it...
I try to fing on google but I have not find someting.
How can I get the CPU time ?
How can I know the true time my code spend?
Thank you in advance, Mario.
You could use the clock() function for this.
Alternatively you might consider using a profiler. Some versions of VC++
come with a profiler which can tell you how long your program takes to
execute and in which functions most time is spend. There are also third
party profilers from for example Numega and AutomatedQA which are more
sophisticated than the profiler that comes with VC++. Questions about tools
specific for
your development environment are best asked in one of the
microsoft.public.vc.* groups or comp.os.ms-windows.programmer.
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl