mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
some closestpos debug prints
This commit is contained in:
parent
487e3db9d0
commit
2616712c9e
@ -1868,6 +1868,11 @@ bool DefaultLoadReplay(frame_cache_t cache, int style, int track)
|
|||||||
if (gB_ClosestPos)
|
if (gB_ClosestPos)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
PrintToServer("about to create closestpos handle with %d %d %d %d",
|
||||||
|
gA_FrameCache[style][track].aFrames,
|
||||||
|
0,
|
||||||
|
gA_FrameCache[style][track].iPreFrames,
|
||||||
|
gA_FrameCache[style][track].iFrameCount);
|
||||||
Profiler p = new Profiler();
|
Profiler p = new Profiler();
|
||||||
p.Start();
|
p.Start();
|
||||||
#endif
|
#endif
|
||||||
@ -3744,7 +3749,7 @@ float GetClosestReplayTime(int client)
|
|||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
profiler.Stop();
|
profiler.Stop();
|
||||||
PrintToConsole(client, "iClosestFrame(%fs) = %d", client, profiler.Time, iClosestFrame);
|
PrintToConsole(client, "iClosestFrame(%fs) = %d", profiler.Time, iClosestFrame);
|
||||||
delete profiler;
|
delete profiler;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user