mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 15:08:19 +00:00
Consider time_freq()
This commit is contained in:
parent
c4d71c7ef4
commit
88780cb495
|
@ -65,7 +65,7 @@ int main(int argc, char **argv) // ignore_convention
|
|||
continue;
|
||||
|
||||
int64 endTime = time_get();
|
||||
printf("%g ms\n", (double)(endTime - startTime) / 1000);
|
||||
printf("%g ms\n", (double)(endTime - startTime) / time_freq() * 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue