Back to libut API Reference


SYNOPSIS

    void UT_prf_end(char *group, char *name);


DESCRIPTION

This function marks the end of a timing interval whose identity is determined by the given profiling group and name.

Prior to calling this function, at the beginning of the interval being timed, UT_prf_bgn(3) should have been called with the same group and name.

When this function is called, the elapsed time since the corresponding call to UT_prf_bgn(3) is calculated, and this elapsed time is incorporated into the timing statistics.


RELATED CONTROL PORT COMMANDS

The prf control port command displays the collected timing statistics.


SEE ALSO

UT_prf_create(3), UT_prf_bgn(3)


AUTHOR

Troy D. Hanson <thanson@users.sourceforge.net>