Commit Graph

2480 Commits

Author SHA1 Message Date
Bartosz Taudul
a41db80ff2 Separate thread names from zones in zone view. 2017-09-23 01:29:27 +02:00
Bartosz Taudul
1116ef33c5 No emplace_back in custom vector. 2017-09-23 01:11:06 +02:00
Bartosz Taudul
b62dc57a92 Disallow vector copying, allow moves. 2017-09-23 01:10:48 +02:00
Bartosz Taudul
34aecee1f9 Zone span selection in frame view. 2017-09-23 00:46:15 +02:00
Bartosz Taudul
c0fe0e3e79 Proper initialization order. 2017-09-22 22:25:18 +02:00
Bartosz Taudul
5ba0fa8617 Text string is not a format string. 2017-09-22 22:23:06 +02:00
Bartosz Taudul
081e9eed7d Explicitly specify type. 2017-09-22 22:16:18 +02:00
Bartosz Taudul
7d5ed99f0f Use proper type in printf. 2017-09-22 22:16:18 +02:00
Bartosz Taudul
4c1027c16e Be conformant with standard. 2017-09-22 22:16:18 +02:00
Bartosz Taudul
55e8e8f6af STB namespace is broken on unix. 2017-09-22 22:16:18 +02:00
Bartosz Taudul
893db40bb2 Fix signed vs unsigned comparison. 2017-09-22 22:16:18 +02:00
Bartosz Taudul
6c1d014aa3 Fix implementation errors. 2017-09-22 21:48:21 +02:00
Bartosz Taudul
bd622c304a Limit pthread thread name to 16 bytes.
This is a documented pthread restriction. Passing longer strings has no
effect (i.e. thread name is not set).
2017-09-22 21:45:35 +02:00
Bartosz Taudul
21fd14397d Accumulate drag offset if time delta is less than 1 ns. 2017-09-22 21:39:14 +02:00
Bartosz Taudul
7b3a0057ca Fix double precision issues. 2017-09-22 21:35:06 +02:00
Bartosz Taudul
8d67d59ff3 Remove unused enum. 2017-09-22 21:15:57 +02:00
Bartosz Taudul
5919f5f5e8 No signals on sockets. 2017-09-22 20:02:15 +02:00
Bartosz Taudul
f47b7a1cdf Add simple test application. 2017-09-22 19:32:49 +02:00
Bartosz Taudul
340bf80435 Better thread name retrieval. 2017-09-22 02:10:36 +02:00
Bartosz Taudul
3ea18dcbfd Always display threads in their original appearance order. 2017-09-22 02:02:43 +02:00
Bartosz Taudul
3141d17988 Temporary display of thread name. 2017-09-22 01:59:44 +02:00
Bartosz Taudul
2610004fa5 Store thread id in thread data. 2017-09-22 01:59:44 +02:00
Bartosz Taudul
6525e1b3c1 Thread name queries. 2017-09-22 01:59:44 +02:00
Bartosz Taudul
70ad3407c0 Rework client handling of server requests. 2017-09-22 01:54:04 +02:00
Bartosz Taudul
0f99705243 Add thread name report message. 2017-09-22 01:51:56 +02:00
Bartosz Taudul
7f337fae99 Add identification of server to client query. 2017-09-22 01:51:24 +02:00
Bartosz Taudul
3ba6046a53 Super bad thread name resolution. 2017-09-22 01:50:14 +02:00
Bartosz Taudul
3032745cce Thread names boilerplate. 2017-09-22 01:30:57 +02:00
Bartosz Taudul
d610b9d1a2 Fix typo. 2017-09-22 01:30:43 +02:00
Bartosz Taudul
55fdc47418 Each thread has its own timeline. 2017-09-22 01:15:58 +02:00
Bartosz Taudul
a557a3fb30 Collect and transmit source thread information. 2017-09-22 01:11:53 +02:00
Bartosz Taudul
b0f94f6b45 Add threading helpers. 2017-09-22 01:11:14 +02:00
Bartosz Taudul
6885dc3fd3 Restore support for old SDK versions. 2017-09-22 00:37:28 +02:00
Bartosz Taudul
f6e8eb32ec Sort includes. 2017-09-22 00:36:36 +02:00
Bartosz Taudul
0c0b18615a Use winapi function to set thread name.
Fairly recent Windows SDK is required, unfortunately.
2017-09-21 22:54:44 +02:00
Bartosz Taudul
8a30e1c937 Properly clip function names in zones. 2017-09-21 22:12:19 +02:00
Bartosz Taudul
e3f85d6d74 Display zone source location data. 2017-09-21 22:01:18 +02:00
Bartosz Taudul
5065743bf0 Store zone source location. 2017-09-21 21:57:40 +02:00
Bartosz Taudul
7446e27e60 Display per-frame program execution time. 2017-09-21 02:30:05 +02:00
Bartosz Taudul
bd382fe2b5 Wrap imgui stb into a namespace. 2017-09-21 02:16:27 +02:00
Bartosz Taudul
a5000924a5 Zone display skeleton. 2017-09-21 02:16:01 +02:00
Bartosz Taudul
6217c830a9 64K indices is not enough. 2017-09-21 02:15:48 +02:00
Bartosz Taudul
9da7e58ec5 String getter. 2017-09-21 02:10:20 +02:00
Bartosz Taudul
0b2a98d6b2 Mark frame drawing code segment. 2017-09-21 01:49:01 +02:00
Bartosz Taudul
155c9de767 Fix crash. 2017-09-21 01:41:52 +02:00
Bartosz Taudul
2f645c589d Zoom in/out in zone view. 2017-09-21 01:39:07 +02:00
Bartosz Taudul
a353a7601d Add frame info tooltip. 2017-09-21 01:18:24 +02:00
Bartosz Taudul
b725be87c7 Scrolling zone view. 2017-09-21 01:13:23 +02:00
Bartosz Taudul
c3df475de7 Draw frames in zone view. 2017-09-21 00:57:26 +02:00
Bartosz Taudul
43dc12ca39 Select 3 frames, not 2. 2017-09-20 22:41:05 +02:00