coastline 0.0.4
Loading...
Searching...
No Matches
framestatistics.h
Go to the documentation of this file.
1#ifndef COASTLINE_FRAMESTATISTICS_H
2#define COASTLINE_FRAMESTATISTICS_H
3
4#include "common/frameclock.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
11#define GAME_FPS_FRAME_TIME_SAMPLE_COUNT 5
12
19
21#define FPS_FRAME_TIME_SAMPLE_COUNT 120
22
28extern int g_dwFpsSampleFrames;
29
35extern int g_dwFpsFrameCountdown;
36
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* COASTLINE_FRAMESTATISTICS_H */
The ticks of the frames of a race of the Boss Rally release, at 30 frames a second.
unsigned g_adwGameFpsFrameTimeSamples[GAME_FPS_FRAME_TIME_SAMPLE_COUNT]
Recent game-loop durations in milliseconds.
int g_dwFpsSampleFrames
The number of frames the frame rate is averaged over.
int g_dwFpsFrameCountdown
The entry of g_adwFpsFrameTimeSamples written last, negative before the first frame.
unsigned g_adwFpsFrameTimeSamples[FPS_FRAME_TIME_SAMPLE_COUNT]
The times of the last frames, in milliseconds.
#define FPS_FRAME_TIME_SAMPLE_COUNT
The number of entries of g_adwFpsFrameTimeSamples.
Definition framestatistics.h:21
#define GAME_FPS_FRAME_TIME_SAMPLE_COUNT
The number of game-loop durations in the native averaging window.
Definition framestatistics.h:11