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

452 Commits

Author SHA1 Message Date
Bartosz Taudul 837ec2f9d8 Use TracyClient.cpp in test program. 2017-10-14 17:29:04 +02:00
Bartosz Taudul d522d4793e Compile rpmalloc last in TracyClient.cpp. 2017-10-14 17:28:55 +02:00
Bartosz Taudul 40bc4c8015 Missing include. 2017-10-14 17:21:14 +02:00
Bartosz Taudul 19011b3798 Use rpmalloc in concurrentqueue. 2017-10-14 17:19:27 +02:00
Bartosz Taudul c497966c7f Use rpmalloc to allocate tracy client memory. 2017-10-14 17:15:18 +02:00
Bartosz Taudul e8968efea7 Initialize rpmalloc. 2017-10-14 17:00:25 +02:00
Bartosz Taudul b75317be7d Wrap malloc/free. 2017-10-14 16:52:05 +02:00
Bartosz Taudul 1048017bfd Add rpmalloc to TracyClient.cpp. 2017-10-14 16:50:39 +02:00
Bartosz Taudul b117c56257 Wrap rpmalloc in tracy namespace. 2017-10-14 16:50:08 +02:00
Bartosz Taudul 709d86ad0c Add rpmalloc.
https://github.com/rampantpixels/rpmalloc/tree/master/rpmalloc
2592b551b26d0ac9d1c92db3c1ae6c0ce5cd447a
2017-10-14 16:43:26 +02:00
Bartosz Taudul d2dbee304f Typo fix. 2017-10-14 16:09:36 +02:00
Bartosz Taudul 07abaaec4c Add plot and message log documentation. 2017-10-14 16:07:46 +02:00
Bartosz Taudul ad95813ba0 Message highlighting. 2017-10-14 15:47:06 +02:00
Bartosz Taudul bf8f369e33 Increase plot point active hover area. 2017-10-14 15:29:04 +02:00
Bartosz Taudul 503ef8bcbc Save message data. 2017-10-14 15:26:02 +02:00
Bartosz Taudul bd7f8111a6 Lock id size changed in data dump. 2017-10-14 15:21:15 +02:00
Bartosz Taudul 30fd899a90 Display messages in threads. 2017-10-14 15:03:28 +02:00
Bartosz Taudul 317b23c7c3 Assign messages to threads. 2017-10-14 14:46:03 +02:00
Bartosz Taudul 3ba349565a Message list window. 2017-10-14 14:36:30 +02:00
Bartosz Taudul fa8030009f Store messages. 2017-10-14 14:28:04 +02:00
Bartosz Taudul 8c7b60fbe6 Allow sending text messages. 2017-10-14 13:23:13 +02:00
Bartosz Taudul e0300c3524 Make string passing more clear. 2017-10-14 13:12:43 +02:00
Bartosz Taudul 57afeb4588 Queue MUST allocate memory. 2017-10-13 20:33:53 +02:00
Bartosz Taudul 7f36bb6846 Mark unlikely code path.
It also changes MSVC behavior from generating two jumps to just one.
2017-10-13 20:24:11 +02:00
Bartosz Taudul 1aaab3c5e4 Use 32 bits to store lock id.
This makes queue item size 32 bytes. Queue operations can now be faster,
because multiplication by 33 is replaced by shift by 5.
2017-10-13 20:05:38 +02:00
Bartosz Taudul ec789d60e8 Store source location color in 24 bits. 2017-10-13 19:59:18 +02:00
Bartosz Taudul ed55fbfacb Save/load plot data. 2017-10-13 16:04:20 +02:00
Bartosz Taudul 348661c9df Display number of plot points per second. 2017-10-13 15:55:09 +02:00
Bartosz Taudul e3abc8b52a Fix min, max value setting. 2017-10-13 15:46:00 +02:00
Bartosz Taudul 4066b9ae30 Add plot information tooltip. 2017-10-13 15:44:24 +02:00
Bartosz Taudul 40d7a26b37 Allow hiding plots. 2017-10-13 15:41:20 +02:00
Bartosz Taudul 4ed905ca88 Plot can't be empty. 2017-10-13 15:36:16 +02:00
Bartosz Taudul 591fbdf75a Store min, max values in plot. 2017-10-13 15:32:59 +02:00
Bartosz Taudul 5deb1c51dd Can't modify both variables. 2017-10-13 15:31:38 +02:00
Bartosz Taudul d1c43ef917 Draw vertical line on mouse position in zone view. 2017-10-13 15:26:18 +02:00
Bartosz Taudul b217e6ab30 Add lousy plot values tooltip. 2017-10-13 15:15:57 +02:00
Bartosz Taudul f32114cb35 Draw plot points in a separate function. 2017-10-13 15:09:01 +02:00
Bartosz Taudul d05827135d Draw plots. 2017-10-13 14:54:32 +02:00
Bartosz Taudul ee60fc6885 Allow disabling zone/lock drawing. 2017-10-13 13:32:23 +02:00
Bartosz Taudul fe0366c792 Receive plot data. 2017-10-13 03:36:59 +02:00
Bartosz Taudul cb0011755d Prevent type conversions. 2017-10-13 02:21:29 +02:00
Bartosz Taudul f0484b50ca Plot data transfer. 2017-10-13 02:07:03 +02:00
Bartosz Taudul d9feeb3486 Disable scroll bar on profiler window. 2017-10-12 23:44:35 +02:00
Bartosz Taudul 97360c0c4c Always save dumps with .tracy extension. 2017-10-12 22:38:11 +02:00
Bartosz Taudul 1b4a9379cc Vertical scrolling of zone area. 2017-10-12 22:27:17 +02:00
Bartosz Taudul 737671adbf Remove lock announce message.
This removes problem with static initialization order of mutices vs
tracy.

Lock source location is now transferred in lock wait message.
2017-10-12 20:14:17 +02:00
Bartosz Taudul c42106f4ff Add named version of TracyLockable. 2017-10-12 20:00:53 +02:00
Bartosz Taudul 8634c48c9f Check for thread existence when adding a lock. 2017-10-12 19:52:18 +02:00
Bartosz Taudul 3df0abd164 Only check thread string when adding a new thread. 2017-10-12 19:52:06 +02:00
Bartosz Taudul 6fc0bc881c Allow hiding threads. 2017-10-12 19:47:56 +02:00