[Info-vax] How much of VMS is still in MACRO-32?
Jan-Erik Söderholm
jan-erik.soderholm at telia.com
Wed Jun 2 10:03:42 EDT 2021
Den 2021-06-02 kl. 15:08, skrev Arne Vajhøj:
> On 6/1/2021 9:34 PM, Craig A. Berry wrote:
>> On 6/1/21 12:33 PM, Stephen Hoffman wrote:
>>> On 2021-06-01 15:27:34 +0000, Marc Van Dyck said:
>>>> Don't you do that with Source Code Analyzer, for languages that support
>>>> it ?
>>
>>> I use DECset SCA and PCA only rarely, as few sites have licenses for
>>> that. Which means using symbol tables and maps, and the debugger,
>>> and preferably refactoring where permitted.
>>
>> And as far as I remember PCA doesn't work on shareable images, which
>> means on any kind of application with a semi-modern architecture, you
>> either do without
>
> Would it ignore the time spent in the shareable image or would it just
> count it as being spent in the calling code?
Hm... Aren't the code in sharable images mapped into local process space
and run just as if it had been in a locally loaded image? Does it make
any differnce from the outside? I mean, if you don't start looking at
actual physical addresses where the code is loaded into memory.
>
> The latter may be good enough for many purposes.
>
>> or you mangle your build procedures to make a static
>> version, which in turn makes the results of any performance analysis
>> somewhat suspect for drawing conclusions about the real-world application.
>
> It would be a hassle. And if it is external code then one may not even
> be able to do it.
>
> But why do you expect a big difference in result due to static
> linking?
>
> Arne
>
More information about the Info-vax
mailing list