Тёмный
No video :(

High Precision Timing on Windows in C 

Nick Walton
Подписаться 6 тыс.
Просмотров 2 тыс.
50% 1

Опубликовано:

 

25 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@10e999
@10e999 Год назад
Subscribed. Great to see more advance channels on system programming.
@UltimaN3rd
@UltimaN3rd Год назад
Cheers mate 😊 Plenty more videos to come!
@UltimaN3rd
@UltimaN3rd 2 года назад
Addendum: There are some undocumented ways to improve the accuracy and precision of Sleep(). Read about that, with full code examples in the text version of this tutorial: croakingkero.com/tutorials/win32_timing/#Addendum
@boddydaboss
@boddydaboss Год назад
First off this content related to this playlist is amazing. Your website is top notch as well. I've been running into issues rate limiting my windowed application at this time, is there a different route of limiting outside of a console application?
@ginalley
@ginalley Год назад
amazimg, thank you!
@UltimaN3rd
@UltimaN3rd Год назад
You're welcome mate 🫡
@viewererdos
@viewererdos 9 месяцев назад
Is there really no high-precision time measurement built-in in the standard C library?
@UltimaN3rd
@UltimaN3rd 8 месяцев назад
Nope! On Windows you'll need the code I showed here, and in Linux you can use posix 👍
@viewererdos
@viewererdos 2 месяца назад
​@@UltimaN3rd I studied QPF and QPC a little. I don’t understand the meaning of QPF, it always returns exactly 10 million.
@echoptic775
@echoptic775 2 года назад
I was curious what happened to this channel after i saw the switching to c and update video. Then i see u making windows exclusive content and im a little dissapointed
@UltimaN3rd
@UltimaN3rd 2 года назад
Don't worry mate, I'm not doing Windows content because I love Windows but because I want to teach C at the lowest level for game development. Windows is the most common OS so I covered it first but I'll do Linux soon as well.
@echoptic775
@echoptic775 2 года назад
@@UltimaN3rd there are ways to do things crossplatform, probably not everything but there are libraries like sdl2 for example
@UltimaN3rd
@UltimaN3rd 2 года назад
@@echoptic775 Yeah of course. I'd rather teach people to write platform code themselves though. It's not always best to write your own platform code, but when you have specific requirements for timing, windowing or whatever, it's a lot easier if you wrote your own platform code than if you're using a library.
@paulcosta8297
@paulcosta8297 11 месяцев назад
I love the choice for C on Windows. Way more valuable and specialized content that way.
Далее
Multi-Threaded Game Framework in C
6:56
Просмотров 6 тыс.
How does QueryPerformanceCounter measure time?
31:44
Просмотров 24 тыс.
Ajdarlar...😅 QVZ 2024
00:39
Просмотров 232 тыс.
Switching to C - One Year Later
4:43
Просмотров 58 тыс.
microsoft doubles down on recording your screen
10:00
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 706 тыс.
NVIDIA Needs to STOP - RTX 3050 & Misleading Branding
11:35
Faster than Rust and C++: the PERFECT hash table
33:52
Просмотров 550 тыс.
C++ vs Rust: which is faster?
21:15
Просмотров 389 тыс.
Rust and RAII Memory Management - Computerphile
24:22
Просмотров 225 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 354 тыс.