It's highly possible you're running on a supported game. I had a vprof1.txt
in that directory once, and it said "no samples". I had thought I created
the file, but it's highly possible it does work. If it doesn't work for
you, I have a horrible, horrible SM extension available. What it does is
capture VProf output text and will write it to a file. What it isn't is
portable across platforms, good, or even not a cat killer. But if you're
after trying the vprof approach, you're welcome to try it. I can probably
fix it up (and make it a MM:S plugin, un-hardcode things) if there's any
interest, but I'm hoping Valve fixes VProf before that happens. I probably
won't compile/support a Windows version as VTrace / Telemetry is probably a
better way forward.

The files will be dumped in the directory that Peter Jerde mentioned
(vprof/). If the directory doesn't exist, you'll probably have to create it
by hand.

http://stuff.plaguefest.com/kyle/vprof.tar.xz

( tar xJvf vprof.tar.xz ) There's only TF and CS:S binaries in there. The
extension can probably be independent, but this isn't intended as a fix,
rather a stopgap. If you've never used a lone extension before, you either
need to manually load it, or create a .autoload file alongside the
extension (VProfExt.autoload).

Hope this helps,
Kyle.

PS: If your cat does die, it was this.


On Mon, May 13, 2013 at 3:54 PM, Peter Jerde <[email protected]> wrote:

>
> On May 13, 2013, at 12:20 PM, Kyle Sanderson <[email protected]> wrote:
>
> > There's no clean way to capture the output from vprof at the time of
> this writing.
>
> Huh?
>
> I put in:
>
> > vprof_on
> > vprof_dump_spikes 20       // dump a vprof report if frame rate drops
> below 20
>
> ... on one of my servers, and it created /tf/vprof/vprof1.txt the first
> time it hit a long frame.
>
> That seems pretty clean to me.
>
>  - Peter
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

Reply via email to