Documentation Language: Swift

Structure

MTLGenerationStatistics

Statistics about MTL template execution.

struct MTLGenerationStatistics

Overview

The statistics structure tracks performance metrics and outcomes for MTL generation runs.

Topics

Instance Properties

V
executionTime

Total execution time in seconds.

V
filesGenerated

Number of files generated.

V
lastError

The last error that occurred (if any).

V
linesGenerated

Number of lines generated.

V
protectedAreasPreserved

Number of protected areas preserved.

V
successful

Whether the generation was successful.

V
templatesExecuted

Number of templates executed.

Instance Methods

F
reset()

Resets all statistics to their initial state.

F
summary()

Returns a formatted summary of the statistics.

Relationships

Conforms To