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

Commit Graph

  • cd9218e952 Check string availability. Bartosz Taudul 2017-09-14 02:16:51 +02:00
  • b9c76f3452 Make View socket available to every method in class. Bartosz Taudul 2017-09-14 02:15:04 +02:00
  • ef7dca9073 Init winsock at application init, not on first socket use. Bartosz Taudul 2017-09-14 02:13:45 +02:00
  • a159b70d40 Reconstruct event data. Bartosz Taudul 2017-09-14 02:00:13 +02:00
  • b1fcf88cf4 Implement checking if there's data to read on the socket. Bartosz Taudul 2017-09-14 01:12:27 +02:00
  • d999f35dfa Exchange time and id in queue header and data structs. Bartosz Taudul 2017-09-14 01:07:14 +02:00
  • 3e1b736b34 Use better variable name. Bartosz Taudul 2017-09-14 01:06:40 +02:00
  • 10b88754d8 Allow direct access to data size table index. Bartosz Taudul 2017-09-14 01:05:08 +02:00
  • 89dd244693 Read QueueItems from network. Bartosz Taudul 2017-09-13 23:40:28 +02:00
  • 52d24d0d4c s_instance ptr may be accessed by thread. Bartosz Taudul 2017-09-13 23:36:40 +02:00
  • 037a4d7fac Handle connection closed/no data in Socket::Read(). Bartosz Taudul 2017-09-13 23:26:18 +02:00
  • efd66bb609 Allow changing lz4 size type. Bartosz Taudul 2017-09-13 22:58:04 +02:00
  • 16dd561029 Move protocol specific sizes to common header. Bartosz Taudul 2017-09-13 22:56:55 +02:00
  • a31ab6a256 Move TracyQueue.hpp to common. Bartosz Taudul 2017-09-13 22:56:08 +02:00
  • f0d76af15c Use proper function to read data from socket. Bartosz Taudul 2017-09-13 02:08:35 +02:00
  • 3dd744019a Socket read loop. Bartosz Taudul 2017-09-13 02:08:30 +02:00
  • 407a256e68 Make sure data is actually received. Bartosz Taudul 2017-09-13 02:00:22 +02:00
  • afde32549d Basic receive loop. Bartosz Taudul 2017-09-13 01:54:22 +02:00
  • 365f2cde23 Use select in Recv(). Bartosz Taudul 2017-09-13 01:53:47 +02:00
  • 953e9c6206 View server skeleton. Bartosz Taudul 2017-09-13 01:33:50 +02:00
  • 45646c4f45 Move TracySystem to a common directory. Bartosz Taudul 2017-09-13 01:31:55 +02:00
  • 997f0c64c3 Store pointers as uint64. Bartosz Taudul 2017-09-13 01:24:42 +02:00
  • e8d64de5c1 Disable LZ4 in debug builds (too slow). Bartosz Taudul 2017-09-12 02:12:45 +02:00
  • 1ea61c2f2c Use LZ4 to compress network data. Bartosz Taudul 2017-09-12 01:49:31 +02:00
  • 5c2cb6098d Move lz4 to tracy namespace. Bartosz Taudul 2017-09-12 01:30:29 +02:00
  • 16dbf7fc11 Add lz4 1.8.0. Bartosz Taudul 2017-09-12 01:25:50 +02:00
  • 3df4cf8acd Don't send unused data. Bartosz Taudul 2017-09-12 01:14:04 +02:00
  • 25d7cebd8a Move common event data to separate struct. Bartosz Taudul 2017-09-12 00:56:31 +02:00
  • aa10adcc9c Explicitly describe target frame size. Bartosz Taudul 2017-09-12 00:49:38 +02:00
  • 30ceac359d Increase block size. Bartosz Taudul 2017-09-12 00:46:10 +02:00
  • 6092c695bd All enqueue operations are performed with a token. Bartosz Taudul 2017-09-12 00:43:25 +02:00
  • e04e1580c4 Adjust data size to fully utilize TCP packet size. Bartosz Taudul 2017-09-12 00:38:33 +02:00
  • 37405bafde Pack queue item. Bartosz Taudul 2017-09-12 00:28:50 +02:00
  • 8fb8e4f792 No need for sleep, Accept() already sleeps. Bartosz Taudul 2017-09-11 23:16:17 +02:00
  • 8747da8e2c Send event data over network. Bartosz Taudul 2017-09-11 22:51:47 +02:00
  • dbd25e2653 Add sockets wrapper. Bartosz Taudul 2017-09-11 22:51:11 +02:00
  • 8d3aae24bf Use producer tokens during event insertion. Bartosz Taudul 2017-09-10 20:52:10 +02:00
  • 452e5c5c83 Increase bulk size to 1024. Bartosz Taudul 2017-09-10 20:40:28 +02:00
  • 6886d5035e Dequeue events (and do nothing with them). Bartosz Taudul 2017-09-10 20:23:06 +02:00
  • 6a7fdea6fd Store profiling start time. Bartosz Taudul 2017-09-10 20:14:16 +02:00
  • 5964a6864c Scoped zone macro. Bartosz Taudul 2017-09-10 20:10:20 +02:00
  • 09f9937133 Scoped zone wrapper. Bartosz Taudul 2017-09-10 20:09:57 +02:00
  • 12a6306c0b Allow queuing zones. Bartosz Taudul 2017-09-10 20:09:14 +02:00
  • 05486c8225 Add unique event identifier source. Bartosz Taudul 2017-09-10 20:08:42 +02:00
  • e4356eb67e Time retrieval function. Bartosz Taudul 2017-09-10 20:07:38 +02:00
  • fc1b131c7a Add event queue structures. Bartosz Taudul 2017-09-10 20:06:52 +02:00
  • ea9464f4f6 Make sure string constants are at the same memory address. Bartosz Taudul 2017-09-10 20:02:40 +02:00
  • b4f8901a8d Add MPMC queue. Bartosz Taudul 2017-09-10 19:01:14 +02:00
  • 4a05da273f Set worker thread name. Bartosz Taudul 2017-09-10 17:46:20 +02:00
  • a5d6039aea Profiler worker thread skeleton. Bartosz Taudul 2017-09-10 17:43:56 +02:00
  • a2849002ec Basic git ignore list. Bartosz Taudul 2017-09-10 17:26:39 +02:00