1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Commit Graph

  • 807d3c42be Use slab allocator for server allocations. Bartosz Taudul 2017-10-21 13:01:57 +02:00
  • 07cb693cbb Separate slab init/noinit allocation functions. Bartosz Taudul 2017-10-21 12:54:12 +02:00
  • ad338a7cfd Fix message literals. Bartosz Taudul 2017-10-21 12:39:26 +02:00
  • 3a0d77a35a Send messages in test application. Bartosz Taudul 2017-10-20 18:30:28 +02:00
  • f1da7c1c85 Force TLS block creation on cygwin before malloc. Bartosz Taudul 2017-10-20 18:28:25 +02:00
  • e5e39d352b Relax language requirements. Bartosz Taudul 2017-10-20 00:25:39 +02:00
  • f822455832 Increase send buffer size. Bartosz Taudul 2017-10-19 23:48:16 +02:00
  • b7800be627 Perform bulk insertion of plot points. Bartosz Taudul 2017-10-19 23:26:21 +02:00
  • cc1715ae98 Implement Vector::insert( it, begin, end ). Bartosz Taudul 2017-10-19 23:26:02 +02:00
  • 82476a310c Implement Vector::clear(). Bartosz Taudul 2017-10-19 23:25:49 +02:00
  • cf94b1d2e8 Add missing locks. Bartosz Taudul 2017-10-19 23:10:47 +02:00
  • 476597f5ed Adaptive display compression range. Bartosz Taudul 2017-10-19 21:04:57 +02:00
  • 44cc0827d4 Store pointers to PlotItems. Bartosz Taudul 2017-10-19 21:04:11 +02:00
  • 7329eb6e99 Display plot points count with separators. Bartosz Taudul 2017-10-19 20:34:48 +02:00
  • 026a27aa05 Implement front() in custom vector. Bartosz Taudul 2017-10-19 20:34:07 +02:00
  • 6e4343c043 Use custom vector to store plot items. Bartosz Taudul 2017-10-19 20:14:31 +02:00
  • 0519df4dfc Reduce accuracy to decrease memory load. Bartosz Taudul 2017-10-19 19:56:13 +02:00
  • 5278bb29e6 Don't sort all values in a compressed range. Bartosz Taudul 2017-10-19 19:43:27 +02:00
  • fd22fed773 Manually manage temporary plot buffer. Bartosz Taudul 2017-10-19 19:09:02 +02:00
  • 57454d3985 Add plots to test application. Bartosz Taudul 2017-10-19 18:57:41 +02:00
  • 6e5ccf8391 Store values, not pointers to PlotItems. Bartosz Taudul 2017-10-19 18:28:11 +02:00
  • 8958780b18 Time must be signed. Bartosz Taudul 2017-10-18 23:36:50 +02:00
  • 1e645665fe Initialize rpmalloc in profiler worker thread. Bartosz Taudul 2017-10-18 23:30:54 +02:00
  • c5eef172f1 Adapt "recording" circle size to font size. Bartosz Taudul 2017-10-18 23:25:35 +02:00
  • 9e4bd2a645 Use arial font, if available. Bartosz Taudul 2017-10-18 23:18:32 +02:00
  • 4f3a64be9d Optimize drawing plots. Bartosz Taudul 2017-10-18 22:29:59 +02:00
  • e7c582bb4d Compile TracySystem.cpp, even if profiler is disabled. Bartosz Taudul 2017-10-18 21:39:33 +02:00
  • 58ef271356 Add separator to zone count. Bartosz Taudul 2017-10-18 20:35:01 +02:00
  • ac71622c0c Add separators to printed values. Bartosz Taudul 2017-10-18 20:33:49 +02:00
  • cdde2ea2a3 Cut off trailing zeros when printing floating point values. Bartosz Taudul 2017-10-18 20:18:33 +02:00
  • 9c4316879c Add TRACY_NO_EXIT macro. Bartosz Taudul 2017-10-18 20:01:12 +02:00
  • 51013dc0e6 Manual allocation of socket memory. Bartosz Taudul 2017-10-18 19:49:17 +02:00
  • fc94378e0c Move TracyAlloc.hpp to common. Use rpmalloc only if TRACY_ENABLE. Bartosz Taudul 2017-10-18 19:08:19 +02:00
  • c5ea9c744c Do not disable lz4 in debug builds. Bartosz Taudul 2017-10-18 18:50:42 +02:00
  • 6a2cbe2842 Rename DISABLE_LZ4 to TRACY_DISABLE_LZ4. Bartosz Taudul 2017-10-18 18:49:50 +02:00
  • 7c47edc64f Terminate connection handshake. Bartosz Taudul 2017-10-18 18:48:51 +02:00
  • d942b7edf1 Don't exit until all data is sent. Bartosz Taudul 2017-10-17 22:02:47 +02:00
  • 652dccd163 Also no need to construct more than one welcome message. Bartosz Taudul 2017-10-17 21:55:40 +02:00
  • 5421164f33 No need to get process name more than once. Bartosz Taudul 2017-10-17 21:53:09 +02:00
  • 6d48404934 4KB is too small for some messages. Use 64KB buffer. Bartosz Taudul 2017-10-17 01:20:10 +02:00
  • c0e5dd0369 Visual differentiation of tracy init from other frames. Bartosz Taudul 2017-10-17 01:17:55 +02:00
  • 1e3476cf36 Transfer profiler initialization time. Bartosz Taudul 2017-10-17 01:10:38 +02:00
  • 51f5ae4796 More precise profiler init end time measurement. Bartosz Taudul 2017-10-17 01:07:54 +02:00
  • 0ed789825a Measure time of initialization start. Bartosz Taudul 2017-10-17 01:07:34 +02:00
  • 866081bf29 Initialize tracy before anything else. Bartosz Taudul 2017-10-17 00:36:15 +02:00
  • 9d01b508ed One more type cast. Bartosz Taudul 2017-10-17 00:25:32 +02:00
  • 9d55bc071b Enable profiling in the test application. Bartosz Taudul 2017-10-16 21:43:13 +02:00
  • 990d20b782 Document how to enable tracy. Bartosz Taudul 2017-10-16 21:41:33 +02:00
  • 8a6e4d2971 Change TRACY_DISABLE to TRACY_ENABLE. Bartosz Taudul 2017-10-16 21:34:39 +02:00
  • 518568a513 Move client/Tracy.hpp -> Tracy.hpp. Bartosz Taudul 2017-10-16 21:28:38 +02:00
  • e04bd05606 Always use ShouldExit() to determine if worker should exit. Bartosz Taudul 2017-10-16 21:21:42 +02:00
  • 9f28205548 Use custom threading wrapper instead of std::thread. Bartosz Taudul 2017-10-16 21:13:57 +02:00
  • 2f8d3ff5eb Add minimal thread class implementation. Bartosz Taudul 2017-10-16 21:13:03 +02:00
  • dafec48319 PAGE_SIZE is already defined in limits.h. Bartosz Taudul 2017-10-16 21:12:34 +02:00
  • 65c000718b Do not redefine assert macro. Bartosz Taudul 2017-10-16 21:10:44 +02:00
  • 1788408ceb Allow setting thread name using thread handle. Bartosz Taudul 2017-10-16 21:01:57 +02:00
  • 31fc2335dd Silence some type mismatch warnings. Bartosz Taudul 2017-10-16 20:42:53 +02:00
  • 3554e4c4ac Prevent clash of likely/unlikely with possible macros. Bartosz Taudul 2017-10-16 20:36:36 +02:00
  • 0853a42f74 Target platform 10.0.16299.0. Bartosz Taudul 2017-10-16 20:33:43 +02:00
  • acc1d9d834 Measurement of time period by LMB dragging. Bartosz Taudul 2017-10-15 16:42:56 +02:00
  • 84abfadc72 Horizontal zone view dragging with RMB. Bartosz Taudul 2017-10-15 16:20:45 +02:00
  • 361643ea8e Enable parallel compilation. Bartosz Taudul 2017-10-15 16:03:23 +02:00
  • f156cd922b OpenThread may fail. Bartosz Taudul 2017-10-15 13:26:05 +02:00
  • ca543f04e3 Document string literal messages. Bartosz Taudul 2017-10-15 13:08:32 +02:00
  • 5b9fcddfb3 String literal message transfer. Bartosz Taudul 2017-10-15 13:06:49 +02:00
  • 95439a726a Fix typo. Bartosz Taudul 2017-10-15 13:06:20 +02:00
  • 9a60c3fb6e Remove unused variable. Bartosz Taudul 2017-10-14 20:03:55 +02:00
  • eb95d65622 Fix types in std::max. Bartosz Taudul 2017-10-14 18:34:18 +02:00
  • e496f24427 Use standard c++ features. Bartosz Taudul 2017-10-14 18:07:03 +02:00
  • bded83e458 Don't include headers in a namespace. Bartosz Taudul 2017-10-14 18:02:01 +02:00
  • dc25c46dee No need to init/destroy queue item memory. Bartosz Taudul 2017-10-14 17:39:43 +02:00
  • 472b5a521f Preallocation size is in number of elements, not bytes. Bartosz Taudul 2017-10-14 17:33:05 +02:00
  • 837ec2f9d8 Use TracyClient.cpp in test program. Bartosz Taudul 2017-10-14 17:29:04 +02:00
  • d522d4793e Compile rpmalloc last in TracyClient.cpp. Bartosz Taudul 2017-10-14 17:28:55 +02:00
  • 40bc4c8015 Missing include. Bartosz Taudul 2017-10-14 17:20:37 +02:00
  • 19011b3798 Use rpmalloc in concurrentqueue. Bartosz Taudul 2017-10-14 17:19:27 +02:00
  • c497966c7f Use rpmalloc to allocate tracy client memory. Bartosz Taudul 2017-10-14 17:15:18 +02:00
  • e8968efea7 Initialize rpmalloc. Bartosz Taudul 2017-10-14 16:59:43 +02:00
  • b75317be7d Wrap malloc/free. Bartosz Taudul 2017-10-14 16:52:05 +02:00
  • 1048017bfd Add rpmalloc to TracyClient.cpp. Bartosz Taudul 2017-10-14 16:50:39 +02:00
  • b117c56257 Wrap rpmalloc in tracy namespace. Bartosz Taudul 2017-10-14 16:50:08 +02:00
  • 709d86ad0c Add rpmalloc. Bartosz Taudul 2017-10-14 16:43:26 +02:00
  • d2dbee304f Typo fix. Bartosz Taudul 2017-10-14 16:09:36 +02:00
  • 07abaaec4c Add plot and message log documentation. Bartosz Taudul 2017-10-14 16:07:46 +02:00
  • ad95813ba0 Message highlighting. Bartosz Taudul 2017-10-14 15:47:06 +02:00
  • bf8f369e33 Increase plot point active hover area. Bartosz Taudul 2017-10-14 15:29:04 +02:00
  • 503ef8bcbc Save message data. Bartosz Taudul 2017-10-14 15:26:02 +02:00
  • bd7f8111a6 Lock id size changed in data dump. Bartosz Taudul 2017-10-14 15:21:15 +02:00
  • 30fd899a90 Display messages in threads. Bartosz Taudul 2017-10-14 15:03:28 +02:00
  • 317b23c7c3 Assign messages to threads. Bartosz Taudul 2017-10-14 14:46:03 +02:00
  • 3ba349565a Message list window. Bartosz Taudul 2017-10-14 14:36:30 +02:00
  • fa8030009f Store messages. Bartosz Taudul 2017-10-14 14:28:04 +02:00
  • 8c7b60fbe6 Allow sending text messages. Bartosz Taudul 2017-10-14 13:23:13 +02:00
  • e0300c3524 Make string passing more clear. Bartosz Taudul 2017-10-14 13:12:43 +02:00
  • 57afeb4588 Queue MUST allocate memory. Bartosz Taudul 2017-10-13 20:33:53 +02:00
  • 7f36bb6846 Mark unlikely code path. Bartosz Taudul 2017-10-13 20:24:11 +02:00
  • 1aaab3c5e4 Use 32 bits to store lock id. Bartosz Taudul 2017-10-13 20:05:38 +02:00
  • ec789d60e8 Store source location color in 24 bits. Bartosz Taudul 2017-10-13 19:59:18 +02:00
  • ed55fbfacb Save/load plot data. Bartosz Taudul 2017-10-13 16:04:20 +02:00
  • 348661c9df Display number of plot points per second. Bartosz Taudul 2017-10-13 15:55:09 +02:00