![]() |
|
|
|
#1
|
|||
|
|||
|
It would be much better if code snippets are 1 post for each, else if someone searches for global hotkeys will never search under code timing.
Btw Git, nice approach to detect beeing debugged. |
| The Following User Says Thank You to rasta For This Useful Post: | ||
Indigo (07-19-2019) | ||
|
#2
|
|||
|
|||
|
That C code has become a bit prehistoric these days. I am not sure if timeb is portable either (though certainly with conditional compilation the prior snippet can be made to port on Windows and Linux for low 1ms resolution timer).
Here is STL C++ code for high resolution and portable code, requires no coding and mostly just ugly namespace declaration and templates. Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code snippet for Base34 Encoding | TempoMat | General Discussion | 11 | 03-29-2020 17:58 |
| Any ideas about executing phpinfo() in this code snippet | XnHandt | General Discussion | 0 | 12-28-2012 00:46 |
| How to execute a snippet of code before the main execution! | Android | General Discussion | 8 | 10-04-2006 01:22 |