Re: Portable time profiling function
- From: Logan Shaw <lshaw-usenet@xxxxxxxxxxxxx>
- Date: Tue, 28 Aug 2007 23:49:17 -0500
Bin Chen wrote:
I want to write down the time the CPU run across a line of my program,
with milli second precision. Which function can I use? I know there is
a function of gettimeofday() but I think it is too heavyweight,
gettimeofday() seems will read many disk files...
You're making an assumption there. I just did a quick test and it didn't
appear to read any disk files at all.
- Logan
.
- References:
- Portable time profiling function
- From: Bin Chen
- Portable time profiling function
- Prev by Date: Re: pipes
- Next by Date: Re: pipes
- Previous by thread: Portable time profiling function
- Next by thread: Re: Portable time profiling function
- Index(es):
Relevant Pages
|
|