tracy/server
Bartosz Taudul 107975c8de
Fix time rounding logic.
PrintSmallInt() expects values in the 0-999 range, but the in+1 may produce
1000 here. This is invalid and it either asserted, or outputted an empty
string.

Workaround by simple outputting "1000" as the value here.

This function is only used in context of printing time, and only in specific
context. The end result will be that values like "1000 us" or "1000 ms" may
appear, where they would be otherwise shortened to "1 ms" or "1 s". This may
be a bit unusual, but is acceptable, as the real time value has not yet
crossed the threshold required for such shortening.
2022-08-28 14:50:38 +02:00
..
IconsFontAwesome6.h Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
tracy_pdqsort.h Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
tracy_robin_hood.h Update robin_hood to 3.11.5. 2022-03-18 02:01:46 +01:00
tracy_xxhash.h Update xxHash to 0.8.1. 2021-12-01 21:52:31 +01:00
TracyBadVersion.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyBadVersion.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyBuzzAnim.hpp Add simple animation controller. 2018-08-17 22:23:04 +02:00
TracyCharUtil.hpp Update xxHash to 0.8.1. 2021-12-01 21:52:31 +01:00
TracyColor.cpp Move HSV color conversion to a separate source file. 2020-04-02 01:04:59 +02:00
TracyColor.hpp Color plot background. 2022-07-24 01:39:51 +02:00
TracyDecayValue.hpp Move DarkenColor() to a proper source file. 2022-07-24 01:29:52 +02:00
TracyEvent.hpp Using push/pop in all pragma pack pair to avoid potential padding bugs 2022-08-03 18:39:42 +08:00
TracyEventDebug.cpp Fix include path and QueueType::PlotData in TracyEventDebug.cpp 2022-08-02 12:44:13 -04:00
TracyEventDebug.hpp Add event debug routine. 2021-11-04 22:30:16 +01:00
TracyFileHeader.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyFileRead.hpp Implement reading 10 elements at once. 2022-07-24 13:40:06 +02:00
TracyFilesystem.cpp Don't depend on View in Worker. 2020-05-23 15:53:58 +02:00
TracyFilesystem.hpp Don't depend on View in Worker. 2020-05-23 15:53:58 +02:00
TracyFileWrite.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyImGui.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyImGui.hpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyMemory.cpp Don't care about memory usage tracking data races. 2019-11-10 19:21:24 +01:00
TracyMemory.hpp Don't care about memory usage tracking data races. 2019-11-10 19:21:24 +01:00
TracyMicroArchitecture.cpp Update microarchitecture data. 2022-05-03 21:58:23 +02:00
TracyMicroArchitecture.hpp Add missing op description list definition. 2020-11-07 00:15:58 +01:00
TracyMmap.cpp Drop support for Cygwin. 2021-10-07 23:28:40 +02:00
TracyMmap.hpp Drop support for Cygwin. 2021-10-07 23:28:40 +02:00
TracyMouse.cpp Update TracyMouse.cpp 2021-05-17 12:07:06 +02:00
TracyMouse.hpp Do not use relative include path for ImGUI.h 2021-05-17 12:05:14 +02:00
TracyPopcnt.hpp Add common lzcnt implementation. 2021-06-09 20:29:43 +02:00
TracyPrint.cpp Fix time rounding logic. 2022-08-28 14:50:38 +02:00
TracyPrint.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyProtoHistory.cpp Add protocol -> version mapping table. 2022-07-13 00:44:02 +02:00
TracyProtoHistory.hpp Add protocol -> version mapping table. 2022-07-13 00:44:02 +02:00
TracyShortPtr.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracySlab.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracySort.hpp No parallel execution on emscripten. 2022-08-08 18:41:06 +02:00
TracySortedVector.hpp Using push/pop in all pragma pack pair to avoid potential padding bugs 2022-08-03 18:39:42 +08:00
TracySourceContents.cpp Move source file parsing logic to a separate file. 2021-03-26 02:42:14 +01:00
TracySourceContents.hpp build with gcc 11 2021-05-20 17:30:54 +02:00
TracySourceTokenizer.cpp Hackfix support for UTF-8 in source files. 2021-04-18 19:14:12 +02:00
TracySourceTokenizer.hpp Move source file parsing logic to a separate file. 2021-03-26 02:42:14 +01:00
TracySourceView.cpp More jump targets to normalize. 2022-08-19 12:50:47 +02:00
TracySourceView.hpp Push big font to source view. 2022-08-15 22:48:00 +02:00
TracyStorage.cpp Fix edge case in directory structure creation. 2020-06-19 17:17:26 +02:00
TracyStorage.hpp Trace-specific save path retrieval. 2019-07-26 23:15:12 +02:00
TracyStringDiscovery.hpp Allow external data insertion into string discovery vectors. 2022-07-30 18:35:50 +02:00
TracyTaskDispatch.cpp Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
TracyTaskDispatch.hpp Add task dispatcher to server. 2019-09-20 22:58:12 +02:00
TracyTexture.cpp Allow creating RGBA textures. 2022-07-28 00:24:49 +02:00
TracyTexture.hpp Allow creating RGBA textures. 2022-07-28 00:24:49 +02:00
TracyTextureCompression.cpp Use zstd dict for packing/unpacking frame images. 2021-05-15 18:06:44 +02:00
TracyTextureCompression.hpp Add missing includes. 2022-04-26 22:01:09 +02:00
TracyThreadCompress.cpp Drop legacy code for reading long unsupported traces. 2021-05-18 02:24:56 +02:00
TracyThreadCompress.hpp Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
TracyTimelineController.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyTimelineController.hpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyUserData.cpp Start extracting timeline height control logic. 2022-08-15 13:29:45 +02:00
TracyUserData.hpp Save/load source substitutions. 2020-04-18 14:25:04 +02:00
TracyUtility.cpp Extract normalized name tooltip function. 2022-08-15 19:43:03 +02:00
TracyUtility.hpp Extract normalized name tooltip function. 2022-08-15 19:43:03 +02:00
TracyVarArray.hpp Using push/pop in all pragma pack pair to avoid potential padding bugs 2022-08-03 18:39:42 +08:00
TracyVector.hpp Using push/pop in all pragma pack pair to avoid potential padding bugs 2022-08-03 18:39:42 +08:00
TracyView_Annotations.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Callstack.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Compare.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_ConnectionState.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_ContextSwitch.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_CpuData.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView_FindZone.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_FrameOverview.cpp Allow setting custom FPS targets on frames overview. 2022-08-04 18:58:13 +02:00
TracyView_FrameTimeline.cpp Change magic value enums to constexprs. 2022-08-14 18:16:30 +02:00
TracyView_FrameTree.cpp Normalize frame names in memory callstack tree. 2022-08-15 21:29:21 +02:00
TracyView_Locks.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView_Memory.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Messages.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Navigation.cpp More navigation extraction. 2022-07-02 13:43:46 +02:00
TracyView_NotificationArea.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView_Options.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView_Playback.cpp Cleanup TracyView includes. 2022-07-02 17:00:08 +02:00
TracyView_Plots.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView_Ranges.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Samples.cpp Show original name in tooltip in sample parents window. 2022-08-15 21:54:29 +02:00
TracyView_Statistics.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Timeline.cpp Cosmetics. 2022-08-28 13:17:29 +02:00
TracyView_TraceInfo.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_Utility.cpp Extract ShortenZoneName() function to a separate file. 2022-08-15 16:34:37 +02:00
TracyView_ZoneInfo.cpp Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
TracyView_ZoneTimeline.cpp Fix zone size calculation wrt text fitting. 2022-08-15 19:38:40 +02:00
TracyView.cpp Move vis data to timeline controller. 2022-08-20 17:02:29 +02:00
TracyView.hpp Cosmetics. 2022-08-28 13:17:29 +02:00
TracyViewData.hpp Start extracting timeline height control logic. 2022-08-15 13:29:45 +02:00
TracyWeb.cpp Move OpenWebpage() to a separate source file. 2021-06-04 15:17:14 +02:00
TracyWeb.hpp Move OpenWebpage() to a separate source file. 2021-06-04 15:17:14 +02:00
TracyWorker.cpp Move TracyVersion.hpp to common. 2022-08-27 16:05:36 +02:00
TracyWorker.hpp Using push/pop in all pragma pack pair to avoid potential padding bugs 2022-08-03 18:39:42 +08:00