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

Commit Graph

  • 2161c23eee Display custom zone names. Bartosz Taudul 2017-09-28 19:31:27 +02:00
  • 8c1c395cec Allow sending custom zone names. Bartosz Taudul 2017-09-28 19:28:24 +02:00
  • 362a37a705 Add no-payload queue items description. Bartosz Taudul 2017-09-28 19:28:05 +02:00
  • a572ded1cc Add missing define in disabled section. Bartosz Taudul 2017-09-28 19:20:19 +02:00
  • 91e6210e34 Store zone text data in a separate structure. Bartosz Taudul 2017-09-28 19:06:39 +02:00
  • 7f865f3517 Use common function to send server query. Bartosz Taudul 2017-09-27 02:44:16 +02:00
  • e683a59360 Use color to display custom zone text. Bartosz Taudul 2017-09-27 02:40:24 +02:00
  • c2926f2a0d Store custom strings as const char*, not std::string. Bartosz Taudul 2017-09-27 02:36:14 +02:00
  • 537542f682 Add character utilities. Bartosz Taudul 2017-09-27 02:35:59 +02:00
  • d65d957272 Display zone text. Bartosz Taudul 2017-09-27 02:21:51 +02:00
  • d1bbb731fc Zone text (custom string) transfer. Bartosz Taudul 2017-09-27 02:18:17 +02:00
  • 3c0ce01954 Simplify access to queue producer token. Bartosz Taudul 2017-09-27 01:03:29 +02:00
  • 842721a754 Make profiler instance static. Bartosz Taudul 2017-09-27 01:03:01 +02:00
  • 3cc7cc596e Remove GetNewId() from Profiler interface. Bartosz Taudul 2017-09-27 01:02:04 +02:00
  • f584bf76e8 Profiler ID can be static (one less instruction). Bartosz Taudul 2017-09-27 00:30:02 +02:00
  • ffa5930a23 Don't draw frame separator lines, if too close together. Bartosz Taudul 2017-09-26 22:17:10 +02:00
  • 1fa778891c Allow zooming to collapsed zones. Bartosz Taudul 2017-09-26 22:08:58 +02:00
  • 6cf1ebec04 Pause zone view after zooming to zone. Bartosz Taudul 2017-09-26 22:08:31 +02:00
  • 8ad7ba1dd0 Middle click to zoom to zone. Bartosz Taudul 2017-09-26 21:49:50 +02:00
  • e076d1d475 Send source location answer in stream, not as separate packet. Bartosz Taudul 2017-09-26 19:00:25 +02:00
  • e90a86e06e Store zone color in source location struct. Bartosz Taudul 2017-09-26 18:54:48 +02:00
  • 7424077d70 Store source location in a single object. Bartosz Taudul 2017-09-26 02:28:14 +02:00
  • 9cb12a05b3 Silence warning. Bartosz Taudul 2017-09-26 01:45:59 +02:00
  • 809d98162b Do the same trick as concurrentqueue.h for GetCurrentThreadId(). Bartosz Taudul 2017-09-26 00:46:46 +02:00
  • 1c4dcf7e52 Use consistent ifdefs. Bartosz Taudul 2017-09-26 00:42:47 +02:00
  • e5ad7d9ac4 GetTime() call can be now inlined. Bartosz Taudul 2017-09-26 00:42:09 +02:00
  • 11a790a18f Offload TSC -> time conversion to server. Bartosz Taudul 2017-09-26 00:13:24 +02:00
  • 27e1952cc5 Display total zone count. Bartosz Taudul 2017-09-25 23:38:49 +02:00
  • d797099076 Don't merge zones of different color. Bartosz Taudul 2017-09-25 23:17:08 +02:00
  • fb970170e0 Increase zone zoom in/out speed. Bartosz Taudul 2017-09-25 23:15:00 +02:00
  • 84052c622f Implement tracy::Vector::erase(). Bartosz Taudul 2017-09-25 23:11:56 +02:00
  • f39c2d5e70 Fix tracy::Vector::insert(). Bartosz Taudul 2017-09-25 23:01:22 +02:00
  • b33b9fd4ed Do not draw test window. Bartosz Taudul 2017-09-25 22:54:54 +02:00
  • 519cb8dff3 Allow adding custom colors to zones. Bartosz Taudul 2017-09-25 22:46:14 +02:00
  • 93fc85a639 Try to always display zone text. Bartosz Taudul 2017-09-25 22:05:13 +02:00
  • 206305fbd2 Merge TracyThread.hpp to TracySystem.cpp. Bartosz Taudul 2017-09-25 21:13:59 +02:00
  • 0d24a2739d Missed one valid case. Bartosz Taudul 2017-09-25 01:52:42 +02:00
  • 71b6e81500 Don't reverse item order. Bartosz Taudul 2017-09-25 01:37:03 +02:00
  • 3aeea69eba No dragons here. Bartosz Taudul 2017-09-25 01:31:54 +02:00
  • 192493a2c3 Store proper children in edge-case code. Bartosz Taudul 2017-09-25 01:20:22 +02:00
  • d427e937d3 Zone can begin right after another one. Bartosz Taudul 2017-09-24 23:52:08 +02:00
  • 61b7496cef Display number of collapsed small zones. Bartosz Taudul 2017-09-24 16:56:57 +02:00
  • a835e0f121 Display execution time minus profiling delay. Bartosz Taudul 2017-09-24 16:45:22 +02:00
  • 29d5b8d4e9 Support formatting of negative time. Bartosz Taudul 2017-09-24 16:45:08 +02:00
  • 36ffaec1df Display profiling delay on zone chart. Bartosz Taudul 2017-09-24 16:40:16 +02:00
  • 86b1e4fd64 Group small zones together. Bartosz Taudul 2017-09-24 16:25:07 +02:00
  • 7683da5f74 Send initial configuration as a single message. Bartosz Taudul 2017-09-24 16:10:28 +02:00
  • fce04c6215 Profiling delay calibration. Bartosz Taudul 2017-09-24 16:02:09 +02:00
  • bf12704b0f Increase queue preallocation size. Bartosz Taudul 2017-09-24 15:59:53 +02:00
  • 6a4f3842af Pre-allocate space for 64K events in queue. Bartosz Taudul 2017-09-24 13:40:04 +02:00
  • 9a46cbeb84 Clamp rect coordinates to prevent bad rendering. Bartosz Taudul 2017-09-24 03:44:52 +02:00
  • d98e08b37a Implement zone update code. Bartosz Taudul 2017-09-24 03:29:22 +02:00
  • 6419cd5062 Parent vector retrieval. Bartosz Taudul 2017-09-24 03:23:01 +02:00
  • 1005fa0c91 Implement rest of zone insertion code. Bartosz Taudul 2017-09-24 03:02:27 +02:00
  • 060cd90c81 Draw nested zones. Bartosz Taudul 2017-09-24 00:12:26 +02:00
  • c9a982360f Move drawing of a single zone line to a separate function. Bartosz Taudul 2017-09-24 00:07:06 +02:00
  • 73df330dd5 Recursive, incomplete zone insertion into timeline. Bartosz Taudul 2017-09-23 23:59:56 +02:00
  • b89adbaf8c Add second scope test. Bartosz Taudul 2017-09-23 21:37:14 +02:00
  • 7770014844 Use rdtscp to measure time on windows. Bartosz Taudul 2017-09-23 21:33:05 +02:00
  • bd9ffc16b5 Hide GetTime() in Profiler. Bartosz Taudul 2017-09-23 21:09:46 +02:00
  • c0b1846a35 IPV6_V6ONLY needs to be disabled on cygwin too. Bartosz Taudul 2017-09-23 20:20:41 +02:00
  • e1a63dbb53 Drop constant merging check. Bartosz Taudul 2017-09-23 20:16:42 +02:00
  • c1cab84329 Add _GNU_SOURCE define for pthread_[gs]etname_np on cygwin. Bartosz Taudul 2017-09-23 20:13:20 +02:00
  • a68b0921b1 Add parent pointer to Event. Bartosz Taudul 2017-09-23 15:41:26 +02:00
  • cdab2297ef Non-recursive version of GetZoneEnd. Bartosz Taudul 2017-09-23 15:41:10 +02:00
  • 3d6e85db4a Take children into account when determining zone end. Bartosz Taudul 2017-09-23 15:39:39 +02:00
  • 3f765002c1 Proper drawing of zones without valid end time. Bartosz Taudul 2017-09-23 14:51:30 +02:00
  • 84cb8ab9cc Properly track events if there are no frame marks. Bartosz Taudul 2017-09-23 14:45:38 +02:00
  • 7ffa987857 Fix last time retrieval. Bartosz Taudul 2017-09-23 14:43:05 +02:00
  • 031818dff6 Send main thread name. Bartosz Taudul 2017-09-23 01:38:26 +02:00
  • 2faa1abb21 Store main thread id. Bartosz Taudul 2017-09-23 01:37:07 +02:00
  • a41db80ff2 Separate thread names from zones in zone view. Bartosz Taudul 2017-09-23 01:29:27 +02:00
  • 1116ef33c5 No emplace_back in custom vector. Bartosz Taudul 2017-09-23 01:11:06 +02:00
  • b62dc57a92 Disallow vector copying, allow moves. Bartosz Taudul 2017-09-23 01:10:48 +02:00
  • 34aecee1f9 Zone span selection in frame view. Bartosz Taudul 2017-09-23 00:46:15 +02:00
  • c0fe0e3e79 Proper initialization order. Bartosz Taudul 2017-09-22 22:25:18 +02:00
  • 5ba0fa8617 Text string is not a format string. Bartosz Taudul 2017-09-22 22:23:06 +02:00
  • 081e9eed7d Explicitly specify type. Bartosz Taudul 2017-09-22 22:14:04 +02:00
  • 7d5ed99f0f Use proper type in printf. Bartosz Taudul 2017-09-22 22:11:30 +02:00
  • 4c1027c16e Be conformant with standard. Bartosz Taudul 2017-09-22 22:08:50 +02:00
  • 55e8e8f6af STB namespace is broken on unix. Bartosz Taudul 2017-09-22 22:07:30 +02:00
  • 893db40bb2 Fix signed vs unsigned comparison. Bartosz Taudul 2017-09-22 22:05:51 +02:00
  • 6c1d014aa3 Fix implementation errors. Bartosz Taudul 2017-09-22 21:48:21 +02:00
  • bd622c304a Limit pthread thread name to 16 bytes. Bartosz Taudul 2017-09-22 21:45:35 +02:00
  • 21fd14397d Accumulate drag offset if time delta is less than 1 ns. Bartosz Taudul 2017-09-22 21:39:14 +02:00
  • 7b3a0057ca Fix double precision issues. Bartosz Taudul 2017-09-22 21:35:06 +02:00
  • 8d67d59ff3 Remove unused enum. Bartosz Taudul 2017-09-22 21:15:57 +02:00
  • 5919f5f5e8 No signals on sockets. Bartosz Taudul 2017-09-22 20:02:15 +02:00
  • f47b7a1cdf Add simple test application. Bartosz Taudul 2017-09-22 19:32:49 +02:00
  • 340bf80435 Better thread name retrieval. Bartosz Taudul 2017-09-22 02:09:39 +02:00
  • 3ea18dcbfd Always display threads in their original appearance order. Bartosz Taudul 2017-09-22 02:02:43 +02:00
  • 3141d17988 Temporary display of thread name. Bartosz Taudul 2017-09-22 01:59:16 +02:00
  • 2610004fa5 Store thread id in thread data. Bartosz Taudul 2017-09-22 01:58:59 +02:00
  • 6525e1b3c1 Thread name queries. Bartosz Taudul 2017-09-22 01:55:02 +02:00
  • 70ad3407c0 Rework client handling of server requests. Bartosz Taudul 2017-09-22 01:54:04 +02:00
  • 0f99705243 Add thread name report message. Bartosz Taudul 2017-09-22 01:51:56 +02:00
  • 7f337fae99 Add identification of server to client query. Bartosz Taudul 2017-09-22 01:51:24 +02:00
  • 3ba6046a53 Super bad thread name resolution. Bartosz Taudul 2017-09-22 01:50:14 +02:00
  • 3032745cce Thread names boilerplate. Bartosz Taudul 2017-09-22 01:30:57 +02:00
  • d610b9d1a2 Fix typo. Bartosz Taudul 2017-09-22 01:30:43 +02:00