An open API service indexing awesome lists of open source software.

https://github.com/moritzrinow/winwatch

Simple, high precision stopwatch for Windows written in C
https://github.com/moritzrinow/winwatch

benchmark stopwatch-in-c windows

Last synced: 2 months ago
JSON representation

Simple, high precision stopwatch for Windows written in C

Awesome Lists containing this project

README

          

# winwatch
Simple, high precision stopwatch for Windows written in C

```C
WinWatch w = StartWinWatch();

for (int i = 0; i < 1000; i++) {
void *mem = malloc(1000000);
free(mem);
}

StopWinWatch(w);

double elapsedMs = WinWatchElapsedMilliD(w);
printf("ElapsedMs: %f\n", elapsedMs);
```