- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to profile some code, but have a few questions.
First, it still appears that the profiler lumps all function timing into the first routine in a file. It looks like I need to split my files up into pieces and modify my project to get any meaningful timing results. Has this been fixed yet?
Can someone tell me how to find out what functions like __OtsFill (sfill.obj) do? I don't recognize the name and I assume this is coming from the run-time libraries.
Does the /STACK option work with PREP? I seem to always get a depth of 2, even if I specify something else.
First, it still appears that the profiler lumps all function timing into the first routine in a file. It looks like I need to split my files up into pieces and modify my project to get any meaningful timing results. Has this been fixed yet?
Can someone tell me how to find out what functions like __OtsFill (sfill.obj) do? I don't recognize the name and I assume this is coming from the run-time libraries.
Does the /STACK option work with PREP? I seem to always get a depth of 2, even if I specify something else.
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "lumping" problem is caused by a bug in the profiler that MS has told us it will not fix. You can work around it by compiling your application with /iface:cref (Settings..Fortran..Calling mechanism..C, by reference).
The Ots routines are from the run-time library. OtsFill fills a section of memory with a byte value (usually 0).
I don't know the answer to your /STACK question.
Steve
The Ots routines are from the run-time library. OtsFill fills a section of memory with a byte value (usually 0).
I don't know the answer to your /STACK question.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, but /iface:cref does not seem to make it. To get individual
function timing I still have to split my program.
And can the profiler be trusted to reflect the actual execution times?
It seems to take 50 times longer to execute than without profiling?
Michael
function timing I still have to split my program.
And can the profiler be trusted to reflect the actual execution times?
It seems to take 50 times longer to execute than without profiling?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you ask only for timings, the profiler shouldn't materially increase execution time. If you ask for other things, such as function counts, it will.
You may want to download the free trial of Intel's VTune Performance Analyzer - it's lightyears better than the MS profiler.
Steve
You may want to download the free trial of Intel's VTune Performance Analyzer - it's lightyears better than the MS profiler.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the reply. I shall look at the options, just used the
defaults.
I actually am the owner of an earlier version of Vtune and have tested
never versions. The last I tried did NOT have the all-important ability
to give the time (fraction) used in function + child, but only that for
the individual function.
I would appreciate to know if this feature is available in more recent
versions of VTune.
Regards,
Michael
defaults.
I actually am the owner of an earlier version of Vtune and have tested
never versions. The last I tried did NOT have the all-important ability
to give the time (fraction) used in function + child, but only that for
the individual function.
I would appreciate to know if this feature is available in more recent
versions of VTune.
Regards,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not familiar with the details of VTune - you can download a free trial version and try it yourself.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page