Commit Graph

1325 Commits

Author SHA1 Message Date
Kevin Ring 998d214dd9 Label as v0.5.0. 2021-07-01 15:59:22 +10:00
baothientran c61de95203
Merge pull request #267 from CesiumGS/load-tracing
Load tracing and performance optimizations
2021-06-29 22:22:10 -04:00
Kevin Ring bf25e2b925 Changes from review. 2021-06-30 09:53:24 +10:00
Kevin Ring 46c01f0d10 Merge remote-tracking branch 'origin/main' into load-tracing 2021-06-30 09:17:27 +10:00
Kevin Ring a74941bf53 Refactor schedulers. 2021-06-27 22:37:32 +10:00
Kevin Ring a2a99dbc98
Merge pull request #268 from zy6p/patch-raster
Use uint32_t instand of int32_t as count of tiles and use const T& not const T
2021-06-27 12:06:13 +10:00
knowmore d6bd025b21 fix: use int32_t rather than uint32_t
ref https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es106-dont-try-to-avoid-negative-values-by-using-unsigned
2021-06-26 23:00:20 +08:00
Kevin Ring 287bde9573 typedef -> using 2021-06-26 23:25:08 +10:00
Kevin Ring f0ee99a714 Actually track the thread pool threads. 2021-06-26 23:14:12 +10:00
Kevin Ring 6186545827 Fix test compilation problems. 2021-06-26 22:36:54 +10:00
Kevin Ring 839e3b3f06 Avoid VS2019 internal compiler error.
Apparently caused by a trailing comma in a lambda capture.
2021-06-26 22:26:51 +10:00
Kevin Ring e6e9ec0065 Cleanup tracing. 2021-06-26 21:44:30 +10:00
knowmore deab1268a2 fix: const T& for get method
ref https://stackoverflow.com/questions/63972019/understanding-const-at-top-level-which-may-reduce-code-readability-without-i
2021-06-26 15:35:20 +08:00
knowmore e832bd2102 fix: use uint32_t instand of int32_t as count of tiles 2021-06-26 15:33:12 +08:00
Kevin Ring 76ee53fdca Move tracing classes to the Impl namespace. 2021-06-26 15:59:28 +10:00
Kevin Ring 38a1faea12 Better names for tracing macros. 2021-06-26 00:11:52 +10:00
Kevin Ring 322ec936fb Formatting. 2021-06-25 21:12:28 +10:00
Kevin Ring 8b7832ba83 WIP overhaul of macros for tracing across threads. 2021-06-25 21:11:40 +10:00
Kevin Ring 30390baba8 Formatting. 2021-06-24 17:26:21 +10:00
Kevin Ring 3b5d1545e7 Give TilesetExternals an AsyncSystem rather than an ITaskProcessor. 2021-06-24 17:25:00 +10:00
Kevin Ring a711e01f24 Add doc about AsyncSystem lifetime woes. 2021-06-24 17:06:34 +10:00
Kevin Ring 669bdefeec Fix clang warnings. 2021-06-22 21:00:28 +10:00
Kevin Ring e0865d075a Formatting. 2021-06-22 20:44:54 +10:00
Kevin Ring 43c5b3d474 Fix test failures. 2021-06-22 18:17:32 +10:00
Kevin Ring 628b11325d Formatting. 2021-06-22 17:35:53 +10:00
Kevin Ring 55f49bcc5b Update CHANGES.md. 2021-06-22 17:22:51 +10:00
Kevin Ring 6ece726757 Fix problems when tracing is disabled. 2021-06-22 17:19:33 +10:00
Kevin Ring 0fa144f516 Make "immediately" the default for continuations. 2021-06-22 15:31:30 +10:00
Kevin Ring f7e4bb9d66 Allow trace begin/end to be outside async process. 2021-06-22 14:06:50 +10:00
Kevin Ring e9fdefc99b Add some doc. 2021-06-22 13:27:10 +10:00
Kevin Ring 09b4e393de More cleanup of tracing macros. 2021-06-22 12:26:07 +10:00
Kevin Ring 44a69d4cda Clean up tracing API. 2021-06-21 17:33:59 +10:00
Kevin Ring fa285f7d29 Access cache DB from a dedicated thread. 2021-06-16 17:29:47 +10:00
Kevin Ring 5b88b652b7 Make ContinuationFutureType actually a Future. 2021-06-16 15:22:29 +10:00
Kevin Ring 109201530a Split AsyncSystem.h into multiple files. 2021-06-16 15:06:42 +10:00
Kevin Ring 161fe0044e Fix up CatchFunction with a parameter. 2021-06-16 12:50:21 +10:00
Kevin Ring 599d60d464 More efficient catch, less duplication. 2021-06-15 22:17:43 +10:00
Kevin Ring 5f82892528 Don't dispatch worker thread tasks unnecessarily. 2021-06-15 13:57:23 +10:00
Kevin Ring b0cb5260f7 Merge remote-tracking branch 'origin/main' into load-tracing 2021-06-15 10:45:28 +10:00
Kevin Ring 1e784cabc5
Merge pull request #262 from zy6p/feat-geo-test
feat: CesiumGeometry::clipTriangleAtAxisAlignedThreshold add unit test
2021-06-11 15:22:48 +10:00
Kevin Ring fdf1c759a7
Merge pull request #263 from zy6p/patch-spelling
fix: spelling mistake ellipsoid
2021-06-11 15:18:32 +10:00
Kevin Ring 2f93260a93 Support .then of Future<void>, and more tracing. 2021-06-10 15:46:49 +10:00
knowmore 5b9f6d3b17 fix: spelling mistake ellipsoid 2021-06-10 09:49:10 +08:00
knowmore f1100c1620 feat: style use noexcept 2021-06-10 09:38:47 +08:00
knowmore ab4c4b05b0 fix: clang-format source code 2021-06-09 23:32:09 +08:00
knowmore f09866589b feat: Geometry clipTriangle unit test 2021-06-09 22:42:11 +08:00
knowmore dcf1bc26e7 feat: TriangleClipVertex == != operate 2021-06-09 22:40:52 +08:00
Kevin Ring 0b4618914c Better request tracing. 2021-06-09 11:28:06 +10:00
Kevin Ring b5d54f07a9 Better macro names. 2021-06-09 10:21:35 +10:00
Kevin Ring 45f24d5177 Generalize thread overhead tracing. 2021-06-09 10:00:14 +10:00