Skip to main content

on_shutdown

Calculates and prints benchmark statistics, including total time spent and average sample values, and triggers a memory dump upon application exit.

def on_shutdown() - > null

Calculates and prints final benchmarking statistics and triggers a memory dump when the program exits.

Returns

TypeDescription
nullNothing is returned; output is printed to stdout and a memory dump is performed.