Adds simple stats tracking to AssetProcessor (#5573)

* Adds simple stats tracking to AssetProcessor

The system captures cumulative and individual processing times.
It avoids touching any part of the app which affects decision
making or flow, or altering any structures such as JobEntry which
are involved in processing, in order to keep it as simple and
small as possible.

Signed-off-by: lawsonamzn <70027408+lawsonamzn@users.noreply.github.com>
This commit is contained in:
Nicholas Lawson
2021-11-22 11:18:19 -08:00
committed by GitHub
parent ab76254b43
commit 1a0d466443
10 changed files with 692 additions and 4 deletions
@@ -21,6 +21,19 @@
"Amazon": {
"AssetProcessor": {
"Settings": {
"Stats": {
// Setting MachineReadable to true will output stats in more of a CSV-like format that is ideal for script ingestion
"MachineReadable" : false,
// Setting HumanReadable to true will output stats in a friendly human format that is ideal for human reading
"HumanReadable" : true,
// To turn off stats output entirely, set both HumanReadable and MachineReadable to false.
// the maximum number of stats to show for cumulative stats like the time taken
// across all jobs of a certain type, or all jobs cumulative across a whole platform
"MaxCumulativeStats" : 4,
// the maximum number of stats to show for individual stats like how long a specific
// individual job took.
"MaxIndividualStats" : 4
},
"Platform pc": {
"tags": "tools,renderer,dx12,vulkan,null"
},