summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-15 17:39:01 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-15 17:39:01 -0500
commit5b965d180a1f536affd51ffc2b51d5e90fbc362d (patch)
treea29771be30da5e6d7dd84be58bbcbffe49d4b98b /doc
parent80dd0c8e510f57774e4ec4c2246108259bb26b4d (diff)
Add SDL_GetPerformanceCounter and SDL_GetPerformanceFrequency bindings.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index ed79da5..3c4e645 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -44,6 +44,14 @@ Return the number of milliseconds since the SDL library was
initialized.
@end deffn
+@deffn {Procedure} sdl-performance-counter
+Return the current value of the high resolution counter.
+@end deffn
+
+@deffn {Procedure} sdl-performance-frequency
+Return the count per second of the high resolution counter.
+@end deffn
+
@node Window Management
@section Window Management