Article View: rec.games.programmer
Article #1986Watcom: how to sample program on another PC?
From: Martoon
Date: Wed, 16 Aug 1995 16:24
Date: Wed, 16 Aug 1995 16:24
18 lines
1430 bytes
1430 bytes
How do I sample and profile my Watcom C/C++ 10.0 dos4gw program on a machine other than the one I am developing it on? I put my executable (testwarp.exe) and wsamprsi.exe on a floppy, put the floppy in another machine, go to the A: prompt, and type "wsamprsi testwarp.exe". It runs and samples the program as it should, then I copy the testwarp.smp file into the directory on the development machine where I have all the files for that project. When I run the profiler on testwarp.smp, though, it wants to use A:testwarp.exe (on the floppy) as the image file, and the profile only gives me the lowest level (assembly code) with no source code modules. I can't get it to look at the files it needs to on the development machine to give me a full source code profile. Surely there must be some fairly straightforward way to sample a program on other machines, since one of the main uses of the sampler/profiler is to optimise for speed on several machines. Any help or ideas appreciated, Marty
Technical Details
Message-ID:
<40t64k$cbt@duck.inetnebr.com>Path:
arc1-ca.pugleaf.net!news.inetnebr.com!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.inetnebr.com!usenet From: mrabens@herbie.unl.edu (Martoon) Newsgroups: rec.games.programmer,comp.lang.c,comp.lang.c++ Subject: Watcom: how to sample program on another PC? Date: 16 Aug 1995 16:24:52 GMT Organization: Toontown Message-ID: <40t64k$cbt@duck.inetnebr.com> NNTP-Posting-Host: cse.unl.edu Mime-Version: 1.0 X-Newsreader: WinVN 0.93.14 Originator: wayne@cse.unl.edu