https://github.com/followingthefasciaplane/sm-tick-precision
logs data about inconsistencies in server frametime and tick precision
https://github.com/followingthefasciaplane/sm-tick-precision
cstrike dev engine frametime logging netcode plugin profiler sm source source-engine sourcemod sourcepawn tick tickrate
Last synced: 29 days ago
JSON representation
logs data about inconsistencies in server frametime and tick precision
- Host: GitHub
- URL: https://github.com/followingthefasciaplane/sm-tick-precision
- Owner: followingthefasciaplane
- Created: 2024-06-20T11:28:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-20T15:48:36.000Z (10 months ago)
- Last Synced: 2025-01-30T11:44:36.333Z (3 months ago)
- Topics: cstrike, dev, engine, frametime, logging, netcode, plugin, profiler, sm, source, source-engine, sourcemod, sourcepawn, tick, tickrate
- Language: SourcePawn
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## features
creates four logfiles in `sourcemod/logs/frametime`
- log 1. logs engine time differences per tick, every tick
- log 2. logs engine time difference averages and standard deviation over 10 ticks
- log 3. same as log 2 but 100 ticks
- log 4. same as log 2 but 1000 ticksnote: ignore the first value of each logfile. first one is mega skewed
## usage
- `sm_framelog prefix tickcount`
- `prefix` is the prefix to include in the logfile names
- `tickcount` is for how many ticks you want to log (min: 1, max: 9999)example: `sm_framelog test 5000` will log 5000 ticks in 4 files with test in their name
## cvars
generated in `sourcemod/configs/frametime_deviation.cfg`
```
// Enable frame time deviation logging for 1000 ticks
// -
// Default: "1"
sm_frametime_enable_1000_ticks "1"// Enable frame time deviation logging for 100 ticks
// -
// Default: "1"
sm_frametime_enable_100_ticks "1"// Enable frame time deviation logging for 10 ticks
// -
// Default: "1"
sm_frametime_enable_10_ticks "1"// Enable frame time per tick logging
// -
// Default: "1"
sm_frametime_enable_per_tick "1"
```