Commit 765fb7f
authored
Add compile-time selectable profiling backend with Tracy integration (#3239)
* Profiling: add Tracy 0.13.1 sources
* Profiling: integrate Tracy to build system, default to noop
* Profiling: add Tracy to 3dparty README.md
* Profiling: Tracy compilation flags
* Profiling: add Tracy to 3rd-party build flow
* Profiling: update cmake template with Tracy
* Profiling: track basic Frame
* Profiling: move AX_PROFILER_BACKEND cmake variable to the main module
* Profiling: remove unnecessary AX_WITH_TRACY logging
* Profiling: rename AX_PROFILER_ macroses to be consistent
* Profiling: setup basic AX_PROFILER_ macroses across the engine
* Profiling: separate AX_PROFILER_ZONE_SCOPED for AudionEngine update
* Profiling: apply clang-format fixes
* Profiling: fix backend includes
* Profiling: fix AX_PROFILER_BACKEND define missing in prebuilt workflow
* Profiling: move 3d-party Tracy dependency out of the repo, fetch on build when opt-in1 parent 060bc18 commit 765fb7f
23 files changed
Lines changed: 170 additions & 0 deletions
File tree
- 1k
- 3rdparty
- axmol
- 2d
- audio
- base
- physics
- 2d
- 3d
- renderer
- scene
- cmake/Modules
- templates/common/cmake/modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
103 | 104 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
427 | 442 | | |
428 | 443 | | |
429 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
| 396 | + | |
395 | 397 | | |
396 | 398 | | |
397 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
1069 | 1070 | | |
1070 | 1071 | | |
1071 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
1072 | 1075 | | |
1073 | 1076 | | |
1074 | 1077 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
570 | 573 | | |
571 | 574 | | |
572 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
573 | 580 | | |
574 | 581 | | |
575 | 582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
1005 | 1006 | | |
1006 | 1007 | | |
1007 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
1008 | 1011 | | |
1009 | 1012 | | |
1010 | 1013 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
1372 | 1373 | | |
1373 | 1374 | | |
1374 | 1375 | | |
| 1376 | + | |
| 1377 | + | |
1375 | 1378 | | |
1376 | 1379 | | |
1377 | 1380 | | |
| |||
1443 | 1446 | | |
1444 | 1447 | | |
1445 | 1448 | | |
| 1449 | + | |
| 1450 | + | |
1446 | 1451 | | |
1447 | 1452 | | |
1448 | 1453 | | |
| |||
1534 | 1539 | | |
1535 | 1540 | | |
1536 | 1541 | | |
| 1542 | + | |
| 1543 | + | |
1537 | 1544 | | |
1538 | 1545 | | |
1539 | 1546 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
946 | 947 | | |
947 | 948 | | |
948 | 949 | | |
| 950 | + | |
| 951 | + | |
949 | 952 | | |
950 | 953 | | |
951 | 954 | | |
| |||
0 commit comments