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

1467 Commits

Author SHA1 Message Date
Bartosz Taudul c4a36398f6 Move memory allocations table drawing to a separate function. 2018-04-02 02:39:12 +02:00
Bartosz Taudul 1fa943d109 Save/load memory data. 2018-04-02 02:05:39 +02:00
Bartosz Taudul 68acc30bdd Add support for determining FileRead EOF. 2018-04-02 02:05:39 +02:00
Bartosz Taudul 5824b47a66 Display memory usage. 2018-04-02 00:02:45 +02:00
Bartosz Taudul 52f59c90bf Track memory usage. 2018-04-02 00:00:49 +02:00
Bartosz Taudul e3509b6eee Display total number of allocations. 2018-04-01 23:57:18 +02:00
Bartosz Taudul 8efc0a0a71 Display proper hex value. 2018-04-01 22:00:57 +02:00
Bartosz Taudul 2b8ce8341e Missing initializer. 2018-04-01 21:54:12 +02:00
Bartosz Taudul 3f7abd478e Display zone in which memory allocation took place. 2018-04-01 21:50:35 +02:00
Bartosz Taudul 912cfdbc5e Search for zone present in given thread at given time. 2018-04-01 21:47:08 +02:00
Bartosz Taudul 20824a200c Implement search for memory address. 2018-04-01 21:24:30 +02:00
Bartosz Taudul 9c403d9cc2 GetTime() calls also must be serialized. 2018-04-01 21:07:33 +02:00
Bartosz Taudul c686b86464 Add rudimentary memory information window. 2018-04-01 20:34:58 +02:00
Bartosz Taudul 2d00d95743 Missing initializer. 2018-04-01 20:34:58 +02:00
Bartosz Taudul cd3bba8063 Memory data accessor. 2018-04-01 20:34:58 +02:00
Bartosz Taudul a574f98f0c Memory events are now serialized. 2018-04-01 20:13:01 +02:00
Bartosz Taudul 794f199bdc Serial queue dequeuing. 2018-04-01 20:04:35 +02:00
Bartosz Taudul 860e0e1809 Store memory operations in the serial queue. 2018-04-01 19:53:24 +02:00
Bartosz Taudul faeecdd773 Add serial queue to profiler. 2018-04-01 19:53:05 +02:00
Bartosz Taudul 0a3e9f85eb "Fast" vector implementation. 2018-04-01 19:52:29 +02:00
Bartosz Taudul 66ad415ce5 Remove windows.h dependency from tracy_sema.h. 2018-04-01 19:15:46 +02:00
Bartosz Taudul 16a98c8c17 Move benaphore to common directory. 2018-04-01 18:59:55 +02:00
Bartosz Taudul b12375815c Broken memory events processing. 2018-04-01 02:03:34 +02:00
Bartosz Taudul 991fc6bd95 Memory allocations tracker. 2018-03-31 21:56:05 +02:00
Bartosz Taudul 7a35e8facc Fix typo. 2018-03-31 14:19:45 +02:00
Bartosz Taudul e44cf98807 Update NEWS. 2018-03-31 14:15:04 +02:00
Bartosz Taudul a677048d2b Fix try_lock(). 2018-03-31 14:15:04 +02:00
Bartosz Taudul 3b03e849f0 Harden client code against unaligned memory access.
There shouldn't be any changes in generated code on modern
architectures, as the memcpy will be reduced to a store/load operation
identical to the one generated with plain struct member access.

GetTime( cpu ) needs special handling, as the MSVC intrinsic for rdtscp
can't store cpu identifier in a register. Using intermediate variable
would cause store to stack, read from stack, store to the destination
address. Since rdtscp is only available on x86, which handles unaligned
stores without any problems, we can have one place with direct struct
member access.
2018-03-31 14:15:04 +02:00
Bartosz Taudul 685432a85f Add unaligned read/write helpers. 2018-03-31 14:15:04 +02:00
Bartosz Taudul 56bd01dfd1 Don't copy thread name needlessly. 2018-03-31 01:38:57 +02:00
Bartosz Taudul 780e838785 Update NEWS. 2018-03-31 01:24:11 +02:00
Bartosz Taudul 48e82ea135 Workaround pthreads thread name limit. 2018-03-31 01:22:21 +02:00
Bartosz Taudul 347c74cec3 Cosmetics. 2018-03-31 01:06:35 +02:00
Bartosz Taudul 03830fe83a Update NEWS. 2018-03-30 23:45:48 +02:00
Bartosz Taudul 813e265bc3 Initialize rpmalloc in SetThreadName().
There's no guarantee that rpmalloc will be initialized when the thread
calls SetThreadName, due to thread_local storage initialization rules.
2018-03-30 14:39:25 +02:00
Bartosz Taudul 045870ad95 Doh! FileWrite destructor was never called. 2018-03-29 01:11:54 +02:00
Bartosz Taudul c7a5e25c87 Display parent times. 2018-03-28 19:35:33 +02:00
Bartosz Taudul c626bbd553 Update NEWS. 2018-03-28 02:00:29 +02:00
Bartosz Taudul 9d798789a9 Fix broken behavior on duplicate names in zone info window. 2018-03-28 01:57:53 +02:00
Bartosz Taudul d6bf19a762 Standard zone list behavior in zone trace. 2018-03-28 01:53:59 +02:00
Bartosz Taudul bf52b3bc98 Add zone trace. 2018-03-28 01:47:28 +02:00
Bartosz Taudul 4d0396fa06 No auto-expand of child zones. 2018-03-28 01:47:20 +02:00
Bartosz Taudul aebbefde2a Rename exclusive time to self time. 2018-03-28 01:47:08 +02:00
Bartosz Taudul f6d4728494 Move child zones into an expandable tree. 2018-03-28 01:34:12 +02:00
Bartosz Taudul 4d38ebe1b1 Add a link to tracy introduction video. 2018-03-28 01:14:58 +02:00
Bartosz Taudul 871633cbaf Adapt button size to font size. 2018-03-25 00:10:31 +01:00
Bartosz Taudul 83e8bb0b49 Update NEWS. 2018-03-24 22:21:34 +01:00
Bartosz Taudul e69d71cd4d Open trace passed as standalone server argument. 2018-03-24 22:20:06 +01:00
Bartosz Taudul 9925e9ed81 Link to NEWS from README. 2018-03-24 22:10:54 +01:00
Bartosz Taudul c123c2c755 Update NEWS. 2018-03-24 22:09:46 +01:00