Actually, it is true that it displays the last value under 1000fps. From
vgui_netgraphpanel.cpp:
void CNetGraphPanel::UpdateEstimatedServerFramerate( INetChannelInfo
*netchannel )
{
        float flFrameTime;
        netchannel->GetRemoteFramerate( &flFrameTime,
&m_flServerFramerateStdDeviation );
        if ( flFrameTime > 0.001f )
        {
                m_flServerFramerate = 1.0f / flFrameTime;
        }
}

m_flServerFramerate is what is displayed on the netgraph (see
CNetGraphPanel::DrawTextFields) and m_flServerFramerate is updated only if
flFrameTime > 0.001 (i.e. less than 1000fps). All it takes is a single frame
to take longer than normal for you to dip below a calculated 1000fps which
may explain why you see it getting stuck at values the server never seemed
to report.

There is no integer overflow as far as I am aware.

-----Original Message-----
From: hlds_linux-boun...@list.valvesoftware.com
[mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Steven
Hartland
Sent: Monday, August 02, 2010 12:02 PM
To: Half-Life dedicated Linux server mailing list
Subject: Re: [hlds_linux] High FPS?

Pretty much what Tony said expect it doesn't seem to be true that it
displays the last value under 1000 fps, as it often gets stuck at values the
servers never reported. We suspect that there is also an int overflow in
play here which makes the output totally meaningless.

Alternatively it could well be the server is reporting some other
measurement of fps which isn't consistent with the actual achieved fps due
to a measurement error introduced by the high fps.

    Regards
    Steve

----- Original Message -----
From: "Tony Paloma" <drunkenf...@hotmail.com>


> The net graph won't display server fps values 1000 or higher and will
> instead display the last received value that was under 1000 fps. Instead
you
> can monitor the value right of "var:" to ensure server fps variance
remains
> low.
> 
> -----Original Message-----
> From: hlds_linux-boun...@list.valvesoftware.com
>
> In that page the negraph are never showing values over 990fps... even when
> set to 10k...
> 
> How are those test done?
> 
> 20k fps can be done and should appear on the netgraph too.... not only in
> rcon stats... right?


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the
person or entity to whom it is addressed. In the event of misdirection, the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to