|
Size: 741
Comment: update content - possible RV? RF?
|
Size: 696
Comment: update content - w/ Sam; remove draft
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 16: | Line 15: |
| Returns the counter value on success, or ^a default value^ on failure,,; call [[SDL_GetError]]() for more information,,. | Returns the current counter value. |
| Line 24: | Line 23: |
| ''You can add useful comments here'' | These counter values are only meaningful relative to each other. Differences between values can be converted to times by using [[SDL_GetPerformanceFrequency]](). |
| Line 27: | Line 26: |
| .[[SDL_GetPerformanceFrequency]] ??? .[[SDL_GetTicks]] ??? |
.[[SDL_GetPerformanceFrequency]] |
SDL_GetPerformanceCounter
Use this function to get the current value of the high resolution counter.
Syntax
Uint64 SDL_GetPerformanceCounter(void)
Return Value
Returns the current counter value.
Code Examples
You can add your code example here
Remarks
These counter values are only meaningful relative to each other. Differences between values can be converted to times by using SDL_GetPerformanceFrequency().
