Commit Graph

1921 Commits

Author SHA1 Message Date
Bartosz Taudul
df7db3bd2b Notify profiler about root window size. 2018-08-17 16:54:56 +02:00
Bartosz Taudul
9416f5bb49 Add close button to loaded traces (not the window close one). 2018-08-17 16:34:58 +02:00
Bartosz Taudul
f0b6c5b447 Update NEWS. 2018-08-17 15:39:09 +02:00
Bartosz Taudul
facae0b9e1 Draw text editor with potential source code. 2018-08-17 15:33:12 +02:00
Bartosz Taudul
77a875ff6b Always scroll source to selected line. 2018-08-17 15:28:56 +02:00
Bartosz Taudul
d45efbe640 Don't reload source file, if it's already there. 2018-08-17 15:24:52 +02:00
Bartosz Taudul
5dc3d73ad6 Set cursor on proper line. 2018-08-17 15:21:37 +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
5cd61c4b07 Text editor needs fixed-width font. 2018-08-17 15:18:09 +02:00
Bartosz Taudul
f3cc5cfd07 Use proper font in ImGuiColorTextEdit. 2018-08-17 15:10:58 +02:00
Bartosz Taudul
5bd35eb34e Open file preview in text editor. 2018-08-17 14:54:28 +02:00
Bartosz Taudul
9dbc56beb6 Initialize text editor. 2018-08-17 14:44:41 +02:00
Bartosz Taudul
a90ed5b4b8 Wrap ImGuiColorTextEdit in tracy namespace. 2018-08-17 14:38:57 +02:00
Bartosz Taudul
1529fa5b42 Add ImGuiColorTextEdit.
https://github.com/BalazsJako/ImGuiColorTextEdit.git
1fbba2fe8da83139a39789ea4ef8ca3077143b79
2018-08-17 14:31:33 +02:00
Bartosz Taudul
ff3774d8f2 List contributors in manual. 2018-08-17 14:31:00 +02:00
Bartosz Taudul
bb3b5f6904 Add better version of tl;dr license. 2018-08-17 14:23:49 +02:00
Bartosz Taudul
68c9d09685 Include license in the manual. 2018-08-17 14:17:47 +02:00
Bartosz Taudul
6bf7b85260 Add file existence check. 2018-08-17 13:35:33 +02:00
Bartosz Taudul
27b2851291 Declare Vector moves as noexcept. 2018-08-17 13:10:27 +02:00
Bartosz Taudul
e8faafefb2 Add URL to license. 2018-08-15 13:19:49 +02:00
Bartosz Taudul
a7561f1956 Add project name to license. 2018-08-15 12:57:22 +02:00
Bartosz Taudul
ebb6e2c453 Update NEWS. 2018-08-14 18:49:13 +02:00
Bartosz Taudul
8cbb518f28 Display average allocation sizes. 2018-08-14 18:48:29 +02:00
Bartosz Taudul
df14cf5330 Implement callstack tree of memory allocations. 2018-08-14 18:37:06 +02:00
Bartosz Taudul
c2c0f887aa Display srcloc, callstack counts. 2018-08-14 16:41:27 +02:00
Bartosz Taudul
b75b198f7e Apple sucks. 2018-08-14 14:22:15 +02:00
Bartosz Taudul
2ba5aeec5a Add performance impact section to the manual. 2018-08-14 14:06:53 +02:00
Bartosz Taudul
6f2a598b6a Not only games use frames. 2018-08-14 13:24:37 +02:00
Bartosz Taudul
823aed185a Move zone filtering to zone markup section. 2018-08-14 13:04:00 +02:00
Arvid Gerstmann
8f961b7c8a Merged in Leandros99/tracy/explicit-init (pull request #22)
Explicit init
2018-08-13 16:47:46 +00:00
Arvid Gerstmann
dab0b34303 Reduce the amount of macros, add docs 2018-08-13 18:32:27 +02:00
Arvid Gerstmann
076e83635b Add possibility to explicitly avoid logging 2018-08-13 14:47:52 +02:00
Bartosz Taudul
c4ea13dab5 Static initialization order test. 2018-08-13 12:13:28 +02:00
Bartosz Taudul
a15a287a6b Don't over-allocate vectors, when exact needed size is known.
This reduces memory usage when loading saved traces. Memory usage
reduction observed on a selected number of traces:

5625.76 MB -> 5330.29 MB
3292.94 MB -> 2978.66 MB
632.77 MB  -> 479.58 MB
681.32 MB  -> 506.27 MB
11.9 GB    -> 11.22 GB
854.21 MB  -> 806.17 MB
10.57 GB   -> 7175.31 MB
67.38 MB   -> 66.63 MB
2026.12 MB -> 1744.2 MB
86.55 MB   -> 85.57 MB
343.64 MB  -> 244.81 MB
201.93 MB  -> 162.25 MB
2018-08-09 19:41:15 +02:00
Bartosz Taudul
a14a6fa8fb Don't shadow variables. 2018-08-09 19:41:15 +02:00
Bartosz Taudul
dbf4de0694 Allow exact size allocations in Vector. 2018-08-09 19:41:15 +02:00
Bartosz Taudul
68dd90cb94 Also display exact memory allocation size. 2018-08-09 02:27:55 +02:00
Bartosz Taudul
92c1685528 Fix shortening of negative memory values. 2018-08-09 02:25:47 +02:00
Bartosz Taudul
4a12e14a1b Rewording. 2018-08-08 22:24:50 +02:00
Bartosz Taudul
6d9215ac65 Add a markup quick start guide. 2018-08-08 22:24:11 +02:00
Bartosz Taudul
0e0d5a8d5d Add a notice about client memory usage. 2018-08-08 22:13:09 +02:00
Bartosz Taudul
3e9d7fa3bd Grammar fix (?). 2018-08-08 22:11:54 +02:00
Bartosz Taudul
f9740328d2 Put timing information together. 2018-08-08 22:01:57 +02:00
Bartosz Taudul
e6fa665921 Move lua performance notice. 2018-08-08 21:51:59 +02:00
Bartosz Taudul
887836eca6 Describe defines that change server operation. 2018-08-08 21:45:37 +02:00
Bartosz Taudul
49e9f10438 Split first steps section of the manual. 2018-08-08 21:45:13 +02:00
Bartosz Taudul
96ecf47ecf Add profiler FPS and memory usage to info window. 2018-08-08 20:53:01 +02:00
Bartosz Taudul
596727e135 Update NEWS. 2018-08-08 20:39:16 +02:00
Bartosz Taudul
4a9cbafc7e Proper formatting of memory sizes. 2018-08-08 20:38:58 +02:00
Bartosz Taudul
7d465aab1d Add memory size formatting. 2018-08-08 20:38:58 +02:00