introduce a benchmark mode

This commit is contained in:
tildearrow 2022-07-19 17:01:19 -05:00
parent a4741861ce
commit cd7b333b2d
4 changed files with 119 additions and 2 deletions

View file

@ -477,6 +477,10 @@ class DivEngine {
// notify wavetable change
void notifyWaveChange(int wave);
// benchmark (returns time in seconds)
double benchmarkPlayback();
double benchmarkSeek();
// returns the minimum VGM version which may carry the specified system, or 0 if none.
int minVGMVersion(DivSystem which);