Back to libut API Reference


SYNOPSIS

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


DESCRIPTION

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

The profiling group must have been previously established using UT_prf_create(3).

Later, at the end of the interval being timed, call UT_prf_end(3) with the same group and name to incorporate the measured time interval into the accumulated timing statistics.

The given name will be copied, and silently truncated if too long.


RELATED CONTROL PORT COMMANDS

The prf control port command displays the collected timing statistics.


SEE ALSO

UT_prf_create(3), UT_prf_end(3)


AUTHOR

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