Commit Graph

40 Commits

Author SHA1 Message Date
Jim Blandy
652582b119 Factor out makefile TBB detection, apply to all tools. 2020-07-31 09:14:12 -07:00
Bartosz Taudul
cc63b6492f Allow stripping data from captures. 2020-07-17 22:06:15 +02:00
Bartosz Taudul
08c70cd6fe Use getopt in the update utility. 2020-07-17 21:47:51 +02:00
Simonas Kazlauskas
b03da81afa Fix build on macos
It was broken by a110b42011.

In addition, adjust the CI definition to test builds on macOS.
2020-06-20 20:44:55 +03:00
Bartosz Taudul
25c7245566 Revert "Use pkg-config to link with TBB, but silence errors."
This reverts commit b4d6833231.

pkg-config setup for TBB is debian-specific.
2020-06-19 20:07:06 +02:00
Bartosz Taudul
b4d6833231 Use pkg-config to link with TBB, but silence errors. 2020-06-19 02:17:10 +02:00
Bartosz Taudul
884de148c9 Target native architecture. 2020-05-13 18:35:56 +02:00
David Farrell
80fdf7517a Use debug vcpkg libraries 2020-04-21 15:17:11 -07:00
David Farrell
a4a20ddc42 Updated Visual Studio project files to use vcpkg directory for dependencies
This modifies all of the include and lib paths to point to vcpkg/vcpkg/installed/x64-windows-static/include and lib.

With these changes, all executables in Tracy build out of the box in all configurations (assuming you have run the install_vcpkg_depencies.bat script first).

Perhaps it would be better to use a single Visual Studio .props file that all of the .vcxproj files point to so that the include and lib paths are set in a single place, but for now the paths are set separately in each .vcxproj.
2020-04-21 10:59:08 -07:00
Bartosz Taudul
fd027c65e7 Remove -fomit-frame-pointer. 2020-04-12 21:55:47 +02:00
Bartosz Taudul
430aa5564d Add missing vcpkg triplets. 2020-04-02 12:35:42 +02:00
Bartosz Taudul
b2a8b53efa Query source location of each assembly instruction. 2020-04-01 21:43:03 +02:00
Bartosz Taudul
59e859e59a Remove benaphore, use std::mutex on cygwin. 2020-03-19 02:06:54 +01:00
Bartosz Taudul
aa0bf47ec3 Extract texture compression functionality. 2020-03-02 02:00:35 +01:00
Bartosz Taudul
1492536bdb Handle FileReadError. 2020-02-12 19:53:37 +01:00
Bartosz Taudul
cc805b7b74 Add mmap() wrapper. 2020-02-12 19:24:30 +01:00
Bartosz Taudul
28d749982a Fix typo. 2020-02-08 20:03:38 +01:00
Bartosz Taudul
817e052457 Expose zstd in update utility. 2020-02-08 16:14:43 +01:00
Bartosz Taudul
64cfad317d Add zstd to project files. 2020-02-08 15:42:08 +01:00
Bartosz Taudul
642fd1e8da Display update utility elapsed time. 2020-02-08 13:35:36 +01:00
Bartosz Taudul
4c7f698946 Display compression ratio in update utility. 2020-02-08 13:18:42 +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
8d7299fe1f Get 64-bit file size. 2019-11-02 22:11:40 +01:00
Bartosz Taudul
599fa17e4f Expose extreme compression level in update utility. 2019-09-29 21:03:08 +02:00
Bartosz Taudul
2470936050 Don't perform background tasks during trace upgrade. 2019-09-29 20:52:25 +02:00
Bartosz Taudul
947eb56f3d Add loading/saving messages to update utility. 2019-09-29 20:48:18 +02:00
Bartosz Taudul
6f5a23a198 Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
Bartosz Taudul
21e7a4bb16 Extract thread compression into a separate class. 2019-08-19 22:56:58 +02:00
Bartosz Taudul
154c902e03 Handle legacy file versions. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
3e74d041c9 Link with Thread Building Blocks, if available. 2019-07-28 01:53:39 +02:00
Bartosz Taudul
57615775ea Migrate to VS2019, vcpkg. 2019-07-24 22:24:17 +02:00
Bartosz Taudul
737738ac73 Wait for source location zones in update tool.
Not really an issue, as it is build without full fledged statistics.
2019-03-13 01:28:42 +01:00
Bartosz Taudul
d4fb6fde2b Fix printf type. 2019-02-17 00:29:01 +01:00
Bartosz Taudul
d49b005900 Display dump file size change in the update utility. 2018-12-30 23:47:43 +01:00
Bartosz Taudul
a5b99b54c8 Allow specifying FileWrite compression level.
Note that extreme compression level is not exposed in the update
utility.

% time update.exe long.tracy out.tracy
long.tracy (0.3.201) -> out.tracy (0.3.204)
update.exe long.tracy   0,00s user 0,00s system 0% cpu 13,464 total
% time update.exe --hc long.tracy outhc.tracy
long.tracy (0.3.201) -> outhc.tracy (0.3.204)
update.exe --hc long.trac  0,00s user 0,00s system 0% cpu 3:46,23 total
% ls -l long.tracy out*
-rw-r--r-- 1 wolf Brak 1621546031 07-30 22:51 long.tracy
-rw-r--r-- 1 wolf Brak 1621579467 08-26 16:44 out.tracy
-rw-r--r-- 1 wolf Brak 1397610127 08-26 16:48 outhc.tracy
2018-08-26 16:49:27 +02:00
Bartosz Taudul
39fd3b3a6f Add optional high compression mode to update utility. 2018-08-26 16:28:46 +02:00
Bartosz Taudul
b3b12f76f3 Add LZ4HC support to FileWrite. 2018-08-26 16:25:43 +02:00
Bartosz Taudul
821be252d5 Display trace update summary. 2018-07-29 15:37:45 +02:00
Rokas Kupstys
5c75fe292f Fix msvc builds when required c++ standard version is set to lower than c++17.
Also use latest available c++ standard which allows using older VS versions that only support c++14.
2018-07-17 18:29:48 +03:00
Bartosz Taudul
d68297ba45 Add trace update utility.
This tool will load a trace saved in previous version of tracy and save
an up-to-date version of the file.
2018-07-08 16:53:31 +02:00