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

Commit Graph

  • 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
  • 55fdc47418 Each thread has its own timeline. Bartosz Taudul 2017-09-22 01:15:58 +02:00
  • a557a3fb30 Collect and transmit source thread information. Bartosz Taudul 2017-09-22 01:11:53 +02:00
  • b0f94f6b45 Add threading helpers. Bartosz Taudul 2017-09-22 01:11:14 +02:00
  • 6885dc3fd3 Restore support for old SDK versions. Bartosz Taudul 2017-09-22 00:37:28 +02:00
  • f6e8eb32ec Sort includes. Bartosz Taudul 2017-09-22 00:36:36 +02:00
  • 0c0b18615a Use winapi function to set thread name. Bartosz Taudul 2017-09-21 22:54:44 +02:00
  • 8a30e1c937 Properly clip function names in zones. Bartosz Taudul 2017-09-21 22:12:19 +02:00
  • e3f85d6d74 Display zone source location data. Bartosz Taudul 2017-09-21 22:01:18 +02:00
  • 5065743bf0 Store zone source location. Bartosz Taudul 2017-09-21 21:57:40 +02:00
  • 7446e27e60 Display per-frame program execution time. Bartosz Taudul 2017-09-21 02:30:05 +02:00
  • bd382fe2b5 Wrap imgui stb into a namespace. Bartosz Taudul 2017-09-21 02:16:27 +02:00
  • a5000924a5 Zone display skeleton. Bartosz Taudul 2017-09-21 02:16:01 +02:00
  • 6217c830a9 64K indices is not enough. Bartosz Taudul 2017-09-21 02:15:48 +02:00
  • 9da7e58ec5 String getter. Bartosz Taudul 2017-09-21 02:10:20 +02:00
  • 0b2a98d6b2 Mark frame drawing code segment. Bartosz Taudul 2017-09-21 01:49:01 +02:00
  • 155c9de767 Fix crash. Bartosz Taudul 2017-09-21 01:41:52 +02:00
  • 2f645c589d Zoom in/out in zone view. Bartosz Taudul 2017-09-21 01:39:07 +02:00
  • a353a7601d Add frame info tooltip. Bartosz Taudul 2017-09-21 01:18:24 +02:00
  • b725be87c7 Scrolling zone view. Bartosz Taudul 2017-09-21 01:13:23 +02:00
  • c3df475de7 Draw frames in zone view. Bartosz Taudul 2017-09-21 00:57:26 +02:00
  • 43dc12ca39 Select 3 frames, not 2. Bartosz Taudul 2017-09-20 22:41:05 +02:00
  • ee273934e3 Const variables. Bartosz Taudul 2017-09-20 22:35:10 +02:00
  • ef317fa2be Add frame time accessors. Bartosz Taudul 2017-09-20 22:34:56 +02:00
  • edb7fac230 Display zone view span. Bartosz Taudul 2017-09-20 21:28:03 +02:00
  • 7bc730ab73 Use pool of buffers in TimeToString(). Bartosz Taudul 2017-09-20 21:25:00 +02:00
  • 1fef4f9202 Add a representation of displayed zone area to frame view. Bartosz Taudul 2017-09-20 21:21:29 +02:00
  • efc7958ae0 Calculate zone area to display. Bartosz Taudul 2017-09-20 21:21:21 +02:00