Commit Graph

330 Commits

Author SHA1 Message Date
Bartosz Taudul
64cfad317d Add zstd to project files. 2020-02-08 15:42:08 +01:00
Bartosz Taudul
022528bb47 Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul
7d78923967 Move parallel sort header mumbo jumbo to a separate file. 2020-01-20 23:21:43 +01:00
Bartosz Taudul
727ac634a9 Redraw window contents during resize. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
5f48b08215 Move profiler render to a separate function. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
3a460d3183 Use _mm_pause() instead of std::this_thread::yield() if possible. 2019-12-31 14:59:54 +01:00
Bartosz Taudul
c6b8c6a3a6 Update ImGui to 1.74. 2019-11-25 22:36:54 +01:00
Bartosz Taudul
31b6ff4bae Release 0.6.0. 2019-11-17 19:56:42 +01:00
Bartosz Taudul
5df7444cbb Replace djb hash with xxh3. 2019-11-07 23:52:52 +01:00
Bartosz Taudul
a62c4135ad Add context switch usage struct. 2019-11-05 01:28:44 +01:00
Bartosz Taudul
654f54d877 Add short pointer class, storing 6 bytes. 2019-11-02 15:43:32 +01:00
Bartosz Taudul
5956366118 Need to explicitly specify gl3w as OpenGL loader. 2019-10-27 12:45:31 +01:00
Bartosz Taudul
a20c6604c3 Add natvis for ContextSwitchData and ContextSwitchCpu. 2019-10-15 14:11:02 +02:00
Bartosz Taudul
e7578777c3 Update ImGui to 1.73. 2019-09-24 23:32:03 +02:00
Bartosz Taudul
82cd667b30 Allow specifying network port in server. 2019-09-21 15:43:01 +02:00
Bartosz Taudul
feddd58b46 Better way to scale ImGui style. 2019-09-21 00:52:13 +02:00
Bartosz Taudul
6f5a23a198 Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
Bartosz Taudul
adfc4eb59b Store UdpListen instance in an unique ptr. 2019-08-29 18:36:55 +02:00
Bartosz Taudul
949c9cb121 Move some view data to a separate structure. 2019-08-28 19:35:54 +02:00
Bartosz Taudul
21e7a4bb16 Extract thread compression into a separate class. 2019-08-19 22:56:58 +02:00
Bartosz Taudul
cef7e4b8d0 Save/load per-cpu context switches. 2019-08-16 16:51:18 +02:00
Bartosz Taudul
9e0fe226df Add small font. 2019-08-16 16:02:57 +02:00
Bartosz Taudul
9417ad994d Save/load context switch data. 2019-08-13 13:10:37 +02:00
Bartosz Taudul
154c902e03 Handle legacy file versions. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
54076e717c Update font awesome to 5.10.1. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
a9b41eb657 Rework processing bad files. 2019-08-12 12:04:27 +02:00
Bartosz Taudul
9b6328f962 Release 0.5.0. 2019-08-10 22:14:14 +02:00
Rokas Kupstys
b391e4c21a Fix multiple build errors when compiling with MinGW. 2019-08-04 15:49:46 +03:00
Bartosz Taudul
526f3a55bc Update imgui to 1.72. 2019-07-30 22:53:52 +02:00
Bartosz Taudul
3e74d041c9 Link with Thread Building Blocks, if available. 2019-07-28 01:53:39 +02:00
Bartosz Taudul
27965e8690 Add user data storage handler. 2019-07-26 23:15:12 +02:00
Bartosz Taudul
16a40f2e1f Revert "Explicitly link with required libraries."
This reverts commit abaa0e8f6e.
2019-07-25 20:41:58 +02:00
Bartosz Taudul
abaa0e8f6e Explicitly link with required libraries.
This fixed clang-cl build.
2019-07-25 18:30:34 +02:00
Bartosz Taudul
7074b8ed8f Display notification popup during trace cleanup. 2019-07-24 23:54:47 +02:00
Bartosz Taudul
57615775ea Migrate to VS2019, vcpkg. 2019-07-24 22:24:17 +02:00
Bartosz Taudul
7fb9bde9e9 Pass big font to TracyView. 2019-07-12 19:16:56 +02:00
Bartosz Taudul
64980a1e6f Use async resolv service. 2019-06-26 18:49:21 +02:00
Bartosz Taudul
5e97e83401 Address can't change. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
913c1e57a6 Add threaded resolv service. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
fadf8e3e0a Can't read negative number of bytes.
This completely ignores error handling, which probably should be added.
The code behavior doesn't change, as the existing comparisons and
asserts already promoted the signed value to unsigned.
2019-06-22 14:08:48 +02:00
Bartosz Taudul
323f0e1ae3 Don't create variable for exception in catch block. 2019-06-22 13:41:24 +02:00
Bartosz Taudul
3fcd73680c Simulate client activity time advancement. 2019-06-18 20:56:42 +02:00
Bartosz Taudul
800d95c089 Display discovered clients activity times. 2019-06-18 20:51:12 +02:00
Bartosz Taudul
1a32edebf2 Extract text printing functions. 2019-06-18 20:43:28 +02:00
Bartosz Taudul
aa5259b20a Use the same port (8086) for both TCP and UDP traffic. 2019-06-18 20:28:03 +02:00
Bartosz Taudul
0e5a7263d9 Define broadcast message, add versioning. 2019-06-18 20:26:40 +02:00
Bartosz Taudul
2d3e7ee796 More aggressive broadcast repeat timeout. 2019-06-18 00:54:58 +02:00
Bartosz Taudul
b8b1fae900 Don't confuse user by suggesting the list is complete. 2019-06-17 20:24:47 +02:00
Bartosz Taudul
11dc8e67e5 Change broadcast rate from 5s to 3s. 2019-06-17 19:57:17 +02:00
Bartosz Taudul
5a359aa376 Allow connecting to broadcasting clients. 2019-06-17 19:50:34 +02:00
Bartosz Taudul
67daff1452 Display list of broadcasting clients. 2019-06-17 19:45:47 +02:00
Bartosz Taudul
36989da2c6 Also store client address. 2019-06-17 19:45:36 +02:00
Bartosz Taudul
265913d969 Process client broadcasts. 2019-06-17 19:34:48 +02:00
Bartosz Taudul
60f0b81faf More compact welcome dialog. 2019-06-17 01:21:55 +02:00
Bartosz Taudul
796ca57067 Update imgui to 1.71. 2019-06-12 22:53:23 +02:00
Bartosz Taudul
84a52c5d62 Add join discord button. 2019-06-11 02:12:34 +02:00
Bartosz Taudul
2cf50427be Add FastVector to natvis. 2019-06-10 01:50:26 +02:00
Bartosz Taudul
646e7327b8 Show loading progress of frame images. 2019-06-06 23:40:37 +02:00
Bartosz Taudul
82d4fe7236 Add texture wrapper. 2019-06-06 22:14:51 +02:00
Bartosz Taudul
76ed1e666f Remove unused variable. 2019-06-02 20:01:19 +02:00
Bartosz Taudul
d5b3ec9503 Locale keeps being changed by system libraries... 2019-06-02 19:59:31 +02:00
Bartosz Taudul
83b838f783 Use C locale for decimal point character. 2019-06-02 19:39:07 +02:00
Bartosz Taudul
7c7e32d49e Set window icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
9e3cf3d387 Add 64x64 embedded png icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
c0326b9ba0 Add stb_image. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
8ae33fbb1e Add icon to win32 profiler executable. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
273a874de9 Update imgui to 1.70. 2019-05-09 18:53:31 +02:00
Bartosz Taudul
cffc6e21d3 Use open to open webpage on osx. 2019-04-04 13:58:13 +02:00
Bartosz Taudul
b43d962194 Set labels for input text fields. 2019-03-15 02:35:27 +01:00
Bartosz Taudul
6a36bb2fc2 Add hints to input text fields. 2019-03-15 01:31:06 +01:00
Bartosz Taudul
98b4b69386 Update imgui to 1.69. 2019-03-15 00:55:53 +01:00
Bartosz Taudul
d3fdd6b1d1 Display standard deviation. 2019-03-14 01:14:06 +01:00
Bartosz Taudul
f69f9d4660 Disable window transparency. 2019-03-07 01:18:24 +01:00
Bartosz Taudul
d5914d2e7b Extract drawing waiting dots. 2019-03-06 18:16:21 +01:00
Bartosz Taudul
a4740c1b1c Add animation to loading progress window. 2019-03-06 02:49:21 +01:00
Bartosz Taudul
2ee86ef126 Display bigger program name in welcome dialog. 2019-02-22 02:44:41 +01:00
Bartosz Taudul
9bd13b02e9 Small string changes in the welcome dialog. 2019-02-22 02:41:13 +01:00
Bartosz Taudul
b33c61cead Update imgui to 1.68. 2019-02-21 18:40:27 +01:00
Bartosz Taudul
8717fe5730 Window position may be negative. 2019-02-12 01:26:14 +01:00
Bartosz Taudul
48c721c4b9 Fix natvis display of exact reserved vector's capacity. 2019-02-10 16:36:09 +01:00
Bartosz Taudul
96e38501b6 Use unformatted text drawing where possible. 2019-02-10 02:50:34 +01:00
Bartosz Taudul
ecdb672130 Add simple checks against invalid window position. 2019-02-10 02:11:59 +01:00
Bartosz Taudul
b7fd0bdc9c Use proper type. 2019-01-29 21:53:56 +01:00
Bartosz Taudul
ac791fd19f Update imgui to 1.67. Also update imguicolortextedit. 2019-01-19 14:05:54 +01:00
Bartosz Taudul
e1bd5c092b Pressing enter key when entering client address automatically connects. 2018-12-22 17:14:22 +01:00
Bartosz Taudul
6fefffe8a5 Implement automated connection to a given IP address. 2018-12-20 17:07:15 +01:00
Bartosz Taudul
dc4c8ef343 Statically link with freetype. 2018-10-27 20:06:54 +02:00
Bartosz Taudul
78beb7bd81 Allow removal of addresses from connection history. 2018-10-23 19:59:11 +02:00
Bartosz Taudul
2af941eadc Allow selection from the 5 most commonly used addresses. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
1eb46042be Track connection history. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
ec50d16076 Add new feature videos to tutorial button. 2018-10-09 19:28:24 +02:00
Bartosz Taudul
28c176d3aa Fix loss of window size and position, if it was maximized. 2018-10-05 20:23:54 +02:00
Bartosz Taudul
9eb04ea817 Update to ImGui 1.65. 2018-09-08 20:31:38 +02:00
Bartosz Taudul
0f72461c3e Fix for GLFW 3.1. 2018-08-31 20:06:38 +02:00
Bartosz Taudul
00fb98ed64 Only show window when it's ready. 2018-08-31 19:40:08 +02:00
Bartosz Taudul
a9dd70251b Save window position, size, maximized state. 2018-08-31 19:38:19 +02:00
Bartosz Taudul
bc886e4287 Save path is not persistent. 2018-08-31 19:38:05 +02:00
Bartosz Taudul
fca71e6e0d Update to imgui 1.64. 2018-08-31 18:37:29 +02:00
Bartosz Taudul
d977fa004d Enable keyboard navigation. 2018-08-30 02:08:08 +02:00
Bartosz Taudul
f1e4d949a0 Update bindings. 2018-08-30 02:01:12 +02:00
Bartosz Taudul
d287250e25 Also update imgui_freetype. 2018-08-30 01:01:23 +02:00
Bartosz Taudul
411f956db2 Save imgui.ini in a common location. 2018-08-29 23:22:54 +02:00
Bartosz Taudul
204cc019ea Add file storage helpers. 2018-08-29 23:22:44 +02:00
Bartosz Taudul
b3b12f76f3 Add LZ4HC support to FileWrite. 2018-08-26 16:25:43 +02:00
Bartosz Taudul
aefa2a9573 Display dialog when CPU doesn't support AVX/AVX2. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
7fc1729f3b Reduce required instruction set to SSE2 in winmain.cpp. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddf889e8bc Move WinMain entry point to a separate source file. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddbc7d5ac2 Add hourglass icon to loading pop-up. 2018-08-17 23:29:32 +02:00
Bartosz Taudul
940dda8fc1 Use helper header for icons. 2018-08-17 23:22:13 +02:00
Bartosz Taudul
bb6b646d6e Add icons to user manual, homepage and tutorial buttons. 2018-08-17 23:08:07 +02:00
Bartosz Taudul
841f18885e Add simple animation controller. 2018-08-17 22:23:04 +02:00
Bartosz Taudul
914a1713e3 Use freetype to render fonts. 2018-08-17 21:40:15 +02:00
Bartosz Taudul
e6ab7692c8 Use Cousine-Regular as monospaced font. 2018-08-17 20:57:26 +02:00
Bartosz Taudul
fe37c4ab80 Scale scrollbar with DPI. 2018-08-17 19:06:30 +02:00
Bartosz Taudul
8eee82b0ce Scale cosmetic UI elements with DPI. 2018-08-17 19:06:14 +02:00
Bartosz Taudul
0de3e088d9 Use icons in main profiler window buttons. 2018-08-17 19:03:35 +02:00
Bartosz Taudul
7cfcdee053 Slightly reduce icons size. 2018-08-17 18:45:04 +02:00
Bartosz Taudul
92284b65e7 Use save file icon. 2018-08-17 18:36:06 +02:00
Bartosz Taudul
9b1af05472 Use power off icon. 2018-08-17 18:33:56 +02:00
Bartosz Taudul
97eb88a839 Use icons in initial connection window. 2018-08-17 18:28:21 +02:00
Bartosz Taudul
3d0b9da592 Merge font awesome into the default font. 2018-08-17 17:56:55 +02:00
Bartosz Taudul
337111f948 Add Font Awesome Solid 5.2.0. 2018-08-17 17:56:33 +02:00
Bartosz Taudul
7f6454d550 Setup window title setter callback. 2018-08-17 17:24:50 +02:00
Bartosz Taudul
b24d9fa044 Declare OpenWebpage() static. 2018-08-17 17:19:06 +02:00
Bartosz Taudul
b76707ffa1 Render main profiler view in whole window. 2018-08-17 17:00:56 +02:00
Bartosz Taudul
df7db3bd2b Notify profiler about root window size. 2018-08-17 16:54:56 +02:00
Bartosz Taudul
c503e3760c Load fixed width font (the default ImGui one for now). 2018-08-17 15:18:37 +02:00
Bartosz Taudul
9dbc56beb6 Initialize text editor. 2018-08-17 14:44:41 +02:00
Bartosz Taudul
6bf7b85260 Add file existence check. 2018-08-17 13:35:33 +02:00
Bartosz Taudul
a54191cb3c Rename "standalone" to "profiler". 2018-08-07 22:26:37 +02:00